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

Add validation and single region NVA scenario #225

Merged
merged 2 commits into from
Mar 20, 2025

Conversation

jaredfholgate
Copy link
Member

@jaredfholgate jaredfholgate commented Mar 20, 2025

Overview/Summary

This PR adds validation for starter locations to match the number of connectivity regions.

It also adds example config for single region NVA sceanrios

This PR fixes/adds/changes/removes

  1. Bug: Azure Landing Zones Continuous Delivery failing on Plan Task (Call to function "templatestring" failed) ALZ-PowerShell-Module#326

Breaking Changes

None

Testing Evidence

Please provide 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

  • Checked for duplicate Pull Requests
  • Associated it with relevant issues, for tracking and closure.
  • 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.

@jaredfholgate jaredfholgate self-assigned this Mar 20, 2025
@jaredfholgate jaredfholgate requested a review from Copilot March 20, 2025 12:36
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds validation to ensure that starter locations match the number of connectivity regions and introduces an example configuration for a single-region NVA scenario.

  • Added a new README file for the full single-region NVA example.
  • Documented options for hub networking and noted current limitations with the vWAN module.
Files not reviewed (3)
  • templates/platform_landing_zone/examples/full-single-region-nva/hub-and-spoke-vnet.tfvars: Language not supported
  • templates/platform_landing_zone/examples/full-single-region-nva/virtual-wan.tfvars: Language not supported
  • templates/platform_landing_zone/variables.tf: Language not supported
Comments suppressed due to low confidence (1)

templates/platform_landing_zone/examples/full-single-region-nva/README.md:10

  • [nitpick] Consider using the conventional capitalization 'DDoS' instead of 'DDOS' for clarity.
- DDOS Protection Plan

@jaredfholgate jaredfholgate merged commit f1b51ec into main Mar 20, 2025
6 checks passed
@jaredfholgate jaredfholgate deleted the feat-add-validation branch March 20, 2025 12:42
ASHR4 added a commit that referenced this pull request Mar 20, 2025
<!-- Thank you for submitting a Pull Request. Please fill out the
template below.-->
## Overview/Summary

The validation for `starter_locations `within the platform landing zone
fails when `connectivity_type` is set to `none`. These validation
changes were introduced in PR #225.

The issue arises because the validation logic still assesses
`var.virtual_wan_virtual_hubs` and
`var.hub_and_spoke_vnet_virtual_networks`, even though these variables
are not supplied when `connectivity_type` is `none`.

## Testing Evidence

Please provide 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

- [x] Checked for duplicate [Pull
Requests](https://github.com/Azure/alz-terraform-accelerator/pulls)
- [x] Associated it with relevant
[issues](https://github.com/Azure/alz-terraform-accelerator/issues), for
tracking and closure.
- [x] Ensured my code/branch is up-to-date with the latest changes in
the `main`
[branch](https://github.com/Azure/alz-terraform-accelerator/tree/main)
- [x] Performed testing and provided evidence.
- [x] Updated relevant and associated documentation.

---------

Co-authored-by: Rhys Ash <[email protected]>
Co-authored-by: Jared Holgate <[email protected]>
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.

2 participants