Azure / Azure/deployment-stacks
az stack --template-uri doesn't work for bicep template
- Dominant language
- Bicep
- Stars
- 101
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
--template-uri parameter on deployment stack command only allow to use json arm file.
**To Reproduce**
Steps to reproduce the behavior:
1. Try to deploy any bicep file from remote uri using az cli stack commands for resource group, subscription and mg:
```azcli
az stack group validate \
--name stack-armor \
--resource-group rg-experiments-01 \
--action-on-unmanage deleteResources \
--deny-settings-mode none \
--template-uri https://raw.githubusercontent.com/alefred/armor-greave/ft/stacks/demo-1/deploygroup.bicep
```
2. Error received:
> Failed to parse 'https://raw.githubusercontent.com/alefred/armor-greave/ft/stacks/demo-1/deploygroup.bicep', please check whether it is a valid JSON format
**Expected behavior**
Template uri support bicep file deployment as ARM json file deployment
**Screenshots**

**Repro Environment**
Host OS: Ubuntu 22.04.3 LTS, Linux 5.15.153.1-microsoft-standard-WSL2
Azure-cli version: 2.63.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.