Replies: 2 comments
-
Hi @Xyloto91, I hope I can answer your question/request. I don't think this is a good idea to introduce a function like I wrote a blog post a while back on this and how it works with variables on the Azure Pipeline: https://johnlokerse.dev/2023/10/02/work-with-environment-variables-in-azure-bicep/ |
Beta Was this translation helpful? Give feedback.
-
convertToJson is your friend here. Based on my experience using Azure Pipelines here's what I would do:
|
Beta Was this translation helpful? Give feedback.
-
What about feature where we can reference variable from group variable inside bicepparam file, something like getSecret() function in bicepparm.
Why this? Because when I use bicepparam file for deployment when I need to use some variable from group variables I need to reference it in overrideParameters. OverrideParameters sometimes can grow so much so it looks so messy in yml pipeline file. It would be great if we can reference group variable in bicepparam file like getSecret() or readEnvironmentVariable() functions.
Beta Was this translation helpful? Give feedback.
All reactions