Open magsoftware opened 4 years ago
I'm also seeing this 6 months later! 👎🏻
Terraform v0.14.3
Initializing plugins and modules...
digitalocean_database_connection_pool.pool-01: Creating...
Error creating DatabaseConnectionPool: POST https://api.digitalocean.com/v2/databases/69966f63-6fe5-45a7-a706-9939dfc04686/pools: 500 Server Error
It looks like there's an opportunity to add some retry logic to handle service errors.
However, there will be cases when there's an issue with the service and a retry won't resolve the terraform error. For those cases, the best course of action would be to contact support to report the service issue. It's best to have a request_id
for the POST request. This can be retrieved by setting the environment variable TF_LOG=debug
when calling terraform apply
. This is a very verbose output but will include the response header X-Request-Id
which can be supplied when contacting support.
I've updated the issue templates for this repo to include instructions about contacting support for service issues (#633) also.
I'll leave this issue open but will rename it to add the retry logic.
Terraform Version
Terraform v0.12.25
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
same as issue 445
Debug Output
Expected Behavior
Connection pool should be created.
Actual Behavior
Server error 500 on connection pool creation.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
This error does not occur always.