Microsoft.Web/sites/extensions ZipDeploy not supported
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
**Bicep version**
run `bicep --version` via the Bicep CLI, `az bicep version` via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep
0.12.40
**Describe the bug**

"The property "name" expected a value of type "'MSDeploy' | 'onedeploy'" but the provided value is of type "'ZipDeploy'". Did you mean "'MSDeploy'"?bicep(BCP088)"
ZipDeploy is a supported way to deploy to Azure with Arm Templates. You can "force" Bicep to create the proper Arm Template with ZipDeploy as by using any('ZipDeploy').
```
resource deploy 'extensions@2022-03-01' = {
name: any('ZipDeploy')
properties: {
packageUri: servicePackageLink
}
}
```
Resulting successful deployment.

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the type definition for Microsoft.Web/sites/extensions at API version 2022-03-01 and inspect how the extension name values are declared. Verify that ZipDeploy is accepted without any('ZipDeploy') while retaining the ARM deployment behavior described in the issue; confirm the change with the repository's relevant type-generation or validation checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100