Skip to content

Terraform Fargate (ECS) + CodeBuild & CodePipeline

Notifications You must be signed in to change notification settings

ZeroDeth/tf-ecs-pipeline

Repository files navigation

ECS CodePipeline to deploy Containers on AWS by Terraform

Configuration

Edit your preferences

Edit terraform.tfvars.example file to customize application preferences like Github account, repo and owner, Load Balancer ports and cluster preferences.

Edit your Build steps

This demo build, dockerize and deploy a simple Node.JS application. Customize your build steps on modules/pipeline/templates/buildspec.yml file.

How to Deploy

1) Github Access Token

  • Export Github Token as an environment variable.
export GITHUB_TOKEN=YOUR_TOKEN

2) Terraform

  • Initialize Terraform
terraform init
  • Plan our modifications
terraform plan
  • Apply the changes on AWS
terraform apply --auto-approve

License

MIT

About

Terraform Fargate (ECS) + CodeBuild & CodePipeline

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages