Azure-Samples / Azure-Samples/azure-appconfig-aks
`azd provision` fails on Linux due to case sensitive filename mismatch: configstore.bicep
- Dominant language
- Bicep
- Stars
- 2
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
On WSL2 Ubuntu 22.04:
`azd up` fails on Linux because the referenced Bicep filename does not match due to case sensitive filesystem.
Line: `module configStore './resources/configStore.bicep' = {`
should be changed to `module configStore './resources/configstore.bicep' = {`
Error:
```
ERROR: error executing step command 'provision': initializing provisioning manager: failed to compile bicep template: failed running bicep build: exit code: 1, stdout: , stderr: /home//dev/aks/appconfig/infra/main.bicep(83,20) : Error BCP091: An error occurred reading file. Could not find file '/home//dev/aks/appconfig/infra/resources/configStore.bicep'.
/home//dev/aks/appconfig/infra/main.bicep(99,50) : Error BCP062: The referenced declaration with name "configStore" is not valid.
```
See code line:
https://github.com/Azure-Samples/azure-appconfig-aks/blob/776c5e686c34fd58e92c2c1e96a964ef1d3ca6fd/infra/main.bicep#L83
Contributor guide
Research direction
Start in infra/main.bicep at line 83 and compare the referenced filename with the file under infra/resources/. Reproduce the azd provisioning failure on WSL2 Ubuntu 22.04, then confirm that azd up completes provisioning without the Bicep file-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100