Azure / Azure/bicep

Add an optional parameter for Bicep CLI commands to specify the config file to use

Open
#5,013 9 comments 5 reactions 0 assignees View on GitHub
enhancement Needs: Attention :wave: Needs: Upvote revisit
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Is your feature request related to a problem? Please describe.**
Currently, users cannot choose which bicep file to use when running `bicep build`.

**Describe the solution you'd like**
Add a parameter to specify a bicep config file path.
```
bicep build ./main.bicep --config ./bicepconfig.prod.json
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation of the `bicep build` command and its current config-file resolution. Trace how the command chooses a config, then verify that the example can select `./bicepconfig.prod.json` without changing default behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.