Skip to content

DB Connection Pool: Add skip_if_exists#1000

Open
danaelhe wants to merge 5 commits intomainfrom
add_skip_if_exists
Open

DB Connection Pool: Add skip_if_exists#1000
danaelhe wants to merge 5 commits intomainfrom
add_skip_if_exists

Conversation

@danaelhe
Copy link
Member

Addresses #925

Users reported experiencing 5xx errors on Database Connection Pools requests even if it was successfully created in DO. When this happens, in the terraform state, the resource was marked as not created because of 503 error. Following a retry, the creation of the pool fails because the name is already taken.

This proposes a workaround solution of adding an optional "skip_if_exists" argument. If the connection pool already exists, it will exit without error.

@danaelhe danaelhe requested a review from a team June 20, 2023 21:09
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.

1 participant