Skip to content

Commit 999ef32

Browse files
committed
Add new Bicep error codes
1 parent 770c1d0 commit 999ef32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/azure-resource-manager/bicep/bicep-core-diagnostics.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.custom:
77
- devx-track-bicep
88
- devx-track-arm-template
99
- build-2025
10-
ms.date: 06/06/2025
10+
ms.date: 06/19/2025
1111
---
1212

1313
# Bicep core diagnostics
@@ -400,6 +400,10 @@ If you need more information about a particular diagnostic code, select the **Fe
400400
| <a id='BCP418' />BCP418 | Error | Extensions cannot be referenced here. Extensions can only be referenced by module extension configurations. |
401401
| <a id='BCP419' />BCP419 | Error | Namespace name `{name}` cannot be used as an extension name.|
402402

403+
| <a id='BCP420' />BCP420 | Error | The scope could not be resolved at compile time because the supplied expression is ambiguous or too complex. Scoping expressions must be reducible to a specific kind of scope without knowledge of parameter values.|
404+
| <a id='BCP421' />BCP421 | Error | Module "{moduleName}" contains one or more secure outputs, which are not supported with "{LanguageConstants.TargetScopeKeyword}" set to "{LanguageConstants.TargetScopeTypeLocal}".|
405+
| <a id='BCP422' />BCP422 | Error | A resource of type \"{baseType}\" may or may not exist when this function is called, which could cause the deployment to fail.|
406+
403407
## Next steps
404408

405409
See the [What is Bicep?](./overview.md) overview to learn more about Bicep.

0 commit comments

Comments
 (0)