Terraform resource: azurerm container registry

From wikieduonline
Revision as of 18:23, 16 July 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: