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

[Bug]: sweeper/aws_db_instance: "Cannot delete the last instance of the master cluster" #29147

Open
gdavison opened this issue Jan 28, 2023 · 1 comment
Labels
bug Addresses a defect in current functionality. sweeper Pertains to changes to or issues with the sweeper.

Comments

@gdavison
Copy link
Contributor

Terraform Core Version

N/A

AWS Provider Version

4.52

Affected Resource(s)

aws_db_instance

Expected Behavior

Sweeper should have succeeded

Actual Behavior

Error running Sweeper (aws_db_instance) in region (us-west-2): error sweeping RDS DB Instances (us-west-2): 1 error occurred:
* deleting RDS DB Instance (tf-acc-test-primary-4080255601451684458): InvalidDBClusterStateFault: Cannot delete the last instance of the master cluster. Delete the replica cluster before deleting the last master cluster instance.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

N/A

Steps to Reproduce

Run aws_db_instance sweeper

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@gdavison gdavison added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Jan 28, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added sweeper Pertains to changes to or issues with the sweeper. and removed needs-triage Waiting for first response or review from a maintainer. labels Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. sweeper Pertains to changes to or issues with the sweeper.
Projects
None yet
Development

No branches or pull requests

1 participant