CI/CD with Atlantis
Armed with the knowledge about tooling and principles around CI/CD (both delivery and deployment), we will create a CI/CD pipeline with the use of Git and the open source tool Atlantis. We will automatically test and deploy changes to our AWS infrastructure with it and do basic testing along the way.
Deploying Atlantis to AWS
We will use the Terraform module created by Anton Bobenko from the terraform-aws-modules
project on GitHub. Here is the Terraform Registry link to the module: https://registry.terraform.io/modules/terraform-aws-modules/atlantis/aws/latest.
You can use this module in two ways. First, which is natural, is using it in your existing Terraform code to deploy it in AWS. The second, which we will use for this demonstration, is using the module as a standalone project. The module will also create a new Virtual Private Cloud (VPC) for you in the eu-west AWS zone and Atlantis will be running inside the AWS ECS service. This will generate some...