microsoft / microsoft/azure-pipelines-tasks
[BUG]: BicepDeploy@0 requires a parameter file
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 2.7k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 50
Description
### New issue checklist
- [x] I searched for [existing GitHub issues](https://github.com/microsoft/azure-pipelines-tasks/issues)
- [x] I read [pipeline troubleshooting guide](https://docs.microsoft.com/vsts/build-release/actions/troubleshooting)
- [x] I checked [how to collect logs](https://learn.microsoft.com/azure/devops/pipelines/troubleshooting/review-logs?view=azure-devops)
### Task name
BicepDeploy
### Task version
0.271.0
### Issue Description
I tried to use this task to deploy a Bicep file. This was purely for testing purposes and the Bicep used all hard-coded values and did not specify any parameters. Therefore, I omitted the `parametersFile` key from the task's inputs. However, the task failed with this error:
```
##[error]OperationFailed
##[error]Unsupported parameters file type: /home/vsts/work/1/s
```
### Environment type (Please select at least one enviroment where you face this issue)
- [ ] Self-Hosted
- [x] Microsoft Hosted
- [ ] VMSS Pool
- [ ] Container
### Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
### Azure DevOps Server Version (if applicable)
_No response_
### Operation system
Ubuntu-latest
### Relevant log output
```shell
n/a
```
### Full task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]
### Repro steps
```yml
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.