azurerm_container_group

Nivis Nix constructor for the azurerm_container_group 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,
  location,
  os_type,
  resource_group_name,
  dns_name_label ? null,
  dns_name_label_reuse_policy ? null,
  exposed_port ? null,
  id ? null,
  ip_address_type ? null,
  key_vault_key_id ? null,
  key_vault_user_assigned_identity_id ? null,
  cfg_name ? null,
  network_profile_id ? null,
  priority ? null,
  restart_policy ? null,
  sku ? null,
  subnet_ids ? null,
  tags ? null,
  zones ? null,
  container ? null,
  diagnostics ? null,
  dns_config ? null,
  identity ? null,
  image_registry_credential ? null,
  init_container ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • os_type
  • resource_group_name
Optional arguments
  • dns_name_label (defaults to null)
  • dns_name_label_reuse_policy (defaults to null)
  • exposed_port (defaults to null)
  • id (defaults to null)
  • ip_address_type (defaults to null)
  • key_vault_key_id (defaults to null)
  • key_vault_user_assigned_identity_id (defaults to null)
  • cfg_name (defaults to null)
  • network_profile_id (defaults to null)
  • priority (defaults to null)
  • restart_policy (defaults to null)
  • sku (defaults to null)
  • subnet_ids (defaults to null)
  • tags (defaults to null)
  • zones (defaults to null)
  • container (defaults to null)
  • diagnostics (defaults to null)
  • dns_config (defaults to null)
  • identity (defaults to null)
  • image_registry_credential (defaults to null)
  • init_container (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • fqdn
  • ip_address
Example
azurerm_container_group {
  name = "container_group";
  location = …;  # required
  os_type = …;  # required
  resource_group_name = …;  # required
}

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