Sample Flask app with Postgres db as well as the complete terraform code used to launch the app in AWS (ECS, RDS, ALB, etc.)
Why do you think that https://github.com/cloudposse/terraform-aws-ecs-container-definition is a good alternative to deploy-flask-into-aws-with-terraform