Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle RDS Cluster state resetting-master-credentials #2781 #2791

Merged

Conversation

hello-josh
Copy link
Contributor

Addresses error when creating a new aws_rds_cluster using the snapshot_identifier option.

* aws_rds_cluster.aurora_postgres: [WARN] Error waiting for RDS Cluster state to be "available": unexpected state 'resetting-master-credentials', wanted target 'available'. last error: %!s(<nil>)

Fixes #2781

Addresses error when creating a new aws_rds_cluster using the
`snapshot_identifier` option.

```
* aws_rds_cluster.aurora_postgres: [WARN] Error waiting for RDS Cluster state to be "available": unexpected state 'resetting-master-credentials', wanted target 'available'. last error: %!s(<nil>)
```
@hello-josh hello-josh changed the title Handle RDS Cluster state resetting-master-credentials #2781 [WIP] Handle RDS Cluster state resetting-master-credentials #2781 Dec 28, 2017
@hello-josh
Copy link
Contributor Author

I couldn't find any tests for verifying the available states, but this is also my first golang so it could be user error. I am running a create locally to see if it works and if so I will remove the [WIP] label. I mirrored this off of #2409

@hello-josh hello-josh changed the title [WIP] Handle RDS Cluster state resetting-master-credentials #2781 Handle RDS Cluster state resetting-master-credentials #2781 Dec 28, 2017
@hello-josh
Copy link
Contributor Author

Success!

module.aurora_postgres.aws_rds_cluster.aurora_postgres: Creation complete after 52m11s (ID: trii-aurora-postgres-dev)

@jen20 jen20 added the bug Addresses a defect in current functionality. label Dec 28, 2017
@jen20
Copy link
Contributor

jen20 commented Dec 29, 2017

Fixes #2781.

Copy link
Contributor

@jen20 jen20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TRII! This fix looks correct - good call on moving the allowable states out of band.

@jen20 jen20 merged commit 4d0dfaa into hashicorp:master Dec 29, 2017
@hello-josh
Copy link
Contributor Author

Thanks @jen20 but I can't take the credit. It was @bflad's idea

@bflad bflad added this to the v1.7.0 milestone Jan 12, 2018
@bflad
Copy link
Contributor

bflad commented Jan 12, 2018

This has been released in terraform-provider-aws version 1.7.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 8, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
3 participants