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

fix(provisioner): only delete new rds on failed subscription update #1488

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

oddgrd
Copy link
Contributor

@oddgrd oddgrd commented Dec 20, 2023

Description of change

A call should not be mad to provision a database that already exists, but this may change in the future, so I added a safe-guard to ensure only new RDS instances will be deleted if the subscription update fails.

How has this been tested? (if applicable)

Tested on staging, a new instance still has its subscription updated as expected.

@oddgrd oddgrd merged commit f81b5ef into main Dec 20, 2023
@oddgrd oddgrd deleted the fix/only-delete-rds-on-failed-sub-if-instance-is-new branch December 20, 2023 11:50
oddgrd added a commit that referenced this pull request Jan 8, 2024
oddgrd added a commit that referenced this pull request Jan 8, 2024
* Revert "feat: add subscription items endpoint and call it when provisioning rds (#1478)"

This reverts commit 657815d.

* Revert "fix(provisioner): only delete new rds on failed subscription update (#1488)"

This reverts commit f81b5ef.

* fix: clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants