You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my aurora config to use the scale to 0 configuration. So when the database is scaled at 0, we have the error of the provider not being able to connect (obviously, the db is down).
╷
│ Error: Error connecting to PostgreSQL server mypostgres-server-postgresqlv2.cluster-aaaaaaaaa.***.rds.amazonaws.com (scheme: postgres): EOF
│
│ with module.aurora_postgresql.postgresql_role.reader,
│ on .terraform/modules/aurora_postgresql/aurora-pg/aurora.tf line 95, in resource "postgresql_role" "reader":
│ 95: resource "postgresql_role" "reader" {
│
╵
Expected Behavior
Maybe there could be a way to ping first to boot the database, and then wait for it to be up with a sort of timeout or something like this? In order to be able to resuscitate the database before querying it.
Actual Behavior
Terraform plan fails.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
0. Create an aurora serverless database, with scale to 0.
Wait for the database to "shutdown" (=scale to 0)
terraform apply
Important Factoids
We have tried the new feature of aurora serverless scale to 0. The db was down at the time of the issue. When the db is up, the problem does NOT occur.
The text was updated successfully, but these errors were encountered:
Hi there,
Terraform Version
1.9.8
Affected Resource(s)
At least postgresql_role.
Terraform Configuration Files
I have updated my aurora config to use the scale to 0 configuration. So when the database is scaled at 0, we have the error of the provider not being able to connect (obviously, the db is down).
Debug Output
Expected Behavior
Maybe there could be a way to ping first to boot the database, and then wait for it to be up with a sort of timeout or something like this? In order to be able to resuscitate the database before querying it.
Actual Behavior
Terraform plan fails.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
0. Create an aurora serverless database, with scale to 0.
terraform apply
Important Factoids
We have tried the new feature of aurora serverless scale to 0. The db was down at the time of the issue. When the db is up, the problem does NOT occur.
The text was updated successfully, but these errors were encountered: