I'm currently creating RDS and am forced to open up security groups to allow the prostgres provider to then create the necessary databases on the instance.
Leaving the environment this way is a hazard obviously. Is there anyway to only have the postgres bits run when the RDS instance is set to be publicly available?
I've come to a point where if I comment out or delete the postgres specific calls, I can not get a terraform plan to complete as the call to said postgres data fails.