Skip to content

Think-Cube/terraform-azure-container-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Name Version
terraform >= 1.6.4
azurerm 4.0.1

Providers

Name Version
azurerm 4.0.1

Modules

No modules.

Resources

Name Type
azurerm_container_registry.main resource
azurerm_client_config.current data source
azurerm_resource_group.main data source

Inputs

Name Description Type Default Required
acr_admin_enabled Specifies whether the admin user is enabled. Defaults to false. string "false" no
acr_name Specifies the name of the Container Registry. Changing this forces a new resource to be created. string n/a yes
acr_tier The SKU name of the container registry. Possible values are Basic, Standard and Premium. Classic (which was previously Basic) is supported only for existing resources. string "Basic" no
default_tags A mapping of tags to assign to the resource. map(any)
{
"ManagedByTerraform": "True"
}
no
environment Variable that defines the name of the environment. string "dev" no
region Region in which resources are deployed. string "weu" no
resource_group_location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. string "West Europe" no
resource_group_name The name of the resource group in which to create the container registry component. Changing this forces a new resource to be created. string n/a yes

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.
id The ID of the Container Registry.
login_server The URL that can be used to log into the container registry.