Azure / Azure/aca-landing-zone-accelerator

private-networking module's privateDnsZone Hub Spoke has Bicep Core Diagnostics Error BCP420

Open
#178 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
216
Forks
124
PR merge metrics
No merged PRs in 30d

Description

When pulling the repo down, my code editor immediately flagged the shared `private-netwokring.bicep` module's privateDnsZoneDeployment with an error on the `scope` attribute:

`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.bicep[BCP420](https://aka.ms/bicep/core-diagnostics#BCP420)`

Image

Contributor guide

Open the contributing guide

Research direction

Start with the shared `private-netwokring.bicep` module and inspect the `privateDnsZoneDeployment` `scope` attribute that triggers BCP420. Reproduce the diagnostic in the editor or Bicep compiler, then verify that the scope error is resolved without introducing new diagnostics.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.