Enhancements and Fixes in Terraform Greenfield ADDS Deployment#760
Merged
danycontre merged 5 commits intoAzure:mainfrom Mar 21, 2025
Merged
Enhancements and Fixes in Terraform Greenfield ADDS Deployment#760danycontre merged 5 commits intoAzure:mainfrom
danycontre merged 5 commits intoAzure:mainfrom
Conversation
danycontre
approved these changes
Mar 21, 2025
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
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.
Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes
Virtual Network Enhancements
• Introduced conditional logic (use_same_hub_identity_vnet) in network/locals.tf to validate if identity_subscription_id matches hub_subscription_id.
• Added new virtual network peering configurations (peer2, peer3, and peer4) in network/main.tf to improve connectivity.
Key Vault Firewall Rules Update
• Introduced dynamic IP retrieval using https://api.ipify.org/ and https://api64.ipify.org/ to automatically allow the current public IP in Key Vault firewall rules (keyvault.tf).
• Replaced hardcoded IP (136.28.83.128) with dynamically retrieved IP addresses.
AVD Resource Naming Standardization
• Updated Azure Virtual Desktop (AVD) resource names in main.tf:
• Removed var.avdLocation from virtual_desktop_host_pool_name and virtual_desktop_application_group_name to be compliant with name restrictions.
Version Upgrades for AVD Modules
• Updated AVD workspace module version from 0.1.2 to 0.2.0 to leverage the latest Terraform features.
Testing Evidence
Replace this with any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
![Uploading image.png…]()
As part of this Pull Request I have
.bicepfile/s I am adding/editing are using the latest API version possiblemainbranch