Skip to content

Instantly share code, notes, and snippets.

{
"variables": {
"aws_access_key": "{{env `AWS_ACCESS_KEY`}}",
"aws_secret_key": "{{env `AWS_SECRET_KEY`}}",
"iam_instance_profile": "api-stage"
},
"provisioners": [
{
"type": "ansible",
"playbook_file": "ansible/site.yml",
$ PACKER_LOG=1 packer build packer/test.json
2018/05/06 10:52:41 [INFO] Packer version: 1.2.3
2018/05/06 10:52:41 Packer Target OS/Arch: darwin amd64
2018/05/06 10:52:41 Built with Go Version: go1.10.1
2018/05/06 10:52:41 Detected home directory from env var: /Users/username
2018/05/06 10:52:41 Using internal plugin for alicloud-ecs
2018/05/06 10:52:41 Using internal plugin for amazon-ebssurrogate
2018/05/06 10:52:41 Using internal plugin for amazon-ebsvolume
2018/05/06 10:52:41 Using internal plugin for hyperv-vmcx
2018/05/06 10:52:41 Using internal plugin for profitbricks