Created
April 24, 2022 14:17
-
-
Save rollendxavier/626242e2b2e133303d186f590454f4f3 to your computer and use it in GitHub Desktop.
Manages an Azure Container Registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "azurerm_resource_group" "container_rg" { | |
| name = "container-${var.environment}-rg" | |
| location = var.location | |
| } | |
| resource "azurerm_container_registry" "acr" { | |
| name = "container${var.environment}acr" | |
| resource_group_name = azurerm_resource_group.container_rg.name | |
| location = var.location | |
| sku = "Premium" | |
| admin_enabled = false | |
| identity { | |
| type = "SystemAssigned" | |
| } | |
| georeplications { | |
| location = "Australia Southeast" | |
| zone_redundancy_enabled = true | |
| tags = {} | |
| } | |
| georeplications { | |
| location = "Australia Central" | |
| zone_redundancy_enabled = true | |
| tags = {} | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment