terraform-provider-mysql
terraform-provider-mysql copied to clipboard
Timeout when database is unreachable
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