Skip to content

Instantly share code, notes, and snippets.

@liquid-sky
Created September 13, 2016 14:52
Show Gist options
  • Save liquid-sky/a042b8910b7a5abf0647849b2c894440 to your computer and use it in GitHub Desktop.
Save liquid-sky/a042b8910b7a5abf0647849b2c894440 to your computer and use it in GitHub Desktop.
terraform debug log
2016/09/13 15:32:22 [DEBUG] plugin: terraform: aws-provider (internal) 2016/09/13 15:32:22 [DEBUG] Describing AMI "ami-e3d6ab90" to get root block device name
2016/09/13 15:32:22 [DEBUG] plugin: terraform: aws-provider (internal) 2016/09/13 15:32:22 [DEBUG] [aws-sdk-go] DEBUG: Request ec2/DescribeImages Details:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: ---[ REQUEST POST-SIGN ]-----------------------------
2016/09/13 15:32:22 [DEBUG] plugin: terraform: POST / HTTP/1.1
....
2016/09/13 15:32:22 [DEBUG] plugin: terraform: User-Agent: terraform/0.7.3 aws-sdk-go/1.4.2 (go1.7; darwin; amd64)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Content-Length: 63
....
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2016/09/13 15:32:22 [DEBUG] plugin: terraform: X-Amz-Date: 20160913T143222Z
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Accept-Encoding: gzip
2016/09/13 15:32:22 [DEBUG] plugin: terraform:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Action=DescribeImages&ImageId.1=ami-e3d6ab90&Version=2016-04-01
2016/09/13 15:32:22 [DEBUG] plugin: terraform: -----------------------------------------------------
2016/09/13 15:32:22 [DEBUG] plugin: terraform: aws-provider (internal) 2016/09/13 15:32:22 [DEBUG] [aws-sdk-go] DEBUG: Response ec2/DescribeImages Details:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: ---[ RESPONSE ]--------------------------------------
2016/09/13 15:32:22 [DEBUG] plugin: terraform: HTTP/1.1 200 OK
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Connection: close
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Transfer-Encoding: chunked
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Content-Type: text/xml;charset=UTF-8
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Date: Tue, 13 Sep 2016 14:32:22 GMT
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Server: AmazonEC2
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Vary: Accept-Encoding
2016/09/13 15:32:22 [DEBUG] plugin: terraform:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: 6d0
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <?xml version="1.0" encoding="UTF-8"?>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2016-04-01/">
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <requestId>4e8249cd-dd7f-4208-8953-d0ad04df67a2</requestId>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <imagesSet>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <item>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <imageId>ami-e3d6ab90</imageId>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <imageLocation>595879546273/CoreOS-stable-1122.2.0-hvm</imageLocation>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <imageState>available</imageState>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <imageOwnerId>595879546273</imageOwnerId>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <creationDate>2016-09-06T16:29:45.000Z</creationDate>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <isPublic>true</isPublic>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <architecture>x86_64</architecture>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <imageType>machine</imageType>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <sriovNetSupport>simple</sriovNetSupport>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <name>CoreOS-stable-1122.2.0-hvm</name>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <description>CoreOS stable 1122.2.0 (HVM)</description>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <rootDeviceType>ebs</rootDeviceType>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <rootDeviceName>/dev/xvda</rootDeviceName>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <blockDeviceMapping>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <item>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <deviceName>/dev/xvda</deviceName>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <ebs>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <snapshotId>snap-075341f6</snapshotId>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <volumeSize>8</volumeSize>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <deleteOnTermination>true</deleteOnTermination>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <volumeType>standard</volumeType>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <encrypted>false</encrypted>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </ebs>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </item>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <item>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <deviceName>/dev/xvdb</deviceName>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <virtualName>ephemeral0</virtualName>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </item>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </blockDeviceMapping>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <virtualizationType>hvm</virtualizationType>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: <hypervisor>xen</hypervisor>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </item>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </imagesSet>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: </DescribeImagesResponse>
2016/09/13 15:32:22 [DEBUG] plugin: terraform: 0
2016/09/13 15:32:22 [DEBUG] plugin: terraform:
2016/09/13 15:32:22 [DEBUG] plugin: terraform:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: -----------------------------------------------------
2016/09/13 15:32:22 [DEBUG] plugin: terraform: Error applying plan:
1 error(s) occurred:
* aws_spot_fleet_request.spark: unexpected EOF
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
panic: interface conversion: interface is nil, not string
2016/09/13 15:32:22 [DEBUG] plugin: terraform:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: goroutine 351 [running]:
2016/09/13 15:32:22 [DEBUG] plugin: terraform: panic(0x24cf080, 0xc421297e80)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: /usr/local/Cellar/go/1.7/libexec/src/runtime/panic.go:500 +0x1a1
2016/09/13 15:32:22 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/builtin/providers/aws.hashEphemeralBlockDevice(0x2423320, 0xc4217f5a70, 0xc420337898)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: /private/tmp/terraform-20160906-36581-gp1gpz/terraform-0.7.3/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_fleet_request.go:955 +0x213
2016/09/13 15:32:22 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Set).hash(0xc420337880, 0x2423320, 0xc4217f5a70, 0x0, 0xf00000c420154800)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: /private/tmp/terraform-20160906-36581-gp1gpz/terraform-0.7.3/src/github.com/hashicorp/terraform/helper/schema/set.go:180 +0x3d
2016/09/13 15:32:22 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Set).add(0xc420337880, 0x2423320, 0xc4217f5a70, 0x40aeb00, 0xc420a51d80, 0xc420d5f1a8)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: /private/tmp/terraform-20160906-36581-gp1gpz/terraform-0.7.3/src/github.com/hashicorp/terraform/helper/schema/set.go:167 +0x81
2016/09/13 15:32:22 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Set).Add(0xc420337880, 0x2423320, 0xc4217f5a70)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: /private/tmp/terraform-20160906-36581-gp1gpz/terraform-0.7.3/src/github.com/hashicorp/terraform/helper/schema/set.go:69 +0x44
2016/09/13 15:32:22 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/builtin/providers/aws.ebsBlockDevicesToSet(0xc420131c40, 0x3, 0x3, 0xc421291018, 0xc420337860)
2016/09/13 15:32:22 [DEBUG] plugin: terraform: /private/tmp/terraform-20160906-36581-gp1gpz/terraform-0.7.3/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_fleet_request.go:848 +0x649
2016/09/13 15:32:22 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/builtin/providers/aws.launchSpecToMap(0xc42087dd40, 0xc421291018, 0xc4208a6178)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment