This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ PACKER_LOG=1 packer-1.2 build -var-file=./vars/prod_xenial_build.json debug.json | |
2018/04/27 13:05:56 [INFO] Packer version: 1.2.2 | |
2018/04/27 13:05:56 Packer Target OS/Arch: darwin amd64 | |
2018/04/27 13:05:56 Built with Go Version: go1.10 | |
2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg | |
2018/04/27 13:05:56 Using internal plugin for azure-arm | |
2018/04/27 13:05:56 Using internal plugin for ncloud | |
2018/04/27 13:05:56 Using internal plugin for null | |
2018/04/27 13:05:56 Using internal plugin for virtualbox-ovf | |
2018/04/27 13:05:56 Using internal plugin for scaleway |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [ | |
{ | |
"type": "amazon-ebs", | |
"region": "us-west-2", | |
"instance_type": "t2.micro", | |
"ssh_username": "ubuntu", | |
"ami_description": "{{user `ami_description`}}", | |
"ami_name": "{{user `ami_name_prefix`}}_ubuntu-{{user `ami_os_string`}}-amd64-server_{{timestamp}}", | |
"profile": "prod", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Statement": [ | |
{ | |
"Sid": "PackerSecurityGroupAccess", | |
"Action": [ | |
"ec2:CreateSecurityGroup", | |
"ec2:DeleteSecurityGroup", | |
"ec2:DescribeSecurityGroups", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupIngress" |