Skip to content

Commit e49bdf2

Browse files
Merge pull request #301575 from mumian/0619-new-error-codes
Add new Bicep error codes
2 parents 54d7f75 + e8ee5c3 commit e49bdf2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 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
@@ -399,6 +399,9 @@ If you need more information about a particular diagnostic code, select the **Fe
399399
| <a id='BCP417' />BCP417 | Error | The spread operator `{ellipsis}` cannot be used inside objects with property for-expressions. |
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.|
402+
| <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. |
403+
| <a id='BCP421' />BCP421 | Error | Module `{moduleName}` contains one or more secure outputs, which are not supported with `{LanguageConstants.TargetScopeKeyword}` set to `{LanguageConstants.TargetScopeTypeLocal}`.|
404+
| <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.|
402405

403406
## Next steps
404407

0 commit comments

Comments
 (0)