tfe_oauth_clientNivis 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_urlhttp_urlservice_provider
Optional arguments
ado_org_name(defaults tonull)agent_pool_id(defaults tonull)key(defaults tonull)cfg_name(defaults tonull)oauth_token(defaults tonull)organization(defaults tonull)organization_scoped(defaults tonull)private_key(defaults tonull)rsa_public_key(defaults tonull)secret(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idoauth_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.