Azure / Enterprise-Scale

The Azure Landing Zones (Enterprise-Scale) architecture provides prescriptive guidance coupled with Azure best practices, and it follows design principles across the critical design areas for organizations to define their Azure architecture
https://aka.ms/alz
MIT License
1.69k stars 963 forks source link

Fixes 1570 portal deployment issue #1572

Closed arjenhuitema closed 7 months ago

arjenhuitema commented 7 months ago

Overview/Summary

Parameter corpConnectedLzSubscriptionId receives an object from the portal output. This object contains both subscription IDs and address spaces. This caused an issue in subscriptionIds (array of subscriptions IDs.)

Now uses lambda function to obtain the subscription IDs from corpConnectedLzSubscriptionId. This fixes Invalid Template error when selecting a corp connected landing zone deployment.

This PR fixes/adds/changes/removes

  1. Fixes #1570

Breaking Changes

None

Testing Evidence

Tested:

Deployment: image

Testing URLs

The below URLs can be updated where the placeholders are, look for {YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also} & {YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}, to allow you to test your portal deployment experience.

Please also replace the curly brackets on the placeholders {}

Azure Public

Deploy To Azure

As part of this Pull Request I have