- Using the MySQL provider in a module.
- Using RDS creation in another module.
I still have to input the RDS endpoint as a variable into the MySQL-provider module (which is not creating an explicit dependency which makes the RDS module execute first).
There's no way to model dependency graphs between each other, since neither the "provider" nor the "module" directives support a "depends_on".
I'm currently trying to have two distinct projects which are not wired to each other. The first project creates instances, the second provisions the instances. For that I have to configure hardcoded MySQL endpoints in the provisioning project configuration, which is not very comfortable.
--
Andreas