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
With the latest version of the bicep CLI, I am unable to reference Template Spec modules. If I inspect the cached copy of the module in main.json, the mainTemplate object appears empty:
In version 0.5.6, the error message does not appear.
In version 0.6.11 and 0.6.1, the error message appears as:
❯ bicep build .\db.bicep
C:\path\file.bicep(78,60) : Error BCP104: The referenced module has errors.
C:\path\file.bicep(82,5) : Error BCP037: The property "roleNames" is not allowed on objects of type "params". No other properties are allowed.
C:\path\file.bicep(85,5) : Error BCP037: The property "principalId" is not allowed on objects of type "params". No other properties are allowed.
C:\path\file.bicep(86,5) : Error BCP037: The property "principalType" is not allowed on objects of type "params". No other properties are allowed.
To Reproduce
Reference a template spec in your bicep file with the latest version of the CLI.
Bicep version
Bicep CLI version 0.6.11 (cecfb5c)
Describe the bug
With the latest version of the bicep CLI, I am unable to reference Template Spec modules. If I inspect the cached copy of the module in main.json, the mainTemplate object appears empty:
Version 0.6.11 and Version 0.6.1
Version 0.5.6
In version 0.5.6, the error message does not appear.
In version 0.6.11 and 0.6.1, the error message appears as:
To Reproduce
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: