This is a simple project to deploy an Node.js application, using Github Actions, Terraform Cloud and Amazon.
The following image is the architecture definition. Basically, the app is deployed in an ECS environment where each environment has it own VPC, Subnets, ELB and other resources. The container images are saved in a ECR repo.
The image below shows de Github Action definition for each workflow.