Azure / Azure/bicep-deploy

bicepparam files with `using none` aren't supported

Open
#137 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
64
Forks
20
Avg merge
15h 37m
Merged PRs (30d)
4

Description

I tested v2 of the action using the following:

```yaml
operation: 'create'
type: 'deployment'
scope: 'resourceGroup'
subscription-id: 'xxx'
resource-group-name: 'xxx'
template-file: 'main.bicep'
parameters-file: 'main.bicepparam'
```

If my `bicepparam` file is configured with `using none` then I get a deployment error: The deployment 'azure-bicep-deploy' must have either the TemplateLink or Template property set.

Updating the `bicepparam` file to say `using 'main.bicep'` fixed the deployment.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the v2 deployment with the YAML shown and a parameters file using `using none`, then trace how `parameters-file` is handled during deployment creation. Compare it with the working `using 'main.bicep'` case; done means the `using none` configuration deploys without the TemplateLink or Template error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github-actions, typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.