-
Notifications
You must be signed in to change notification settings - Fork 27
feat: Decouple container registry zone redundancy from private networking and make flexible #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jtracey93
merged 5 commits into
main
from
copilot/add-separate-zone-redundancy-variable
Feb 10, 2026
Merged
feat: Decouple container registry zone redundancy from private networking and make flexible #133
jtracey93
merged 5 commits into
main
from
copilot/add-separate-zone-redundancy-variable
Feb 10, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…CR 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>
Copilot
AI
changed the title
[WIP] Add separate variable for zone redundancy in container registry
Decouple container registry zone redundancy from private networking
Feb 10, 2026
…el 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>
Copilot
AI
changed the title
Decouple container registry zone redundancy from private networking
Decouple container registry zone redundancy from container instance zone support
Feb 10, 2026
Copilot
AI
changed the title
Decouple container registry zone redundancy from container instance zone support
Decouple container registry zone redundancy from private networking flag
Feb 10, 2026
Copilot
AI
changed the title
feat: Decouple container registry zone redundancy from private networking flag for agents and runners and make it flexible
Decouple container registry zone redundancy from private networking flag
Feb 10, 2026
jaredfholgate
previously approved these changes
Feb 10, 2026
Member
jaredfholgate
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, linting failure appears unrelated to this PR and must have been introduced in an ealier commit.
…th 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>
Copilot
AI
changed the title
feat: Decouple container registry zone redundancy from private networking flag and make flexible
Decouple container registry zone redundancy from private networking
Feb 10, 2026
jtracey93
approved these changes
Feb 10, 2026
jaredfholgate
approved these changes
Feb 10, 2026
Member
jaredfholgate
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
zone_redundancy_enabledwas hardcoded tovar.use_private_networking, making it impossible to use private networking (Premium SKU) in regions without availability zone support (e.g., Jio India West). Settingagent_container_zone_support: falseonly affected container instance placement, not the registry.Changes
modules/azure/container_registry.tf— Zone redundancy is now independently controllable when using Premium SKU:modules/azure/variables.tf— Newcontainer_registry_zone_redundancy_enabledvariable (defaulttrue, backward compatible)alz/azuredevops/andalz/github/— Exposecontainer_registry_zone_redundancy_enabled(defaultnull) as an independent override. Falls back to agent/runner zone support viacoalesce():Usage
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.