azurerm_subscription

Nivis 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 to null)
  • billing_scope_id (defaults to null)
  • id (defaults to null)
  • subscription_id (defaults to null)
  • tags (defaults to null)
  • workload (defaults to null)
  • timeouts (defaults to null)
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.