Azure / Azure/bicep

Allow parameters to be omitted so they can be supplied at deploy-time

Open
#10,454 15 comments 17 reactions 1 assignee Claimed by @polatengin View on GitHub
story: bicep parameters
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

**Bicep version**
https://github.com/Azure/bicep/commit/196661bb8c05f2d6b8427737d602579b37131f56

**Describe the bug**
Currently, if a required parameter is not assigned a value in a `.bicepparams` file, a BCP258 error will be generated.
![image](https://user-images.githubusercontent.com/16367959/232395382-d8e32e18-1eef-4eea-9e8b-974c6dedbd65.png)

IMHO this should not be the expected behavior, since it is legit for a user to provide the value at deploy time via the Azure CLI / Azure PowerShell command prompt. The quick fix might be to change the error to a warning.

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.