Open gavinsteinhoff opened 3 years ago
Is there anyway to get intellisense when using a configuration set pattern?
I followed this guide 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.
loadTextContent
It would also be cool if loadTextContent didn't need a compile time constant.
There are a couple pieces that need to be considered when enabling this:
Is there anyway to get intellisense when using a configuration set pattern?
I followed this guide but their solution has no intellisense.
I tried many methods, like
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.