169163334 - Adds Azure Container Registry
Adds the ACR. Georeplication disabled for the moment until we add the DR site.
This commit is contained in:
13
terraform/modules/container_registry/main.tf
Normal file
13
terraform/modules/container_registry/main.tf
Normal file
@@ -0,0 +1,13 @@
|
||||
resource "azurerm_resource_group" "acr" {
|
||||
name = "${var.name}-${var.environment}-acr"
|
||||
location = var.region
|
||||
}
|
||||
|
||||
resource "azurerm_container_registry" "acr" {
|
||||
name = "${var.name}${var.environment}registry" # Alpha Numeric Only
|
||||
resource_group_name = azurerm_resource_group.acr.name
|
||||
location = azurerm_resource_group.acr.location
|
||||
sku = var.sku
|
||||
admin_enabled = var.admin_enabled
|
||||
#georeplication_locations = [azurerm_resource_group.acr.location, var.backup_region]
|
||||
}
|
Reference in New Issue
Block a user