Azure / Azure/arm-template-whatif

Exclude specific resources from what-if output

Open
#358 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Needs: Triage :mag:
Dominant language
HTML
Stars
102
Forks
21
Avg merge
3h 35m
Merged PRs (30d)
1

Description

**Bicep version**
0.23.1

**Describe the bug**
The whatif feature shows the deploymentScript content each time when we run whatif, what creates additional noise in the output

**To Reproduce**
Steps to reproduce the behavior:
- Create the template with PowerShell Script in deploymentScript resource and run New-AzDeployment -WhatIf -template
**Additional context**
Is there any way to exclude the script content from the output?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with New-AzDeployment -WhatIf and a template containing a PowerShell deploymentScript resource. Trace how deploymentScript content appears in what-if output, then verify that a resource-specific exclusion suppresses only that content while retaining other changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.