Terraform resource: azurerm container registry

From wikieduonline
Revision as of 16:40, 15 July 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search


resource "azurerm_container_registry" "example" {
 location            = local.resource_group.location
 name                = "aksacrtest${random_string.acr_suffix.result}"
 resource_group_name = local.resource_group.name
 sku                 = "Premium"

 retention_policy {
   days    = 7
   enabled = true
 }
}


Advertising: