Azure / Azure/PSRule.Rules.Azure

Expand templates without parameters

Open
#1,161 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
PowerShell
Stars
447
Forks
109
Avg merge
2d 19h
Merged PRs (30d)
23

Description

Some templates may not have any parameters or any required parameters particularly if they are built from bicep.

Currently PSRule for Azure will only automatically from CI expands from parameter files. If a template has no parameter file it would not be automatically expanded although could be manually from a PowerShell command line.

We should handle this scenario.

---

**Update**: This is already handled for Bicep by configuring expansion options. Issue remains if a template has no required parameters but not parameter file, it isn't currently expanded by any method automatically.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.