Create CICD pipelines with three stages for multiple environments as per diagram below:
Requirement | Description |
---|---|
Terraform | Installation Instructions |
AWS Account and CLI Credentials | Create Account |
Terraform Backend | Setting up backend |
S3 Bucket | Create S3 bucket for storing code-pipeline artifacts |
- Update
setup/state.tf
file with an AWS cli profile with admin access, Terraform backend state and lock file using pre-configured S3 bucket and DynamoDB table. - Deploy using Terraform and AWS provider
cd setup
terraform plan -out infra-plan.json
terraform apply