terraform-provider-mysql icon indicating copy to clipboard operation
terraform-provider-mysql copied to clipboard

Timeout when database is unreachable

Open jnsvd opened this issue 7 months ago • 0 comments

Provider version

3.0.18

MySQL version and settings

8.0.21

Expected Behavior

Some sort of output when the database is unreachable and state can't be refreshed

Actual Behavior

No output is shown of any retries, when running terraform apply it's as if the command got stuck. Only when running with TF_LOG=TRACE it becomes apparent that mysql provider is the cause of the stuck command.

Steps to Reproduce

Run terraform apply with e.g.:

  • an incorrect MySQL username
  • a stopped database instance

jnsvd avatar Jul 18 '24 11:07 jnsvd