Closed luis-guimaraes-exoawk closed 2 years ago
Hi, I see absolutely no reason why this should behave differently from just constants.
Did you have any MYSQL_*
environment variables set?
No, I did not
I'm actually having the exact same issue.
Good news: I managed to reproduce it and find the source of the issue.
Bad news: I cannot fix it as that's an issue of terraform. You could still run terraform apply -target that.resource.with.rds
first and run apply
only then.
I reported the issue here: https://github.com/hashicorp/terraform/issues/31465
The response in the linked ticket is that it is WAI.
So we cannot do anything about this - we won't fix it.
Hi, I'm trying to create a database in RDS, and therefore am using a module to create the RDS instance without a database and then output the endpoint to the mysql provider in order to create it independently. When I tried using winebarrel's version of this provider it did not fail, and handles the connection correctly.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Cannot share this as it contains confidential info regarding AWS accounts
Expected Behavior
The apply should've went ahead and worked, and the connection should only be started once the module outputs are available
Actual Behavior
Just hangs and after I interrupted the apply this showed up:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Nothing out of the ordinary
References
Nope