InvalidTemplate with .bicepparam file - expected value of type <something> and received a value of type "Object" #12335
hooverken
started this conversation in
Authoring Help
Replies: 1 comment 5 replies
-
I have independently tested this scenario and can confirm this behavior. Bicep 0.22.6. This seems to be a PowerShell-specific issue. Deploying the same template and param file with az cli 2.53 and az bicep 0.22.6 works. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a parameters file (.bicepparam) with a basic template and I'm seeing something really weird. I created a minimal test case that triggers the same error for both myself and others. I also checked two most recent releases of Bicep with the same result ( 0.22.6 and 0.21.1).
test.bicep has two lines in it:
test.bicepparam also has two lines in it:
Important clue: If I use "Generate parameters file" in VS Code and select JSON as the output type, the generated JSON parameters file validates correctly.
Can anyone help me understand why this isn't considered valid?
Beta Was this translation helpful? Give feedback.
All reactions