Hi guys,
I already talked to Anoop about a state regarding the Terraform project in week 5. As we initially launched the postgres locally on the ec2 instance, we used DMS to migrate it to RDS. We cannot really destroy everything as the data in RDS would be lost right?
Furthermore, creating everything new after having it destroyed does not seem to work as we would need to apply some sql statements for database, table and user creation, etc. when the RDS instance is up and running.
Nevertheless, I think using DMS was very insightful, it should still be possible to apply and destroy everything using terraform to keep costs low.
So I thought maybe could implement this as a bonus assignment. I'll probably be working on this during the next days and keep you posted when I've solved it.