Skip to content

DeimosCloud/terraform-azure-acr

Repository files navigation

Terraform Azure ACR Module

A terraform module for creating and managing Container Registry on Azure

Usage

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
}

Contributing

Report issues/questions/feature requests on in the issues section.

Full contributing guidelines are covered here.

Requirements

Name Version
terraform >= 0.14
azurerm ~> 2.0

Providers

Name Version
azurerm 2.93.1

Modules

No modules.

Resources

Name Type
azurerm_container_registry.acr resource
azurerm_resource_group.rg data source

Inputs

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

Outputs

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.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages