Microsoft.Insights/components: Required 'properties' not required
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Insights/components
### Api Version
2020-02-02
### Issue Type
Missing property(s)
### Other Notes
To deploy a Microsoft.Insights component there must be specified 'properties', but this is not enforced in VS Code Bicep extension.
### Bicep Repro
resource insightsLineage 'Microsoft.Insights/components@2020-02-02' = {
kind: 'web'
location: location
name: insightsLineageName
}
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Microsoft.Insights/components@2020-02-02 resource definition and the validation entry point used by the VS Code Bicep extension. Reproduce the issue with the provided resource lacking properties, then confirm that the definition rejects the deployment shape when the required property is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100