github.com/Azure/tflint-ruleset-azurerm-ext@v0.6.0/integration/basic/main.tf (about) 1 resource "azurerm_container_group" "example" { 2 name = "example-continst" 3 location = azurerm_resource_group.example.location 4 resource_group_name = azurerm_resource_group.example.name 5 ip_address_type = "Public" 6 dns_name_label = "aci-label" 7 os_type = "Linux" 8 depends_on = [ 9 azurerm_resource_group.example 10 ] 11 12 container { 13 name = "hello-world" 14 image = "mcr.microsoft.com/azuredocs/aci-helloworld:latest" 15 cpu = "0.5" 16 memory = "1.5" 17 18 ports { 19 port = 443 20 protocol = "TCP" 21 } 22 } 23 24 container { 25 name = "sidecar" 26 image = "mcr.microsoft.com/azuredocs/aci-tutorial-sidecar" 27 cpu = "0.5" 28 memory = "1.5" 29 } 30 31 tags = { 32 environment = "testing" 33 } 34 }