Last active
December 4, 2017 20:22
-
-
Save mwhooker/94c812c248bfdb4e0a109228d110af9e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"Reservations": [ | |
{ | |
"OwnerId": "596968041798", | |
"ReservationId": "r-0c36780ea7b7baeb9", | |
"Groups": [], | |
"Instances": [ | |
{ | |
"Monitoring": { | |
"State": "disabled" | |
}, | |
"PublicDnsName": "ec2-52-90-156-4.compute-1.amazonaws.com", | |
"RootDeviceType": "ebs", | |
"State": { | |
"Code": 64, | |
"Name": "stopping" | |
}, | |
"EbsOptimized": false, | |
"LaunchTime": "2017-12-04T20:15:02.000Z", | |
"PublicIpAddress": "52.90.156.4", | |
"PrivateIpAddress": "172.31.10.66", | |
"ProductCodes": [], | |
"VpcId": "vpc-1b1e387c", | |
"StateTransitionReason": "User initiated (2017-12-04 20:15:39 GMT)", | |
"InstanceId": "i-0897e8dae176a8748", | |
"EnaSupport": true, | |
"ImageId": "ami-c998b6b2", | |
"PrivateDnsName": "ip-172-31-10-66.ec2.internal", | |
"KeyName": "packer_5a25acc1-593d-ebca-cc9f-99e38cb8df31", | |
"SecurityGroups": [ | |
{ | |
"GroupName": "packer_5a25acc4-2b4c-111e-4513-013bcba62c50", | |
"GroupId": "sg-08f88e7d" | |
} | |
], | |
"ClientToken": "", | |
"SubnetId": "subnet-077fde4e", | |
"InstanceType": "c5.large", | |
"NetworkInterfaces": [ | |
{ | |
"Status": "in-use", | |
"MacAddress": "0a:b7:73:b0:eb:5a", | |
"SourceDestCheck": true, | |
"VpcId": "vpc-1b1e387c", | |
"Description": "", | |
"Association": { | |
"PublicIp": "52.90.156.4", | |
"PublicDnsName": "ec2-52-90-156-4.compute-1.amazonaws.com", | |
"IpOwnerId": "amazon" | |
}, | |
"NetworkInterfaceId": "eni-e7cc6255", | |
"PrivateIpAddresses": [ | |
{ | |
"PrivateDnsName": "ip-172-31-10-66.ec2.internal", | |
"Association": { | |
"PublicIp": "52.90.156.4", | |
"PublicDnsName": "ec2-52-90-156-4.compute-1.amazonaws.com", | |
"IpOwnerId": "amazon" | |
}, | |
"Primary": true, | |
"PrivateIpAddress": "172.31.10.66" | |
} | |
], | |
"PrivateDnsName": "ip-172-31-10-66.ec2.internal", | |
"Attachment": { | |
"Status": "attached", | |
"DeviceIndex": 0, | |
"DeleteOnTermination": true, | |
"AttachmentId": "eni-attach-d8c0811e", | |
"AttachTime": "2017-12-04T20:15:02.000Z" | |
}, | |
"Groups": [ | |
{ | |
"GroupName": "packer_5a25acc4-2b4c-111e-4513-013bcba62c50", | |
"GroupId": "sg-08f88e7d" | |
} | |
], | |
"Ipv6Addresses": [], | |
"SubnetId": "subnet-077fde4e", | |
"OwnerId": "596968041798", | |
"PrivateIpAddress": "172.31.10.66" | |
} | |
], | |
"SourceDestCheck": true, | |
"Placement": { | |
"Tenancy": "default", | |
"GroupName": "", | |
"AvailabilityZone": "us-east-1b" | |
}, | |
"Hypervisor": "xen", | |
"BlockDeviceMappings": [ | |
{ | |
"DeviceName": "/dev/sda1", | |
"Ebs": { | |
"Status": "attached", | |
"DeleteOnTermination": true, | |
"VolumeId": "vol-06e2adcf124d0bceb", | |
"AttachTime": "2017-12-04T20:15:03.000Z" | |
} | |
} | |
], | |
"Architecture": "x86_64", | |
"StateReason": { | |
"Message": "Client.UserInitiatedShutdown: User initiated shutdown", | |
"Code": "Client.UserInitiatedShutdown" | |
}, | |
"RootDeviceName": "/dev/sda1", | |
"VirtualizationType": "hvm", | |
"Tags": [ | |
{ | |
"Value": "Packer Builder", | |
"Key": "Name" | |
} | |
], | |
"AmiLaunchIndex": 0 | |
} | |
] | |
} | |
] | |
} |
This file contains hidden or 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
2017/12/04 12:14:57 [INFO] Packer version: 1.1.3-dev (897072284+CHANGES) | |
2017/12/04 12:14:57 Packer Target OS/Arch: darwin amd64 | |
2017/12/04 12:14:57 Built with Go Version: go1.9 | |
2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 Using internal plugin for oneandone | |
2017/12/04 12:14:57 Using internal plugin for openstack | |
2017/12/04 12:14:57 Using internal plugin for virtualbox-iso | |
2017/12/04 12:14:57 Using internal plugin for amazon-instance | |
2017/12/04 12:14:57 Using internal plugin for hyperv-vmcx | |
2017/12/04 12:14:57 Using internal plugin for parallels-pvm | |
2017/12/04 12:14:57 Using internal plugin for lxc | |
2017/12/04 12:14:57 Using internal plugin for alicloud-ecs | |
2017/12/04 12:14:57 Using internal plugin for amazon-ebs | |
2017/12/04 12:14:57 Using internal plugin for docker | |
2017/12/04 12:14:57 Using internal plugin for hyperv-iso | |
2017/12/04 12:14:57 Using internal plugin for file | |
2017/12/04 12:14:57 Using internal plugin for digitalocean | |
2017/12/04 12:14:57 Using internal plugin for googlecompute | |
2017/12/04 12:14:57 Using internal plugin for profitbricks | |
2017/12/04 12:14:57 Using internal plugin for vmware-vmx | |
2017/12/04 12:14:57 Using internal plugin for vmware-iso | |
2017/12/04 12:14:57 Using internal plugin for amazon-ebssurrogate | |
2017/12/04 12:14:57 Using internal plugin for azure-arm | |
2017/12/04 12:14:57 Using internal plugin for cloudstack | |
2017/12/04 12:14:57 Using internal plugin for qemu | |
2017/12/04 12:14:57 Using internal plugin for parallels-iso | |
2017/12/04 12:14:57 Using internal plugin for virtualbox-ovf | |
2017/12/04 12:14:57 Using internal plugin for amazon-chroot | |
2017/12/04 12:14:57 Using internal plugin for amazon-ebsvolume | |
2017/12/04 12:14:57 Using internal plugin for lxd | |
2017/12/04 12:14:57 Using internal plugin for null | |
2017/12/04 12:14:57 Using internal plugin for oracle-oci | |
2017/12/04 12:14:57 Using internal plugin for triton | |
2017/12/04 12:14:57 Using internal plugin for file | |
2017/12/04 12:14:57 Using internal plugin for shell | |
2017/12/04 12:14:57 Using internal plugin for shell-local | |
2017/12/04 12:14:57 Using internal plugin for ansible | |
2017/12/04 12:14:57 Using internal plugin for ansible-local | |
2017/12/04 12:14:57 Using internal plugin for chef-client | |
2017/12/04 12:14:57 Using internal plugin for puppet-server | |
2017/12/04 12:14:57 Using internal plugin for chef-solo | |
2017/12/04 12:14:57 Using internal plugin for powershell | |
2017/12/04 12:14:57 Using internal plugin for puppet-masterless | |
2017/12/04 12:14:57 Using internal plugin for salt-masterless | |
2017/12/04 12:14:57 Using internal plugin for windows-shell | |
2017/12/04 12:14:57 Using internal plugin for converge | |
2017/12/04 12:14:57 Using internal plugin for windows-restart | |
2017/12/04 12:14:57 Using internal plugin for vagrant-cloud | |
2017/12/04 12:14:57 Using internal plugin for atlas | |
2017/12/04 12:14:57 Using internal plugin for checksum | |
2017/12/04 12:14:57 Using internal plugin for docker-import | |
2017/12/04 12:14:57 Using internal plugin for manifest | |
2017/12/04 12:14:57 Using internal plugin for googlecompute-export | |
2017/12/04 12:14:57 Using internal plugin for vsphere-template | |
2017/12/04 12:14:57 Using internal plugin for alicloud-import | |
2017/12/04 12:14:57 Using internal plugin for amazon-import | |
2017/12/04 12:14:57 Using internal plugin for docker-save | |
2017/12/04 12:14:57 Using internal plugin for vagrant | |
2017/12/04 12:14:57 Using internal plugin for shell-local | |
2017/12/04 12:14:57 Using internal plugin for vsphere | |
2017/12/04 12:14:57 Using internal plugin for artifice | |
2017/12/04 12:14:57 Using internal plugin for compress | |
2017/12/04 12:14:57 Using internal plugin for docker-push | |
2017/12/04 12:14:57 Using internal plugin for docker-tag | |
2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 Attempting to open config file: /Users/mwhooker/.packerconfig | |
2017/12/04 12:14:57 [WARN] Config file doesn't exist: /Users/mwhooker/.packerconfig | |
2017/12/04 12:14:57 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[file:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file null:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null lxc:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc docker:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker digitalocean:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean amazon-ebs:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs alicloud-ecs:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs virtualbox-ovf:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf triton:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton openstack:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack hyperv-iso:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso profitbricks:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks amazon-ebssurrogate:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate cloudstack:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack amazon-chroot:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-instance:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance googlecompute:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute oneandone:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone vmware-iso:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso azure-arm:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-ebsvolume:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume vmware-vmx:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx parallels-pvm:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm lxd:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd hyperv-vmcx:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx qemu:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu parallels-iso:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso oracle-oci:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci virtualbox-iso:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso] PostProcessors:map[alicloud-import:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import atlas:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas amazon-import:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vsphere:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress docker-push:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push checksum:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum googlecompute-export:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere-template:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template vagrant:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant shell-local:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local artifice:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-tag:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vagrant-cloud:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-import:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import manifest:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-save:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save] Provisioners:map[ansible:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible powershell:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-solo:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-masterless:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless windows-shell:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell file:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file chef-client:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client ansible-local:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local converge:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge windows-restart:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-server:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/Users/mwhooker/go/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless]} | |
2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 Setting cache directory: /Users/mwhooker/dev/packertest/packer_cache | |
2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 Loading builder: amazon-ebs | |
2017/12/04 12:14:57 Plugin could not be found. Checking same directory as executable. | |
2017/12/04 12:14:57 Current exe path: /Users/mwhooker/go/bin/packer | |
2017/12/04 12:14:57 Creating plugin client for path: /Users/mwhooker/go/bin/packer | |
2017/12/04 12:14:57 Starting plugin: /Users/mwhooker/go/bin/packer []string{"/Users/mwhooker/go/bin/packer", "plugin", "packer-builder-amazon-ebs"} | |
2017/12/04 12:14:57 Waiting for RPC address for: /Users/mwhooker/go/bin/packer | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 [INFO] Packer version: 1.1.3-dev (897072284+CHANGES) | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Packer Target OS/Arch: darwin amd64 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Built with Go Version: go1.9 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Attempting to open config file: /Users/mwhooker/.packerconfig | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 [WARN] Config file doesn't exist: /Users/mwhooker/.packerconfig | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Setting cache directory: /Users/mwhooker/dev/packertest/packer_cache | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 args: []string{"packer-builder-amazon-ebs"} | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Plugin minimum port: 10000 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Plugin maximum port: 25000 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Plugin address: unix /var/folders/yy/ff0tkhr141xdxvxf5fz43kmw0000gn/T/packer-plugin232226113 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Waiting for connection... | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Serving a plugin connection... | |
2017/12/04 12:14:57 Loading provisioner: shell | |
2017/12/04 12:14:57 Plugin could not be found. Checking same directory as executable. | |
2017/12/04 12:14:57 Current exe path: /Users/mwhooker/go/bin/packer | |
2017/12/04 12:14:57 Creating plugin client for path: /Users/mwhooker/go/bin/packer | |
2017/12/04 12:14:57 Starting plugin: /Users/mwhooker/go/bin/packer []string{"/Users/mwhooker/go/bin/packer", "plugin", "packer-provisioner-shell"} | |
2017/12/04 12:14:57 Waiting for RPC address for: /Users/mwhooker/go/bin/packer | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 [INFO] Packer version: 1.1.3-dev (897072284+CHANGES) | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Packer Target OS/Arch: darwin amd64 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Built with Go Version: go1.9 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Attempting to open config file: /Users/mwhooker/.packerconfig | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 [WARN] Config file doesn't exist: /Users/mwhooker/.packerconfig | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Setting cache directory: /Users/mwhooker/dev/packertest/packer_cache | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 args: []string{"packer-provisioner-shell"} | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Detected home directory from env var: /Users/mwhooker | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Plugin minimum port: 10000 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Plugin maximum port: 25000 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Plugin address: unix /var/folders/yy/ff0tkhr141xdxvxf5fz43kmw0000gn/T/packer-plugin898352189 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Waiting for connection... | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Serving a plugin connection... | |
2017/12/04 12:14:57 ui: amazon-ebs output will be in this color. | |
2017/12/04 12:14:57 ui: | |
2017/12/04 12:14:57 Build debug mode: false | |
2017/12/04 12:14:57 Force build: false | |
2017/12/04 12:14:57 On error: | |
2017/12/04 12:14:57 Preparing build: amazon-ebs | |
amazon-ebs output will be in this color. | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Found region us-east-1 | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-east-1 SecretKey: SkipValidation:false Token: session:0xc420447500} AMIConfig:{AMIName:packer-c5-ami AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIENASupport:true AMISriovNetSupport:true AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:c5.large RunTags:map[] SourceAmi:ami-c998b6b2 SourceAmiFilter:{Filters:map[] Owners:[] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-077fde4e TemporaryKeyPairName:packer_5a25acc1-593d-ebca-cc9f-99e38cb8df31 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:true SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername: SSHProxyPassword: WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x186ba60] UserVariables:map[] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/mwhooker/dev/packertest/5627.json}} | |
2017/12/04 12:14:57 Waiting on builds to complete... | |
2017/12/04 12:14:57 Starting build run: amazon-ebs | |
2017/12/04 12:14:57 Running builder: amazon-ebs | |
2017/12/04 12:14:57 [INFO] (telemetry) Starting builder amazon-ebs | |
2017/12/04 12:14:57 packer: 2017/12/04 12:14:57 [INFO] Finding AZ and VpcId for the given subnet 'subnet-077fde4e' | |
2017/12/04 12:14:58 packer: 2017/12/04 12:14:58 [INFO] AvailabilityZone found: 'us-east-1b' | |
2017/12/04 12:14:58 packer: 2017/12/04 12:14:58 [INFO] VpcId found: 'vpc-1b1e387c' | |
2017/12/04 12:14:58 ui: ==> amazon-ebs: Prevalidating AMI Name: packer-c5-ami | |
==> amazon-ebs: Prevalidating AMI Name: packer-c5-ami | |
2017/12/04 12:15:00 packer: 2017/12/04 12:15:00 Using AMI Filters { | |
2017/12/04 12:15:00 packer: ImageIds: ["ami-c998b6b2"] | |
2017/12/04 12:15:00 packer: } | |
2017/12/04 12:15:00 ui: amazon-ebs: Found Image ID: ami-c998b6b2 | |
amazon-ebs: Found Image ID: ami-c998b6b2 | |
2017/12/04 12:15:00 ui: ==> amazon-ebs: Creating temporary keypair: packer_5a25acc1-593d-ebca-cc9f-99e38cb8df31 | |
==> amazon-ebs: Creating temporary keypair: packer_5a25acc1-593d-ebca-cc9f-99e38cb8df31 | |
2017/12/04 12:15:00 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5a25acc4-2b4c-111e-4513-013bcba62c50 | |
==> amazon-ebs: Creating temporary security group for this instance: packer_5a25acc4-2b4c-111e-4513-013bcba62c50 | |
2017/12/04 12:15:00 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group... | |
==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group... | |
2017/12/04 12:15:01 packer: 2017/12/04 12:15:01 [DEBUG] Waiting for temporary security group: sg-08f88e7d | |
2017/12/04 12:15:01 packer: 2017/12/04 12:15:01 [DEBUG] Found security group sg-08f88e7d | |
2017/12/04 12:15:01 ui: ==> amazon-ebs: Launching a source AWS instance... | |
==> amazon-ebs: Launching a source AWS instance... | |
2017/12/04 12:15:01 ui: ==> amazon-ebs: Adding tags to source instance | |
==> amazon-ebs: Adding tags to source instance | |
2017/12/04 12:15:01 ui: amazon-ebs: Adding tag: "Name": "Packer Builder" | |
amazon-ebs: Adding tag: "Name": "Packer Builder" | |
2017/12/04 12:15:02 ui: amazon-ebs: Instance ID: i-0897e8dae176a8748 | |
amazon-ebs: Instance ID: i-0897e8dae176a8748 | |
2017/12/04 12:15:02 ui: ==> amazon-ebs: Waiting for instance (i-0897e8dae176a8748) to become ready... | |
2017/12/04 12:15:02 packer: 2017/12/04 12:15:02 Waiting for state to become: running | |
2017/12/04 12:15:02 packer: 2017/12/04 12:15:02 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/12/04 12:15:02 packer: 2017/12/04 12:15:02 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
==> amazon-ebs: Waiting for instance (i-0897e8dae176a8748) to become ready... | |
2017/12/04 12:15:16 packer: 2017/12/04 12:15:16 [INFO] Not using winrm communicator, skipping get password... | |
2017/12/04 12:15:16 packer: 2017/12/04 12:15:16 [INFO] Waiting for SSH, up to timeout: 5m0s | |
2017/12/04 12:15:16 ui: ==> amazon-ebs: Waiting for SSH to become available... | |
==> amazon-ebs: Waiting for SSH to become available... | |
2017/12/04 12:15:31 packer: 2017/12/04 12:15:31 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.90.156.4:22: i/o timeout | |
2017/12/04 12:15:37 packer: 2017/12/04 12:15:37 [INFO] Attempting SSH connection... | |
2017/12/04 12:15:37 packer: 2017/12/04 12:15:37 reconnecting to TCP connection for SSH | |
2017/12/04 12:15:37 packer: 2017/12/04 12:15:37 handshaking with SSH | |
2017/12/04 12:15:37 packer: 2017/12/04 12:15:37 handshake complete! | |
2017/12/04 12:15:37 packer: 2017/12/04 12:15:37 opening new ssh session | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 [INFO] agent forwarding enabled | |
==> amazon-ebs: Connected to SSH! | |
2017/12/04 12:15:38 ui: ==> amazon-ebs: Connected to SSH! | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 Running the provision hook | |
2017/12/04 12:15:38 [INFO] (telemetry) Starting provisioner shell | |
2017/12/04 12:15:38 ui: ==> amazon-ebs: Provisioning with shell script: /var/folders/yy/ff0tkhr141xdxvxf5fz43kmw0000gn/T/packer-shell841492600 | |
==> amazon-ebs: Provisioning with shell script: /var/folders/yy/ff0tkhr141xdxvxf5fz43kmw0000gn/T/packer-shell841492600 | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 Opening /var/folders/yy/ff0tkhr141xdxvxf5fz43kmw0000gn/T/packer-shell841492600 for reading | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 [INFO] 38 bytes written for 'uploadData' | |
2017/12/04 12:15:38 [INFO] 38 bytes written for 'uploadData' | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 opening new ssh session | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 Starting remote scp process: scp -vt /tmp | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 Started SCP session, beginning transfers... | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 Copying input data into temporary file so we can read the length | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 [DEBUG] scp: Uploading script_4234.sh: perms=C0644 size=38 | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 SCP session complete, closing stdin pipe. | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 Waiting for SSH session to complete. | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 scp stderr (length 30): Sink: C0644 38 script_4234.sh | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 opening new ssh session | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 starting remote command: chmod 0755 /tmp/script_4234.sh | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/12/04 12:15:38 [INFO] RPC client: Communicator ended with: 0 | |
2017/12/04 12:15:38 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 [INFO] RPC client: Communicator ended with: 0 | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 opening new ssh session | |
2017/12/04 12:15:38 packer: 2017/12/04 12:15:38 starting remote command: chmod +x /tmp/script_4234.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_4234.sh | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/12/04 12:15:39 [INFO] 21 bytes written for 'stdout' | |
2017/12/04 12:15:39 [INFO] 0 bytes written for 'stderr' | |
2017/12/04 12:15:39 ui: amazon-ebs: SSH test successful | |
amazon-ebs: SSH test successful | |
2017/12/04 12:15:39 [INFO] RPC client: Communicator ended with: 0 | |
2017/12/04 12:15:39 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 [INFO] 0 bytes written for 'stderr' | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 [INFO] 21 bytes written for 'stdout' | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 [INFO] RPC client: Communicator ended with: 0 | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 opening new ssh session | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 starting remote command: rm -f /tmp/script_4234.sh | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/12/04 12:15:39 [INFO] RPC client: Communicator ended with: 0 | |
2017/12/04 12:15:39 [INFO] RPC endpoint: Communicator ended with: 0 | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 [INFO] RPC client: Communicator ended with: 0 | |
2017/12/04 12:15:39 [INFO] (telemetry) ending shell | |
2017/12/04 12:15:39 ui: ==> amazon-ebs: Stopping the source instance... | |
==> amazon-ebs: Stopping the source instance... | |
2017/12/04 12:15:39 ui: amazon-ebs: Stopping instance, attempt 1 | |
amazon-ebs: Stopping instance, attempt 1 | |
2017/12/04 12:15:39 ui: ==> amazon-ebs: Waiting for the instance to stop... | |
==> amazon-ebs: Waiting for the instance to stop... | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 Waiting for state to become: stopped | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/12/04 12:15:39 packer: 2017/12/04 12:15:39 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
==> amazon-ebs: Enabling Enhanced Networking (SR-IOV)... | |
2017/12/04 12:15:53 ui: ==> amazon-ebs: Enabling Enhanced Networking (SR-IOV)... | |
2017/12/04 12:15:53 ui: ==> amazon-ebs: Enabling Enhanced Networking (ENA)... | |
==> amazon-ebs: Enabling Enhanced Networking (ENA)... | |
2017/12/04 12:15:53 ui: ==> amazon-ebs: Creating the AMI: packer-c5-ami | |
==> amazon-ebs: Creating the AMI: packer-c5-ami | |
amazon-ebs: AMI: ami-ec7b1c96 | |
2017/12/04 12:15:53 ui: amazon-ebs: AMI: ami-ec7b1c96 | |
2017/12/04 12:15:53 ui: ==> amazon-ebs: Waiting for AMI to become ready... | |
==> amazon-ebs: Waiting for AMI to become ready... | |
2017/12/04 12:15:53 packer: 2017/12/04 12:15:53 Waiting for state to become: available | |
2017/12/04 12:15:53 packer: 2017/12/04 12:15:53 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/12/04 12:15:53 packer: 2017/12/04 12:15:53 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
==> amazon-ebs: Terminating the source AWS instance... | |
2017/12/04 12:16:35 ui: ==> amazon-ebs: Terminating the source AWS instance... | |
2017/12/04 12:16:35 packer: 2017/12/04 12:16:35 Waiting for state to become: terminated | |
2017/12/04 12:16:35 packer: 2017/12/04 12:16:35 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2017/12/04 12:16:35 packer: 2017/12/04 12:16:35 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
==> amazon-ebs: Cleaning up any extra volumes... | |
2017/12/04 12:16:42 ui: ==> amazon-ebs: Cleaning up any extra volumes... | |
2017/12/04 12:16:42 ui: ==> amazon-ebs: No volumes to clean up, skipping | |
==> amazon-ebs: No volumes to clean up, skipping | |
2017/12/04 12:16:42 ui: ==> amazon-ebs: Deleting temporary security group... | |
==> amazon-ebs: Deleting temporary security group... | |
2017/12/04 12:16:42 ui: ==> amazon-ebs: Deleting temporary keypair... | |
==> amazon-ebs: Deleting temporary keypair... | |
2017/12/04 12:16:42 [INFO] (telemetry) ending amazon-ebs | |
2017/12/04 12:16:42 ui: Build 'amazon-ebs' finished. | |
2017/12/04 12:16:42 Builds completed. Waiting on interrupt barrier... | |
Build 'amazon-ebs' finished. | |
2017/12/04 12:16:42 ui: | |
==> Builds finished. The artifacts of successful builds are: | |
2017/12/04 12:16:42 machine readable: amazon-ebs,artifact-count []string{"1"} | |
==> Builds finished. The artifacts of successful builds are: | |
2017/12/04 12:16:42 machine readable: amazon-ebs,artifact []string{"0", "builder-id", "mitchellh.amazonebs"} | |
2017/12/04 12:16:42 machine readable: amazon-ebs,artifact []string{"0", "id", "us-east-1:ami-ec7b1c96"} | |
2017/12/04 12:16:42 machine readable: amazon-ebs,artifact []string{"0", "string", "AMIs were created:\nus-east-1: ami-ec7b1c96\n"} | |
2017/12/04 12:16:42 machine readable: amazon-ebs,artifact []string{"0", "files-count", "0"} | |
2017/12/04 12:16:42 machine readable: amazon-ebs,artifact []string{"0", "end"} | |
2017/12/04 12:16:42 ui: --> amazon-ebs: AMIs were created: | |
us-east-1: ami-ec7b1c96 | |
2017/12/04 12:16:42 [INFO] (telemetry) Finalizing. | |
--> amazon-ebs: AMIs were created: | |
us-east-1: ami-ec7b1c96 | |
2017/12/04 12:16:43 waiting for all plugin processes to complete... | |
2017/12/04 12:16:43 /Users/mwhooker/go/bin/packer: plugin process exited | |
2017/12/04 12:16:43 /Users/mwhooker/go/bin/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment