-
Hi all, I am deploying environment in Azure and would like to have a central parameter *.json file for all my bicep files (I have several). I am reading this same parameter file with any of the bicep deployment files, but deployment fails if there is a parameter in that json file that is not then used in bicep deployment file. This is expected as not all deployment ofcourse use the same parameters... I want to keep just one central parameter file, how can I overcome this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I found a sort of workaround for this, If I use modules I can specify "unique" parameters there for each specific bicep file I am referencing it, but then using parameter file (*.json) does not work? If anybody have some insight I would be grateful. thanks |
Beta Was this translation helpful? Give feedback.
-
It never crossed my mind to just put it there and not use it, since intelisense underlines it as errror as param is never used. Regarding organizing parameters objects, thats is a great Idea I am in middle of redoing my whole parameter file this is awesome and much more clearer, your answer can be marked as solution, big thanks ! |
Beta Was this translation helpful? Give feedback.
-
I do not know how to mark @kevball2 reply as answer mods please do it. |
Beta Was this translation helpful? Give feedback.
I found a sort of workaround for this, If I use modules I can specify "unique" parameters there for each specific bicep file I am referencing it, but then using parameter file (*.json) does not work? If anybody have some insight I would be grateful.
thanks