Check, Get, and Put Packer Resources
resource_types:
- name: packer
type: docker-image
source:
repository: jcderr/concourse-packer-resource
resources:
- name: packer
type: packer
source:
aws_access_key_id: ...
aws_secret_access_key: ...
region: us-east-1
aws_access_key_id
: Required. AWS SDK Access Key ID.aws_secret_access_key
: Required. AWS SDK Secret Access Key.region
: Optional. AWS Region. (default: us-east-1)
Builds with Packer.
filepath
: Required. Path to Packer manifest JSON file.vars
: Optional. Any additional vars that must be passed at build time.
resource_types:
- name: packer
type: docker-image
source:
repository: jcderr/concourse-packer-resource
resources:
- name: packer
type: packer
source:
aws_access_key_id: ...
aws_secret_access_key: ...
region: us-east-1
---
- put: packer
params:
filepath: src/packer/build.json
vars:
- name: base_ami
value: ami-123456
- name: template_name
value: my-new-ami