Commit a64d524
feat: Decouple container registry zone redundancy from private networking and make flexible (#133)
* Initial plan
* Add container_registry_zone_redundancy_enabled variable to decouple ACR zone redundancy from private networking
Fixes the issue where zone_redundancy_enabled for the container registry was
tied to use_private_networking, causing failures in regions that don't support
zone redundancy (e.g., Jio India West). Re-uses the existing
agent_container_zone_support / runner_container_zone_support variables to
control both container instance zones and container registry zone redundancy.
Co-authored-by: jtracey93 <41163455+jtracey93@users.noreply.github.com>
* Expose container_registry_zone_redundancy_enabled as separate top-level variable in ADO and GitHub ALZ modules
By default, the container registry zone redundancy follows the agent/runner
container zone support setting. Users can now independently override it by
setting container_registry_zone_redundancy_enabled, enabling scenarios like
AZ support for runners but not the registry.
Co-authored-by: jtracey93 <41163455+jtracey93@users.noreply.github.com>
* Fix zone_redundancy_enabled to use ternary for independent control with private networking
When private networking is enabled (Premium SKU), zone_redundancy_enabled is
now independently controlled by container_registry_zone_redundancy_enabled.
When private networking is disabled (Basic SKU), zone_redundancy_enabled is
false as required by the Terraform provider. The ternary pattern is consistent
with the other attributes in the resource block.
Co-authored-by: jtracey93 <41163455+jtracey93@users.noreply.github.com>
* Fix zone redundancy condition for container registry
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jtracey93 <41163455+jtracey93@users.noreply.github.com>1 parent e8e00a7 commit a64d524
6 files changed
Lines changed: 41 additions & 1 deletion
File tree
- alz
- azuredevops
- github
- modules/azure
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
397 | 398 | | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
402 | 415 | | |
403 | 416 | | |
404 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
505 | 506 | | |
506 | 507 | | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
507 | 520 | | |
508 | 521 | | |
509 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
531 | 543 | | |
532 | 544 | | |
533 | 545 | | |
| |||
0 commit comments