Pass JSON array to Bicep file from Azure pipeline #15757
eirikfk
started this conversation in
Authoring Help
Replies: 1 comment
-
I have also come upon this problem which I could not solve. Would be great if someone could find a solution here! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to pass a JSON array from my Azure pipeline into a Bicep file using the format outlined here.
The JSON array looks like this:
To ensure the format is correct, I have currently defined the JSON string directly in the Bicep file as follows:
To read it, I'm using the following syntax that fails:
var ipAddressesArray = json(ipAddressesString)
This results in the following error:
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions