Skip to content

VSCode Extension – required-properties doesn't add all required properties #7819

Closed
@SetTrend

Description

@SetTrend

Bicep version

Bicep CLI version 0.8.9 (33a85174de)

Describe the bug

After adding a resource and selecting the required-properties drop-down item, only the name property was added. There required scope property, however, was not added.

To Reproduce

Add a resource, similar to this:

resource kv 'Microsoft.KeyVault/vaults@2021-10-01' existing =

The result is: Only the name property will be added:

resource kv 'Microsoft.KeyVault/vaults@2021-10-01' existing = {
  name: ''
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackAwaiting feedback from the author of the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions