tfe_oauth_client

Nivis Nix constructor for the tfe_oauth_client resource (provider tfe). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  api_url,
  http_url,
  service_provider,
  ado_org_name ? null,
  agent_pool_id ? null,
  key ? null,
  cfg_name ? null,
  oauth_token ? null,
  organization ? null,
  organization_scoped ? null,
  private_key ? null,
  rsa_public_key ? null,
  secret ? null,
  overrides ? {}
}
Required arguments
  • api_url
  • http_url
  • service_provider
Optional arguments
  • ado_org_name (defaults to null)
  • agent_pool_id (defaults to null)
  • key (defaults to null)
  • cfg_name (defaults to null)
  • oauth_token (defaults to null)
  • organization (defaults to null)
  • organization_scoped (defaults to null)
  • private_key (defaults to null)
  • rsa_public_key (defaults to null)
  • secret (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • oauth_token_id
Example
tfe_oauth_client {
  name = "oauth_client";
  api_url = …;  # required
  http_url = …;  # required
  service_provider = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.