Looking for a way to deploy module independently using bicepparam #16119
-
Previously, I used a .json file as my parameters file and deployed the module with the following command:
I have a complete demo here: Demo Bicep Project. Can I apply the same approach using .bicepparams?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@Mingz6 What error do you see when to try that? |
Beta Was this translation helpful? Give feedback.
Loading properties from text content isn't supported, so unfortunately that won't work. But this command should work for you, I was able to run it successfully:
az deployment group create --resource-group rg-staticwebapp --template-file staticwebapp.bicep --parameters './main.bicepparam'
Any specific error you are getting when you run the command? The only thing I did notice you have
main.bicepparams
instead ofmain.bicepparam
.