Add an Azure Container Registry to the infra plane

This is not yet being utilized by AKS, but should be
This commit is contained in:
R. Tyler Croy 2017-11-29 17:36:18 -08:00
parent 5ae9c6eefd
commit 38d99c4718
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 16 additions and 0 deletions

View File

@ -8,3 +8,19 @@ resource "azurerm_resource_group" "controlplane" {
name = "codevalet"
location = "${var.region}"
}
resource "azurerm_container_registry" "registry" {
name = "codevalet"
resource_group_name = "${azurerm_resource_group.controlplane.name}"
location = "${azurerm_resource_group.controlplane.location}"
admin_enabled = true
sku = "Standard"
}
resource "azurerm_storage_account" "storage" {
name = "codevaletstorage"
resource_group_name = "${azurerm_resource_group.controlplane.name}"
location = "${azurerm_resource_group.controlplane.location}"
account_tier = "Standard"
account_replication_type = "GRS"
}