Terraform resource: azurerm container registry

From wikieduonline
(Redirected from Azurerm container registry)
Jump to navigation Jump to search
  • sku: Basic, Standard and Premium
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: