169163334 - Adds Azure Container Registry

Adds the ACR. Georeplication disabled for the moment until we add the DR
site.
This commit is contained in:
Rob Gil
2019-12-19 20:12:20 -05:00
parent 54ba6586d2
commit 74b2510730
5 changed files with 63 additions and 0 deletions

View 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]
}