Troubleshooting possible errors and warnings
Every time you try to validate or deploy your Bicep files, you might face a compile or deploy time issue. We start with compile issues and then move on to deployment time potential errors.
Compile-time errors and warnings
Depending on what type of linting rules you have, you might receive different errors or warnings. We do not need to cover linting errors since they are obvious. But if you have any linting configuration within your code repository, the tools will give you the rule name when failing the compilation or deployment.
Apart from that, some compile-time errors may occur because of missing properties, the wrong value being provided to a parameter, missing parameters, and more. You will receive these errors, along with the exact locations of where they are happening, which makes them easier to fix. Here is an example of what happens when you do not provide a required property: