Created
April 18, 2018 21:23
-
-
Save jc-asdf/16ff36eadc5ab187971e31a2826d3c3a to your computer and use it in GitHub Desktop.
terraform crash
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
$ terraform0.11.7 apply | |
An execution plan has been generated and is shown below. | |
Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
+ aws_s3_bucket.static | |
id: <computed> | |
acceleration_status: <computed> | |
acl: "private" | |
arn: <computed> | |
bucket: "terraform-testingasdfa" | |
bucket_domain_name: <computed> | |
cors_rule.#: "1" | |
cors_rule.0.allowed_headers.#: "1" | |
cors_rule.0.allowed_headers.0: "*" | |
cors_rule.0.allowed_methods.#: "2" | |
cors_rule.0.allowed_methods.0: "PUT" | |
cors_rule.0.allowed_methods.1: "POST" | |
cors_rule.0.allowed_origins.#: "1" | |
cors_rule.0.expose_headers.#: "1" | |
cors_rule.0.expose_headers.0: "ETag" | |
cors_rule.0.max_age_seconds: "3000" | |
force_destroy: "false" | |
hosted_zone_id: <computed> | |
region: <computed> | |
request_payer: <computed> | |
versioning.#: <computed> | |
website_domain: <computed> | |
website_endpoint: <computed> | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
Do you want to perform these actions? | |
Terraform will perform the actions described above. | |
Only 'yes' will be accepted to approve. | |
Enter a value: yes | |
aws_s3_bucket.static: Creating... | |
acceleration_status: "" => "<computed>" | |
acl: "" => "private" | |
arn: "" => "<computed>" | |
bucket: "" => "terraform-testingasdfa" | |
bucket_domain_name: "" => "<computed>" | |
cors_rule.#: "" => "1" | |
cors_rule.0.allowed_headers.#: "" => "1" | |
cors_rule.0.allowed_headers.0: "" => "*" | |
cors_rule.0.allowed_methods.#: "" => "2" | |
cors_rule.0.allowed_methods.0: "" => "PUT" | |
cors_rule.0.allowed_methods.1: "" => "POST" | |
cors_rule.0.allowed_origins.#: "" => "1" | |
cors_rule.0.expose_headers.#: "" => "1" | |
cors_rule.0.expose_headers.0: "" => "ETag" | |
cors_rule.0.max_age_seconds: "" => "3000" | |
force_destroy: "" => "false" | |
hosted_zone_id: "" => "<computed>" | |
region: "" => "<computed>" | |
request_payer: "" => "<computed>" | |
versioning.#: "" => "<computed>" | |
website_domain: "" => "<computed>" | |
website_endpoint: "" => "<computed>" | |
Error: Error applying plan: | |
1 error(s) occurred: | |
* aws_s3_bucket.static: 1 error(s) occurred: | |
* aws_s3_bucket.static: 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 | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: goroutine 147 [running]: | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsS3BucketCorsUpdate(0xc4203de3c0, 0xc4201d3ab0, 0x9, 0x1) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_s3_bucket.go:1262 +0xfec | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsS3BucketUpdate(0xc4201d3ab0, 0x33854c0, 0xc4200b0000, 0x0, 0x0) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_s3_bucket.go:568 +0x71f | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsS3BucketCreate(0xc4201d3ab0, 0x33854c0, 0xc4200b0000, 0xc4201d3ab0, 0x0) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/aws/resource_aws_s3_bucket.go:552 +0x742 | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc4205a6070, 0xc4208f66e0, 0xc42069e520, 0x33854c0, 0xc4200b0000, 0x1, 0xc420616030, 0xc420616030) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:227 +0x364 | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc4202bd2d0, 0xc4208f6690, 0xc4208f66e0, 0xc42069e520, 0x64bb000, 0x0, 0x18) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:283 +0xa4 | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc4204a26c0, 0xc42069e0e0, 0xc420482ab0, 0x0, 0x0) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-aws/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:527 +0x57 | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: reflect.Value.call(0xc4203ce660, 0xc4201662c0, 0x13, 0x37c93a6, 0x4, 0xc420277f20, 0x3, 0x3, 0x10036d3, 0xc42014b180, ...) | |
2018-04-18T14:20:31.851-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /usr/local/go/src/reflect/value.go:434 +0x905 | |
2018-04-18T14:20:31.852-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: reflect.Value.Call(0xc4203ce660, 0xc4201662c0, 0x13, 0xc4202eb720, 0x3, 0x3, 0xc4202eb720, 0xc4202eb728, 0xc42015c780) | |
2018-04-18T14:20:31.852-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /usr/local/go/src/reflect/value.go:302 +0xa4 | |
2018-04-18T14:20:31.852-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: net/rpc.(*service).call(0xc42099a280, 0xc420706050, 0xc420704340, 0xc4204d4200, 0xc4204a2c80, 0x2ea0820, 0xc42069e0e0, 0x16, 0x2ea0860, 0xc420482ab0, ...) | |
2018-04-18T14:20:31.852-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /usr/local/go/src/net/rpc/server.go:381 +0x142 | |
2018-04-18T14:20:31.852-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: created by net/rpc.(*Server).ServeCodec | |
2018-04-18T14:20:31.852-0700 [DEBUG] plugin.terraform-provider-aws_v1.15.0_x4: /usr/local/go/src/net/rpc/server.go:475 +0x36b | |
2018/04/18 14:20:31 [TRACE] root: eval: *terraform.EvalWriteState | |
2018/04/18 14:20:31 [TRACE] root: eval: *terraform.EvalApplyProvisioners | |
2018/04/18 14:20:31 [TRACE] root: eval: *terraform.EvalIf | |
2018/04/18 14:20:31 [TRACE] root: eval: *terraform.EvalWriteState | |
2018/04/18 14:20:31 [TRACE] root: eval: *terraform.EvalWriteDiff | |
2018/04/18 14:20:31 [TRACE] root: eval: *terraform.EvalApplyPost | |
2018/04/18 14:20:31 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: | |
* aws_s3_bucket.static: unexpected EOF | |
2018/04/18 14:20:31 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: | |
* aws_s3_bucket.static: unexpected EOF | |
2018/04/18 14:20:31 [TRACE] [walkApply] Exiting eval tree: aws_s3_bucket.static | |
2018/04/18 14:20:31 [TRACE] dag/walk: upstream errored, not walking "provider.aws (close)" | |
2018/04/18 14:20:31 [TRACE] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)" | |
2018/04/18 14:20:31 [TRACE] dag/walk: upstream errored, not walking "root" | |
2018-04-18T14:20:31.857-0700 [DEBUG] plugin: plugin process exited: path=/Users/me/projects/terraform/test/.terraform/plugins/darwin_amd64/terraform-provider-aws_v1.15.0_x4 | |
2018/04/18 14:20:31 [TRACE] Preserving existing state lineage "e404fbdf-012a-cc93-4eac-2aee0c9ccda1" | |
2018/04/18 14:20:31 [TRACE] Preserving existing state lineage "e404fbdf-012a-cc93-4eac-2aee0c9ccda1" | |
2018/04/18 14:20:31 [TRACE] Preserving existing state lineage "e404fbdf-012a-cc93-4eac-2aee0c9ccda1" | |
2018/04/18 14:20:31 [TRACE] Preserving existing state lineage "e404fbdf-012a-cc93-4eac-2aee0c9ccda1" | |
2018/04/18 14:20:31 [DEBUG] plugin: waiting for all plugin processes to complete... | |
2018-04-18T14:20:31.860-0700 [WARN ] plugin: error closing client during Kill: err="connection is shut down" | |
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
Terraform crashed! This is always indicative of a bug within Terraform. | |
A crash log has been placed at "crash.log" relative to your current | |
working directory. It would be immensely helpful if you could please | |
report the crash with Terraform[1] so that we can fix this. | |
When reporting bugs, please include your terraform version. That | |
information is available on the first line of crash.log. You can also | |
get it by running 'terraform --version' on the command line. | |
[1]: https://github.com/hashicorp/terraform/issues | |
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment