azurerm_subscriptionNivis Nix constructor for the azurerm_subscription resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
subscription_name,
alias ? null,
billing_scope_id ? null,
id ? null,
subscription_id ? null,
tags ? null,
workload ? null,
timeouts ? null,
overrides ? {}
}Required arguments
subscription_name
Optional arguments
alias(defaults tonull)billing_scope_id(defaults tonull)id(defaults tonull)subscription_id(defaults tonull)tags(defaults tonull)workload(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
tenant_id
Example
azurerm_subscription {
name = "subscription";
subscription_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.