decompile failure - Sequence contains more than one element
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
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
`Bicep CLI version 0.28.1 (ba1e9f8c1e)`
**Describe the bug**
A clear and concise description of what the bug is vs what you expected to happen
I'm trying to convert the ARM template from [Step 1 here](https://learn.microsoft.com/en-us/azure-stack/hci/guided-quick-deploy-eval?tabs=global-admin&tutorial-step=1) to Bicep
```
az bicep decompile --file template.json
```
It fails with `Decompilation failed with fatal error "Sequence contains more than one element"`
Contributor guide
Research direction
Reproduce the failure with `az bicep decompile --file template.json` using the ARM template from Step 1 of the linked Azure Stack HCI guide. Trace the decompilation path that produces `Sequence contains more than one element`; done means the template decompiles without that fatal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100