Difference between revisions of "Terraform resource: azurerm container registry"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
name = "aksacrtest${random_string.acr_suffix.result}" | name = "aksacrtest${random_string.acr_suffix.result}" | ||
resource_group_name = local.resource_group.name | resource_group_name = local.resource_group.name | ||
− | + | [[SKU]] = "Premium" | |
− | + | ||
[[retention_policy]] { | [[retention_policy]] { | ||
days = 7 | days = 7 |
Revision as of 16:40, 15 July 2024
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: