bicep icon indicating copy to clipboard operation
bicep copied to clipboard

Unable to resolve keyvault key resource

Open bveerendrakumar opened this issue 6 years ago • 1 comments

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?

bveerendrakumar avatar Nov 26 '20 13:11 bveerendrakumar

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.

alex-frankel avatar Nov 30 '20 22:11 alex-frankel