Closed toast-gear closed 2 years ago
This may not be accurate then. I had issues with the below. This limitation really sucks as it makes arguments far less readable in the pipeline.
- name: Build
uses: hashicorp/packer-github-actions@master
with:
command: build
arguments: |
-on-error=abort
-var security_group_id=sg-123123121231
-var subnet_id=subnet-123dsad4sa54dsa
-var tags="{ sandbox=${{ github.event.inputs.sandbox }} }"
target: images/linux-amzn2/github_agent.linux.pkr.hcl
env:
PACKER_LOG: 1
Raised an issue against https://github.com/hashicorp/packer-github-actions/issues/37, closing as a result.
I am able to provide arguments over multiple lines e.g.