bicep decompile-params generates invalid output with error BCP051 #13785
Labels
bug
Something isn't working
good first issue
Good for newcomers
Quality Sprint: Yes
story: bicep parameters
Milestone
Bicep version
Bicep CLI version 0.26.54 (5e20b29)
Describe the bug
When running:
The output starts with the line:
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.
The text was updated successfully, but these errors were encountered: