Skip to content

Commit e2ce11d

Browse files
committed
update the BCP420 issue description
1 parent e0464e5 commit e2ce11d

File tree

1 file changed

+1
-1
lines changed
  • articles/azure-resource-manager/bicep/diagnostics

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Error
2020

2121
## Examples
2222

23-
The following code triggers BCP420 because the scope can't be determined at the compile time.
23+
The following code triggers BCP420 because the scope property uses a conditional expression that depends on the runtime value of the **targetResourceGroupName** parameter. Bicep requires that scope expressions resolve to a specific scope at compile time, without relying on parameter values or dynamic logic. Since the compiler can't determine the scope without evaluating **targetResourceGroupName**, it throws BCP420.
2424

2525
```bicep
2626
param targetResourceGroupName string = 'my-target-rg'

0 commit comments

Comments
 (0)