Unable to resolve keyvault key resource
Bicep version Bicep CLI version 0.2.59 (5b0314c03c)
Describe the bug I was trying to create a script to add keyvault keys. But VS Code is not resolving any namespace for keyvault keys. The following syntax is throwing an error saying that 'Resource type "Microsoft.KeyVault/vaults/keys@2019-09-01" does not have types available.' resource newKey 'Microsoft.KeyVault/vaults/keys@2019-09-01'
To Reproduce try creating keyvault key resource either using the sample in GitHub or on your own. resource newKey 'Microsoft.KeyVault/vaults/keys@2019-09-01'
Is there a change in the new version?
Closing and tracking in #784
You should still be able to run bicep build and get a valid template because this is a warning and not an error. You should be seeing a yellow squiggly.