Configuration set pattern drops all intellisense
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
Is there anyway to get intellisense when using a configuration set pattern?
I followed this [guide](https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/conditional-resource-deployment) but their solution has no intellisense.
I tried many methods, like
```
var environmentVariabless = environment == 'prd' ? environmentConfigurationMap.Production : environmentConfigurationMap.NonProduction
```
But I am losing all intellisense.
I would like to just pass in the environment, and have bicep determine the settings.
The only other method I have is to have two parameter files and having CICD pick which file to use in the deploy command.
I don't know what is best practice, but with the configuration set pattern, I can `loadTextContent` on one file and separate it by environment.
It would also be cool if `loadTextContent` didn't need a compile time constant.
Contributor guide
Assessment
This issue has not been assessed yet.