-
Notifications
You must be signed in to change notification settings - Fork 517
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
Option for subnet delegations #526
Conversation
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.
Thanks @Piccard, please remove the Private DNS Resolver additions here and just leave the delegation pieces
Ok, removed the new subnets and left only the functionality to delegate subnets. There is not any doc explaining how-to delegate subnets yet, but I don't see any good place to put it. |
@Piccard could you resolve the test failures please 👍 |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
Overview/Summary
Delegating a subnet to an azure service is possible in terraform, but not yet possible in the bicep version of ALZ.
The feature is not well documented though: Azure/terraform-azurerm-caf-enterprise-scale#711
This PR fixes/adds/changes/removes
1.1 Subnets that should not have delegations can skip/ignore the use of this property
1.2 The vnet resource api accepts the delegation object to be a list, but my attempt to delegate for two services failed. I've never successfully delegated a subnet to two services, that might cause conflicts if both azure services deploy stuff into the subnet on the same IP(?)
Breaking Changes
None
Testing Evidence
-WhatIf deployment of two new subnets with delegation:
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch