Skip to content

Conversation

@ASHR4
Copy link

@ASHR4 ASHR4 commented Mar 19, 2025

Pull Request

Issue

Azure/Azure-Landing-Zones#403

Description

Description of changes:

  • Add planOnly attribuite to Deploy-Accelerator.ps1
  • Added planOnly switch in New-Bootstrap.ps1
  • Added planOnly switch in Invoke-Terraform.ps1

License

By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.

@github-actions github-actions bot added the Needs: Triage 🔍 Needs triaging by the team label Mar 19, 2025
Copy link
Member

@jaredfholgate jaredfholgate left a comment

Choose a reason for hiding this comment

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

if(!$autoApprove) {
if($planOnly) {
return
} elseif(!$autoApprove) {
Copy link
Member

Choose a reason for hiding this comment

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

Can we just make the a second if statement for readability since the two options are not directly related?

Suggested change
} elseif(!$autoApprove) {
}
if(!$autoApprove) {

@jaredfholgate
Copy link
Member

I'm going to close this. Thanks for doing the work and apologies for abandoning it!

@jaredfholgate jaredfholgate deleted the feature/plan-only branch June 23, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Triage 🔍 Needs triaging by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants