This is a personal boilerplate to enable me to quickly provision and destroy my personal projects for testing in a remote environment.
- Install Terraform by clicking here and following the instructions.
- Install AWS CLI by clicking here and following the instructions.
- Configure your AWS CLI configurations - the project assume that you are using the "default" profile of AWS CLI.
- Clone the project
- Go to the project directory
- Install AWS Provider
terraform init
- Switch the image name you want to provision (
container.tf
withinecs-task-env-test
)- You may utilize the sample Nginx Dockerfile to generate a Nginx container for testing
- Apply the changes to the AWS Infrastructure
terraform apply
- Introduce local variables to the .tfs
- Introduce CodeDeploy/CodeBuild/Pipeline