Azure / deployment-stacks

Contains Deployment Stacks CLI scripts and releases
MIT License
87 stars 6 forks source link

Do not require DenySettingsMode parameter for MG scoped deployment stacks with MG scoped underlying deployments #140

Open dantedallag opened 7 months ago

dantedallag commented 7 months ago

Is your feature request related to a problem? Please describe. DenySettingsMode is required in MG scoped deployment stack New and Set cmdlets when underlying deployment is at MG scope, even though deny settings are not supported on MG scoped deployment stacks with MG scoped underlying deployments. The cmdlets require you to specify 'None' for the DenySettingsMode.

Describe the solution you'd like Will discuss possible solutions if issue is upvoted enough.

Describe alternatives you've considered N/A

Additional context N/A

slavizh commented 7 months ago

one possible way is to have Parameter sets in PS where DenySettings for MG scope is not required and it has one default value which is the only one available. Of course if the issue will be solved at later point why make the effort to do change now and later having to revert it.