Open vesubramanian opened 1 year ago
I get the same, when Aurora has been idle for a while. If I retry, it works.
Is there any way to add a retry option?
I increased my connect_timeout
to 900
and it seems to have helped. Will keep an eye on it, though...
Hi @vesubramanian ,
Do you still have this issue?
If yes, it's a bit hard to help just with a timeout. Are you able to connect manually (with psql
) when the provider encounters the timeout?
I have very frequent issues with timeouts, too. I didn't have time to investigate better, though. They are completely random, and I don't have issues connecting with any clients, only with the provider. Btw, I'm using the gcppostgres scheme.
I have the same intermittent issue and also use gcppostgres scheme. I can only add that the issue started when the amount of db resources in TF state became quite huge.
Hi,
Please help. I am facing a timeout issue. I have tried my best to provide whatever info required.
Terraform Version
1.1.4
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
Roles being passed as key value pairs (username & password) should have been created in the cluster/writer instance
Actual Behavior
Error: could not start transaction: dial tcp:5432: connect: connection timed out
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Running on Aurora Serverless v2 Postgresql (Not publicly accessible. Tried with Publicly accessible also, but still same error. However, public access cannot be turned on).