Azure / Azure/bicep

sites/siteExtensions properties incorrectly reported as read-only

Open
#4,271 2 comments 3 reactions 0 assignees View on GitHub
provider bug types: swagger inaccuracy
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

**Bicep version**
0.4.613

**Describe the bug**
'Microsoft.Web/sites/siteExtensions@2021-01-15' lists properties as read-only. This is not the case in ARM, where the version property can be used to specify the version of the extenstion to install on the app.

**To Reproduce**
```bicep
resource siteExtension 'Microsoft.Web/sites/siteExtensions@2021-01-15' = [for extension in site.extensions: {
name: extension.name
parent: siteRes
properties: {
version: extension.version
}
}]
```

Contributor guide

Open the contributing guide

Research direction

Start with the Bicep reproducer for Microsoft.Web/sites/siteExtensions@2021-01-15 and inspect how its properties are classified. Confirm that the version property can be assigned as shown while other read-only reporting remains correct, then add or update coverage for this resource behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.