Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with parsing an array object #193

Open
ManojNatarajanTR opened this issue Apr 11, 2024 · 1 comment
Open

Issue with parsing an array object #193

ManojNatarajanTR opened this issue Apr 11, 2024 · 1 comment

Comments

@ManojNatarajanTR
Copy link

Hi Team,

I am trying to send an array to the action to deploy an automaton runbook as a parameter but it parses the array as string. Line 7 shows that an array is being passed, how can I resolve the type error thrown here because I want to pass an array to my bicep param as shown below

image

Bicep param parameter file
image

@anthony-c-martin
Copy link
Member

Have you tried using the syntax described in this document: https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/deploy-cli#inline-parameters

For example, either deployedSqlmi='["eus2devn5q"]' or deployedSqlmi="['eus2devn5q']"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants