Fargate Task with Nat Gateway fails to connect with RDS database
问题 Basically, I'm follow these two guides: Deploying Hasura on AWS with Fargate, RDS and Terraform Deploying Containers on Amazon’s ECS using Fargate and Terraform: Part 2 I have: Postgres RDS Database deployed in 'Multi-AZ' My python/flask app deployed in Fargate across multiple AZ's I run a migration inside the task definition before the app ALB Load balancing between the tasks Logging for RDS, ECS and ALB into Cloudwatch Logs. A NAT gateway with an Elastic IP for each private subnet to get