Skip to content
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

#632 - Updated Private DNS zones to be more dynamic #633

Merged
merged 11 commits into from
Aug 16, 2024

Conversation

chbragg
Copy link
Contributor

@chbragg chbragg commented Aug 9, 2024

Overview/Summary

Optimizes the Private DNS zone creation. Automatically calculates the values for the private DNS zones based on which cloud it is deploying to.

This PR fixes/adds/changes/removes

Fixed #632

Breaking Changes

Testing Evidence

Replace this with any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).

As part of this Pull Request I have

  • Read the Contribution Guide and ensured this PR is compliant with the guide
  • Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
  • Checked for duplicate Pull Requests
  • Associated it with relevant GitHub Issues
  • (AVD LZA Team Only) Associated it with relevant ADO Items
  • Ensured my code/branch is up-to-date with the latest changes in the main branch
  • Performed testing and provided evidence.
  • Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Docs etc.)

@jamasten
Copy link
Contributor

jamasten commented Aug 9, 2024

Well, this looks familiar lol... @chbragg the cloudSuffix for the private DNS zones is needed for air gapped deployments. So, you might be able to remove that unless it's needed for China. I don't recall if I validated the China endpoints with this logic. Did you?

@chbragg
Copy link
Contributor Author

chbragg commented Aug 9, 2024

Thanks @jamasten. I figured why not use some very well written code I saw in another Github repo ;-)

I double checked the China ARM endpoints and they use the same format as USGov cloud so I removed that variable. Thank You!

@chbragg chbragg reopened this Aug 9, 2024
@chbragg chbragg reopened this Aug 15, 2024
@chbragg chbragg closed this Aug 16, 2024
@chbragg chbragg reopened this Aug 16, 2024
@danycontre
Copy link
Collaborator

@chbragg thanks for your contribution.

@danycontre danycontre merged commit e848603 into Azure:main Aug 16, 2024
12 checks passed
danycontre added a commit that referenced this pull request Aug 19, 2024
#632 - Updated Private DNS zones to be more dynamic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bicep deployment fails (RequestContentTooLarge)
3 participants