Skip to content

Example repository to build OCI, publish to ECR and deploy to ECS fargate, setup using terraform.

Notifications You must be signed in to change notification settings

tructxn/tf-ecr-ecs-gh-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated ECS deployments

workflow

Create the AWS infrastructure (ECS, ECR, ALB, ...) to deploy a container and automatically update it using Github Action.

Example run is available here.

Hey, considering some people forked this project I made a Terraform Module based on the resources I used in this repository. It is available at github.com/tbobm/terraform-aws-ecs and it is already available in the Terraform Registry at tbobm/ecs.

Core components

AWS

The AWS infrastructure is setup using terraform in the ./terraform.

The following components are deployed:

CI/CD

The repository leverages the AWS Github Actions maintained by AWS.

The main goal is to provide an example configuration of the following workflow:

  • Run the integration tests
  • Build the Docker image
  • Publish it to a private ECR
  • Update the corresponding ECS Service (by editing the task image)

About

Example repository to build OCI, publish to ECR and deploy to ECS fargate, setup using terraform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 91.2%
  • Python 6.9%
  • Dockerfile 1.9%