Azure-Samples / Azure-Samples/msdocs-fastapi-postgresql-sample-app
Error in Bicepfile - /infra/resources.bicep line 181
Open
- 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
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