container-registry
DanielMabbett/container-registry/azurerm
Terraform module for Azure Container Registry
Install
README
terraform-azurerm-container-registry !terratest Create a Container Registry Environment with Terraform This Terraform module deploys a Container Registry with additional optional image definitions. Usage ``hcl provider "azurerm" { features {} } resource "random_id" "rg_name" { byte_length = 8 } variable "location" { default = "north europe" } module "container_environment" { source = "../.." name = "acctacr${random_id.rg_name.hex}" resource_group_name = "rg-acct-acr-${random_id.rg_name.hex}" location = "North Europe" sku = "Premium" enable_admin = false webhooks = [ { name = "mywebhook" service_uri = "https://mywebhookreceiver.example/mytag" status = "enabled" scope = "mytag:" actions = ["push"] custom_headers = { "Content-Type" = "application/json" } }, ] tags = { Purpose = "Testing" Envi
Inputs (8)
| Name | Type | Description | Default |
|---|---|---|---|
| tags | string | required | |
| name | string | The name for the Azure Container Registry | "myRegistry" |
| sku | string | The SKU for the Azure Container Registry | "premium" |
| enable_admin | string | Enable admin for the Azure Container Registry | false |
| georeplication_locations | list | Georeplication regions for the Azure Container Registry | [] |
| webhooks | list(object({ name | (Required) A list of objects describing the webhooks resources required. | [] |
| resource_group_name | string | The name for the resource group where the Azure Container Registry will reside. | "myRegistryRG" |
| location | string | The location for the resource group where the Azure Container Registry will resi | "north europe" |
Outputs (1)
container_registry_id — The ID for the Azure Container RegistryResources (3)
Topics & Tags
Details
Similar packages
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 Azure Verified Resource Module for Key Vault