Azure / arm-deploy

ARM action to deploy an Azure Resource Manager (ARM) template to all the deployment scopes
MIT License
82 stars 36 forks source link

Issue with parsing an array object #193

Open ManojNatarajanTR opened 4 months ago

ManojNatarajanTR commented 4 months ago

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 commented 4 months ago

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']"