BicepBicepKnown error
BCP036
Bicep told you the line and column
Bicep compiler
What the error looks like
- Error code
- WHO โ identity
- WHAT โ action
- WHERE โ scope
- Policy
- Correlation / trace
/src/main.bicep(24,5) : Error BCP036CODE: The property "sku" expected a value of type "'Premium_LRS' | 'Standard_GRS' | 'Standard_LRS' | 'Standard_ZRS'" but the provided value is of type "'Standard'". [https://aka.ms/bicep/core-diagnostics#BCP036CODE]What you told me
โBicep won't build.โ
you ยท just now
Let's read it.
RTFE ยท seen
What it actually says
The compiler gives you the file, line, column, property, and the expected type or allowed values. Go there.
Azure outage? No. Compile error in the template โ it never reached Azure.
The fix
- 01Open the file at (line, column).
- 02Compare the provided value with the expected type/values.
- 03Common ones: BCP035 missing property, BCP036 wrong type, BCP037 property not allowed, BCP057 unknown symbol.
az bicep build --file main.bicepRead it faster next time
(24,5) means line 24, column 5. That's the whole search.