Updated names per Azure requirements

This commit is contained in:
Tom Archer 2022-08-30 13:53:03 -07:00
parent 49b61b78a2
commit ec38ba616c

View File

@ -1,13 +1,13 @@
resource "azurerm_container_group" "vote_aci" {
name = "vote_aci"
name = "vote-aci"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
ip_address_type = "public"
dns_name_label = "vote_aci"
dns_name_label = "vote-aci-${random_integer.ri.result}"
os_type = "linux"
container {
name = "vote_aci"
name = "vote-aci"
image = "mcr.microsoft.com/azuredocs/azure-vote-front:cosmosdb"
cpu = "0.5"
memory = "1.5"