Azure / Azure/bicep

Support for `.jsonc` parameter files

Open
#10,623 2 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 4h
Merged PRs (30d)
81

Description

**Is your feature request related to a problem? Please describe.**
The documentation at https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/parameter-files#file-name says `.json` file is supported as a `TemplateParameterFile`. I tested the deployment with a `.jsonc` file (` New-AzSubscriptionDeployment -Name "deployment1" -Location "southafricanorth" -TemplateFile ".\main.bicep" -TemplateParameterFile ".\parameters\dev.params.jsonc"`)and can confirm that the deployment is working fine. Will the documentation be updated to reflect this supported file type? Does Bicep natively support `.jsonc` files for parameters?

**Describe the solution you'd like**
The documentation getting updated to provide more information.

Contributor guide

Open the contributing guide

Research direction

Start with the parameter-files documentation at the linked Microsoft Learn page and verify the reported New-AzSubscriptionDeployment command using the `.jsonc` parameter file. Confirm whether `.jsonc` is natively supported, then update the file-name guidance to explain the supported file type and validate the documentation against the observed deployment behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.