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

Poll for database readiness in linode_database_postgresql_v2 before applying updates field #1727

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

lgarber-akamai
Copy link
Contributor

📝 Description

This pull request updates the linode_database_postgresql_v2 resource update logic to wait for the database to enter an active status before applying the updates field via the PUT endpoint.

This should prevent the following intermittent error that can occur during database creation:

[400] Your database is provisioning; please wait until provisioning is complete to perform this operation.

✔️ How to Test

The following test steps assume you have pulled down this PR locally.

Integration Testing

make PKG_NAME=linode/databasepostgresqlv2 int-test

@lgarber-akamai lgarber-akamai added the bugfix for any bug fixes in the changelog. label Jan 16, 2025
@lgarber-akamai lgarber-akamai requested a review from a team as a code owner January 16, 2025 17:42
@lgarber-akamai lgarber-akamai requested review from jriddle-linode and zliang-akamai and removed request for a team January 16, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix for any bug fixes in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant