Skip to content

Instantly share code, notes, and snippets.

@michaelfecher
Created September 1, 2020 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelfecher/27eb17108ea5d8d0625033f3cf1a39e1 to your computer and use it in GitHub Desktop.
Save michaelfecher/27eb17108ea5d8d0625033f3cf1a39e1 to your computer and use it in GitHub Desktop.
CDK Code Organization with ECS
# ECS specific CDK code organization
repo-infra
|- pipeline (main cdk-app, stacks, taskdefinitions for app_A & app_B**)
|- app_A (buildspec, imports A specific stuff from pipeline)
|- app_B (buildspec, imports B specific stuff from pipeline)
repo-app_A
|- cicd (=> Build/Test + Docker Build/Push + ECR CodeDeploy)
repo_app_B
|- cicd (=> Build/Test + Docker Build/Push + ECR CodeDeploy)
** Task Definition doesn't change that often
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment