Skip to content

Instantly share code, notes, and snippets.

@kbaldyga
Created February 5, 2020 15:48
Show Gist options
  • Save kbaldyga/825f0239776463a69969b847f35d53bd to your computer and use it in GitHub Desktop.
Save kbaldyga/825f0239776463a69969b847f35d53bd to your computer and use it in GitHub Desktop.
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:17:24 [DEBUG] DB Instance status for instance wailupes-rds-read-0: available
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:17:24 [INFO] DB Instance (wailupes-rds-read-0) configuration requires ModifyDBInstance: {
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: AllocatedStorage: 100,
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: ApplyImmediately: true,
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: CACertificateIdentifier: "rds-ca-2019",
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: DBInstanceIdentifier: "wailupes-rds-read-0",
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: DBParameterGroupName: "postgres-11-tuned-staging",
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: PreferredMaintenanceWindow: "mon:12:00-mon:13:00",
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: VpcSecurityGroupIds: ["sg-4dade72a"]
2020-02-05T14:17:24.536Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: }
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:17:24 [DEBUG] [aws-sdk-go] DEBUG: Response rds/ModifyDBInstance Details:
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: ---[ RESPONSE ]--------------------------------------
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: HTTP/1.1 200 OK
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Connection: close
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Transfer-Encoding: chunked
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Content-Type: text/xml
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Date: Wed, 05 Feb 2020 14:17:24 GMT
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Vary: accept-encoding
2020-02-05T14:17:24.925Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: X-Amzn-Requestid: REDACTED
2020-02-05T14:17:24.926Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:17:24 [INFO] Waiting for DB Instance (wailupes-rds-read-0) to be available
2020-02-05T14:18:35.679Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:35 [DEBUG] DB Instance status for instance wailupes-rds-read-0: modifying
2020-02-05T14:18:35.679Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:35 [TRACE] Waiting 10s before next try
...
REPEATED MULTIPLE TIMES
...
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:45 [DEBUG] DB Instance status for instance wailupes-rds-read-0: available
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:45 [INFO] DB Instance (wailupes-rds-read-0) configuration requires RebootDBInstance: {
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: DBInstanceIdentifier: "wailupes-rds-read-0"
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: }
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:45 [DEBUG] [aws-sdk-go] DEBUG: Request rds/RebootDBInstance Details:
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: ---[ REQUEST POST-SIGN ]-----------------------------
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: POST / HTTP/1.1
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Host: rds.us-west-1.amazonaws.com
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: User-Agent: aws-sdk-go/1.28.7 (go1.13.5; linux; amd64) APN/1.0 HashiCorp/1.0 Terraform/0.12.20 (+https://www.terraform.io)
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Content-Length: 83
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Authorization: REDACTED
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Content-Type: application/x-www-form-urlencoded; charset=utf-8
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: X-Amz-Date: 20200205T141845Z
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: X-Amz-Security-Token: REDACTED
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Accept-Encoding: gzip
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4:
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Action=RebootDBInstance&DBInstanceIdentifier=wailupes-rds-read-0&Version=2014-10-31
2020-02-05T14:18:45.824Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: -----------------------------------------------------
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:45 [DEBUG] [aws-sdk-go] DEBUG: Response rds/RebootDBInstance Details:
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: ---[ RESPONSE ]--------------------------------------
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: HTTP/1.1 400 Bad Request
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Connection: close
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Content-Length: 329
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Content-Type: text/xml
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: Date: Wed, 05 Feb 2020 14:18:45 GMT
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: X-Amzn-Requestid: REDACTED
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4:
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4:
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: -----------------------------------------------------
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:45 [DEBUG] [aws-sdk-go] <ErrorResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/">
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: <Error>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: <Type>Sender</Type>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: <Code>InvalidDBInstanceState</Code>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: <Message>Instance cannot currently reboot due to an in-progress management operation.</Message>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: </Error>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: <RequestId>e43d0e41-99da-49d7-9f36-8257f5d82039</RequestId>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: </ErrorResponse>
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: 2020/02/05 14:18:45 [DEBUG] [aws-sdk-go] DEBUG: Validate Response rds/RebootDBInstance failed, attempt 0/25, error InvalidDBInstanceState: Instance cannot currently reboot due to an in-progress management operation.
2020-02-05T14:18:45.865Z [DEBUG] plugin.terraform-provider-aws_v2.46.0_x4: status code: 400, request id: e43d0e41-99da-49d7-9f36-8257f5d82039
2020/02/05 14:18:45 [DEBUG] module.rds.aws_db_instance.rds-read[0]: apply errored, but we're indicating that via the Error pointer rather than returning it: error rebooting DB Instance (wailupes-rds-read-0): InvalidDBInstanceState: Instance cannot currently reboot due to an in-progress management operation.
status code: 400, request id: e43d0e41-99da-49d7-9f36-8257f5d82039
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment