Bicep diagnostic code - BCP266
This diagnostic occurs when the metadata
declaration missing the identifier.
Description
Expected a metadata identifier at this location.
Level
Error
Solution
Add the metadata identifier, and complete the declaration.
Examples
The following example raises the diagnostic because type declaration metadata
misses the identifier.
metadata
You can fix the diagnostic by completing the metadata
declaration.
metadata description = 'Creates a storage account and a web app'
For more information, see Metadata.
Next steps
For more information about Bicep diagnostics, see Bicep core diagnostics.