Skip to content

Commit 91cbc17

Browse files
committed
chore: remove geo redundany from acr module
1 parent 8238cbd commit 91cbc17

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

modules/azure/container-registry/buildingblock/APP_TEAM_README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Azure Container Registry (ACR)
22

33
## Description
4-
This building block provides a production-grade Azure Container Registry (ACR) for storing and managing Docker container images and OCI artifacts. It delivers a fully managed, geo-replicated, and secure container registry with support for both public and private deployments, optional hub connectivity, and seamless integration with Azure Kubernetes Service (AKS).
4+
This building block provides a production-grade Azure Container Registry (ACR) for storing and managing Docker container images and OCI artifacts. It delivers a fully managed and secure container registry with support for both public and private deployments, optional hub connectivity, and seamless integration with Azure Kubernetes Service (AKS).
55

66
## Usage Motivation
77
This building block is for application teams that need a secure and reliable container registry to store Docker images, Helm charts, and other OCI artifacts. The ACR comes pre-configured with enterprise-grade security features including private endpoints, network access controls, and Azure AD authentication, eliminating the complexity of managing container registries while ensuring compliance with security policies.
88

99
## 🚀 Usage Examples
1010
- A development team stores and versions Docker images for microservices applications
1111
- A CI/CD pipeline pushes built container images to ACR and deploys them to AKS clusters
12-
- An operations team distributes container images across multiple Azure regions using geo-replication
1312
- A security team implements content trust and vulnerability scanning for container images
1413
- A data science team stores and manages ML model containers and training environments
1514

@@ -20,7 +19,6 @@ This building block is for application teams that need a secure and reliable con
2019
| Provisioning and configuring the ACR |||
2120
| Managing network configuration and private endpoints |||
2221
| Setting up hub network peering (for private ACR) |||
23-
| Configuring geo-replication (if enabled) |||
2422
| Managing IAM roles and permissions |||
2523
| Pushing and managing container images |||
2624
| Implementing image tagging strategies |||
@@ -48,7 +46,6 @@ This building block is for application teams that need a secure and reliable con
4846
- **Scan before push**: Scan images locally before pushing to ACR
4947

5048
### Performance & Reliability
51-
- **Enable geo-replication**: For global applications, replicate images to regions close to compute resources
5249
- **Use dedicated data endpoints**: Enable data endpoints in Premium SKU for improved performance
5350
- **Enable zone redundancy**: For high availability, enable zone redundancy in supported regions
5451
- **Monitor registry metrics**: Track storage usage, pull/push operations, and throttling in Azure Monitor
@@ -76,7 +73,6 @@ This building block is for application teams that need a secure and reliable con
7673
|---------|-------|----------|---------|
7774
| Storage (GB) | 10 | 100 | 500 |
7875
| Webhooks | 2 | 10 | 500 |
79-
| Geo-replication ||||
8076
| Private endpoints ||||
8177
| Content trust ||||
8278
| Customer-managed keys ||||
@@ -98,7 +94,6 @@ This building block is for application teams that need a secure and reliable con
9894
- **Service Endpoints**: VNet service endpoints for controlled access
9995

10096
### High Availability
101-
- **Geo-Replication**: Replicate images to multiple Azure regions (Premium SKU)
10297
- **Zone Redundancy**: Deploy across availability zones (Premium SKU, select regions)
10398
- **SLA**: 99.9% uptime SLA for Standard and Premium SKUs
10499

modules/azure/container-registry/buildingblock/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ No modules.
199199
| <a name="input_public_network_access_enabled"></a> [public\_network\_access\_enabled](#input\_public\_network\_access\_enabled) | Enable public network access to the ACR | `bool` | `true` | no |
200200
| <a name="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name) | Name of the resource group to create for the ACR | `string` | `"acr-rg"` | no |
201201
| <a name="input_retention_days"></a> [retention\_days](#input\_retention\_days) | Number of days to retain untagged manifests (Premium SKU only, 0 to disable) | `number` | `7` | no |
202-
| <a name="input_sku"></a> [sku](#input\_sku) | SKU tier for the ACR (Basic, Standard, Premium). Premium required for private endpoints and geo-replication. | `string` | `"Premium"` | no |
202+
| <a name="input_sku"></a> [sku](#input\_sku) | SKU tier for the ACR (Basic, Standard, Premium). Premium required for private endpoints. | `string` | `"Premium"` | no |
203203
| <a name="input_subnet_address_prefix"></a> [subnet\_address\_prefix](#input\_subnet\_address\_prefix) | Address prefix for the private endpoint subnet (only used if subnet\_name is not provided) | `string` | `"10.250.1.0/24"` | no |
204204
| <a name="input_subnet_name"></a> [subnet\_name](#input\_subnet\_name) | Name of the subnet for private endpoint. If not provided, a new subnet will be created. | `string` | `null` | no |
205205
| <a name="input_tags"></a> [tags](#input\_tags) | Tags to apply to all resources | `map(string)` | `{}` | no |

modules/azure/container-registry/buildingblock/main.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,6 @@ resource "azurerm_container_registry" "acr" {
8686
}
8787
}
8888

89-
# dynamic "georeplications" {
90-
# for_each = var.sku == "Premium" ? var.georeplications : []
91-
# content {
92-
# location = georeplications.value.location
93-
# zone_redundancy_enabled = georeplications.value.zone_redundancy_enabled
94-
# regional_endpoint_enabled = georeplications.value.regional_endpoint_enabled
95-
# tags = var.tags
96-
# }
97-
# }
98-
9989
tags = merge(
10090
var.tags,
10191
{

modules/azure/container-registry/buildingblock/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ variable "acr_name" {
2222

2323
variable "sku" {
2424
type = string
25-
description = "SKU tier for the ACR (Basic, Standard, Premium). Premium required for private endpoints and geo-replication."
25+
description = "SKU tier for the ACR (Basic, Standard, Premium). Premium required for private endpoints."
2626
default = "Premium"
2727

2828
validation {

0 commit comments

Comments
 (0)