-
Notifications
You must be signed in to change notification settings - Fork 786
Closed
Labels
Quality Sprint: YesbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersstory: bicep parameters
Milestone
Description
Bicep version
Bicep CLI version 0.26.54 (5e20b29)
Describe the bug
When running:
bicep decompile-params --force --bicep-file template.bicep params.json
The output starts with the line:
using '/template.bicep'
This first line is invalid and shows the following error: The specified path begins with "/". Files must be referenced using relative paths.bicep(BCP051)
Additional context
While this is easy to fix manually, I'm using this to automatically generate ".bicepparam" files. The idea is to provide a PowerShell script with a table of parameter values and bicep file names, and then have it bulk-generate these files for inclusion in source repos, pipelines, etc... Hence, it is important for the output to be immediately valid and usable as-is.
Metadata
Metadata
Assignees
Labels
Quality Sprint: YesbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersstory: bicep parameters
Type
Projects
Status
Done