Created
April 26, 2018 11:18
-
-
Save Zordrak/e3cfaa83f2dcc486403304b5aa77d21d to your computer and use it in GitHub Desktop.
TF Debug Log for ELB Access Log Configuration Bug
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
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: ----------------------------------------------------- | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: 2018/04/26 12:07:03 [DEBUG] [aws-sdk-go] <?xml version="1.0" encoding="UTF-8"?> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <DescribeAccountAttributesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <requestId>a9ff8883-739d-4ffa-80dc-cc9d122e0a4f</requestId> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <accountAttributeSet> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <item> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <attributeName>supported-platforms</attributeName> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <attributeValueSet> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <item> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <attributeValue>VPC</attributeValue> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </item> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </attributeValueSet> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </item> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </accountAttributeSet> | |
2018-04-26T12:07:03.864+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </DescribeAccountAttributesResponse> | |
aws_elb.publishing_live: Modifying... (ID: elb) | |
access_logs.0.bucket: "<old_bucket_name>" => "<bucket_name>" | |
access_logs.0.bucket_prefix: "<old_bucket_prefix>" => "" | |
access_logs.0.interval: "60" => "5" | |
2018-04-26T12:07:03.872+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: ConnectionSettings: { | |
2018-04-26T12:07:03.872+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: IdleTimeout: 400 | |
2018-04-26T12:07:03.872+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: }, | |
2018-04-26T12:07:03.872+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: CrossZoneLoadBalancing: { | |
2018-04-26T12:07:03.872+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Enabled: true | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: } | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: }, | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: LoadBalancerName: "elb" | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: } | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: 2018/04/26 12:07:03 [DEBUG] [aws-sdk-go] DEBUG: Request elasticloadbalancing/ModifyLoadBalancerAttributes Details: | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: ---[ REQUEST POST-SIGN ]----------------------------- | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: POST / HTTP/1.1 | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Host: elasticloadbalancing.eu-west-1.amazonaws.com | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: User-Agent: aws-sdk-go/1.13.21 (go1.9.2; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.11.4 | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Content-Length: 406 | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Authorization: AWS4-HMAC-SHA256 Credential=<aws_access_key_id>/20180426/eu-west-1/elasticloadbalancing/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=9720b5f0fdbdb87c0fd912cff0a8192651678de3ee31d4f5eaf6d548e75cae22 | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8 | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: X-Amz-Date: 20180426T110703Z | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Accept-Encoding: gzip | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Action=ModifyLoadBalancerAttributes&LoadBalancerAttributes.AccessLog.EmitInterval=5&LoadBalancerAttributes.AccessLog.Enabled=true&LoadBalancerAttributes.AccessLog.S3BucketName=<bucket_name>&LoadBalancerAttributes.ConnectionSettings.IdleTimeout=400&LoadBalancerAttributes.CrossZoneLoadBalancing.Enabled=true&LoadBalancerName=elb&Version=2012-06-01 | |
2018-04-26T12:07:03.873+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: ----------------------------------------------------- | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: 2018/04/26 12:07:04 [DEBUG] [aws-sdk-go] DEBUG: Response elasticloadbalancing/ModifyLoadBalancerAttributes Details: | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: ---[ RESPONSE ]-------------------------------------- | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: HTTP/1.1 409 Conflict | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Connection: close | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Content-Length: 381 | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Content-Type: text/xml | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: Date: Thu, 26 Apr 2018 11:07:02 GMT | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: X-Amzn-Requestid: f2b2b541-4941-11e8-956d-bf3a74048ba1 | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: ----------------------------------------------------- | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: 2018/04/26 12:07:04 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/"> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <Error> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <Type>Sender</Type> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <Code>InvalidConfigurationRequest</Code> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <Message>Access Denied for bucket: <bucket_name>. Please check S3bucket permission</Message> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </Error> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: <RequestId>f2b2b541-4941-11e8-956d-bf3a74048ba1</RequestId> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: </ErrorResponse> | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: 2018/04/26 12:07:04 [DEBUG] [aws-sdk-go] DEBUG: Validate Response elasticloadbalancing/ModifyLoadBalancerAttributes failed, not retrying, error InvalidConfigurationRequest: Access Denied for bucket: <bucket_name>. Please check S3bucket permission | |
2018-04-26T12:07:04.118+0100 [DEBUG] plugin.terraform-provider-aws_v1.13.0_x4: status code: 409, request id: f2b2b541-4941-11e8-956d-bf3a74048ba1 | |
2018/04/26 12:07:04 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: | |
* aws_elb.publishing_live: Failure configuring ELB attributes: InvalidConfigurationRequest: Access Denied for bucket: <bucket_name>. Please check S3bucket permission | |
status code: 409, request id: f2b2b541-4941-11e8-956d-bf3a74048ba1 | |
2018/04/26 12:07:04 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: | |
* aws_elb.publishing_live: Failure configuring ELB attributes: InvalidConfigurationRequest: Access Denied for bucket: <bucket_name>. Please check S3bucket permission | |
status code: 409, request id: f2b2b541-4941-11e8-956d-bf3a74048ba1 | |
----------------------------------------------------- | |
2018/04/26 12:07:04 [DEBUG] [aws-sdk-go] | |
Error: Error applying plan: | |
1 error(s) occurred: | |
* aws_elb.publishing_live: 1 error(s) occurred: | |
* aws_elb.publishing_live: Failure configuring ELB attributes: InvalidConfigurationRequest: Access Denied for bucket: <bucket_name>. Please check S3bucket permission | |
status code: 409, request id: f2b2b541-4941-11e8-956d-bf3a74048ba1 | |
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 | |
2018/04/26 12:07:04 [DEBUG] plugin: waiting for all plugin processes to complete... | |
2018-04-26T12:07:04.994+0100 [DEBUG] plugin.terraform: local-exec-provisioner (internal) 2018/04/26 12:07:04 [DEBUG] plugin: waiting for all plugin processes to complete... | |
above and apply again to incrementally change your infrastructure. | |
2018-04-26T12:07:04.995+0100 [DEBUG] plugin: plugin process exited: path=<my_directory_path>/.terraform/plugins/linux_amd64/terraform-provider-aws_v1.13.0_x4 | |
2018-04-26T12:07:04.995+0100 [DEBUG] plugin: plugin process exited: path=/opt/tfenv/versions/0.11.3/terraform | |
ERROR: Terraform apply failed with exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment