Azure-Samples / Azure-Samples/msdocs-fastapi-postgresql-sample-app

Error in Bicepfile - /infra/resources.bicep line 181

Open
#16 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Bicep
Stars
11
Forks
60
Avg merge
1d 18h
Merged PRs (30d)
2

Description

I get validation error with the bicep deployment

Resources: "appSettings", "webAppSettings" are defined with this same name in a file. Rename them or split into different modules.bicep[BCP121](https://aka.ms/bicep/core-diagnostics#BCP121)

Contributor guide

Open the contributing guide

Research direction

Open /infra/resources.bicep and inspect line 181 and the appSettings and webAppSettings resource declarations named in the BCP121 validation error. Run the Bicep validation or deployment to confirm the duplicate-name error, then verify that validation succeeds after the declarations are uniquely named or separated into modules.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.