Skip to content

[BUG]: BicepDeploy@0 requires a parameter file #22016

@nnellans

Description

@nnellans

New issue checklist

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
  • 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

n/a

Full task logs with system.debug enabled

Details
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions