Data Source: azurerm_container_group

Use this data source to access information about an existing Container Group instance.

Example Usage

data "azurerm_container_group" "example" {
  name                = "existing"
  resource_group_name = "existing"
}

output "id" {
  value = data.azurerm_container_group.example.id
}

output "ip_address" {
  value = data.azurerm_container_group.example.ip_address
}

output "fqdn" {
  value = data.azurerm_container_group.example.fqdn
}

Arguments Reference

The following arguments are supported:

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:


A identity block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: