Skip to content

Think-Cube/terraform-azure-container-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Name Version
terraform >= 1.6.3
azurerm 4.14.0

Providers

Name Version
azurerm 4.14.0

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 map of default tags to assign to all resources, aiding in resource organization and cost tracking. map(string) n/a yes
environment The name of the environment to deploy resources into, such as 'dev', 'test', or 'prod'. string n/a yes
resource_group_location The Azure region where the resource group is located. Changing this value will recreate the Container Registry. string n/a yes
resource_group_name The name of the resource group in which the Container Registry will be created. Modifying this value will recreate the resource. 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.