Terraform Azure ACR Module
A terraform module for creating and managing Container Registry on Azure
module "acr" {
source = " ../modules/acr"
name = " helloAzure124" # ACR naming conventions restricts to only alphanumerics, 5-50 characters long
resource_group_name = azurerm_resource_group. resource_group . name
}
Report issues/questions/feature requests on in the issues section.
Full contributing guidelines are covered here .
No modules.
Name
Description
Type
Default
Required
georeplication_locations
A list of Azure locations where the container registry should be geo-replicated.
list(string)
null
no
name
Specifies the name of the Container Registry. Changing this forces a new resource to be created.
string
n/a
yes
resource_group_name
The name of the resource group in which to create the Container Registry. Changing this forces a new resource to be created.
string
n/a
yes
sku
the SKU name of the container registry. Possible values are Basic, Standard and Premium
string
"Standard"
no
tags
A mapping of tags to assign to the resource.
map(string)
null
no
vnet_subnet_ids
A list of subnet ids to allow access to ACR
list(string)
[]
no
Name
Description
admin_password
The Password associated with the Container Registry Admin account - if the admin account is enabled
admin_username
The Username associated with the Container Registry Admin account - if the admin account is enabled.
login_server
The URL that can be used to log into the container registry.