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:
parent
5ae9c6eefd
commit
38d99c4718
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue