azurerm_container_groupNivis 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
locationos_typeresource_group_name
Optional arguments
dns_name_label(defaults tonull)dns_name_label_reuse_policy(defaults tonull)exposed_port(defaults tonull)id(defaults tonull)ip_address_type(defaults tonull)key_vault_key_id(defaults tonull)key_vault_user_assigned_identity_id(defaults tonull)cfg_name(defaults tonull)network_profile_id(defaults tonull)priority(defaults tonull)restart_policy(defaults tonull)sku(defaults tonull)subnet_ids(defaults tonull)tags(defaults tonull)zones(defaults tonull)container(defaults tonull)diagnostics(defaults tonull)dns_config(defaults tonull)identity(defaults tonull)image_registry_credential(defaults tonull)init_container(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
fqdnip_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.