You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am experiencing this strange issue with Bicep template setting kind to null on a resource. To my understanding this is issue with Bicep instead of the resource.
New-AzResourceGroupDeployment: 11:04:02 - Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template resource 'ep0001' at line '23' and column '9' is not valid: Evaluation result of language expression '[parameters('endpoint').kind]' is type 'Null', expected type is 'String'.. Please see https://aka.ms/arm-functions for usage details.'.
New-AzResourceGroupDeployment: The deployment validation failed
Slightly modified template but still setting kind to null results in success:
Bicep version
Bicep CLI version 0.33.93 (7a77c7f)
Describe the bug
I am experiencing this strange issue with Bicep template setting kind to null on a resource. To my understanding this is issue with Bicep instead of the resource.
To Reproduce
Steps to reproduce the behavior:
This template results in error:
Slightly modified template but still setting kind to null results in success:
Even if I put some condition the result is still error:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: