container-registry
avinor/container-registry/azurerm
Terraform module to create a docker container registry in Azure
Azure Container Registry This module is just a thin wrapper around the azurerm_container_registry resource to enforce naming standards and security policies (no admin user enabled). It can also assign roles for pulling and pushing images. Requirements - Minimum Contributor access to create registry - Owner required when using roles variable Usage Example of a simple deployment ``terraform module "simple" { source = "avinor/container-registry/azurerm" version = "1.1.0" name = "acr" resource_group_name = "simpleacr-rg" location = "westeurope" roles = [ { object_id = "0000-0000-0000" role = "AcrPull" }, ] } ` Diagnostics Diagnostics settings can be sent to either storage account, event hub or Log Analytics workspace. The variable diagnostics.destination is the id of receiver, ie. storage acco
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the resource | required |
| resource_group_name | string | Name of resource group to deploy resources in. | required |
| location | string | Azure location where to place resources | required |
| sku | string | The SKU name of the container registry | "Standard" |
| content_trust | bool | Set to true to enable Docker Content Trust on registry. | false |
| georeplications | list(object({ location | A list of Azure locations where the container registry should be geo-replicated. | null |
| diagnostics | object({ destination = s | Diagnostic settings for those resources that support it. See README.md for detai | null |
| tags | map(string) | Tags to apply to all resources created. | {} |
| roles | list(object({ object_id = | List of roles that should be assigned to Azure AD object_ids. | [] |
id — The Container Registry IDlogin_server — The URL that can be used to log into the container registry.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,