Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exanubes/ecs-fargate-ci-cd-pipeline
Repository from exanubes.com for Fargate App with a SSL Certificate
https://github.com/exanubes/ecs-fargate-ci-cd-pipeline
application-load-balancer aws-cdk aws-code-build aws-code-deploy aws-code-pipeline aws-secrets-manager ecs fargate github-webhook https ssl
Last synced: about 22 hours ago
JSON representation
Repository from exanubes.com for Fargate App with a SSL Certificate
- Host: GitHub
- URL: https://github.com/exanubes/ecs-fargate-ci-cd-pipeline
- Owner: exanubes
- Created: 2022-03-06T14:03:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-08T17:19:51.000Z (almost 3 years ago)
- Last Synced: 2024-04-17T23:26:56.263Z (9 months ago)
- Topics: application-load-balancer, aws-cdk, aws-code-build, aws-code-deploy, aws-code-pipeline, aws-secrets-manager, ecs, fargate, github-webhook, https, ssl
- Language: TypeScript
- Homepage: https://exanubes.com/blog/ci-cd-pipeline-for-ecs-application
- Size: 282 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CI/CD Pipeline for ECS Application
Repository from [exanubes.com](https://exanubes.com) for [CI/CD pipeline for ECS application](https://exanubes.com/blog/ci-cd-pipeline-for-ecs-application).
This repository is using AWS CDK v2 and is not compatible with AWS CDK v1 bootstrap stack.
## Commands:
Run the following commands inside `infrastructure` directory for building, deploying and destroying the stacks
```
npm run build
npm run cdk:deploy -- --all
npm run cdk:destroy -- --all
```Both of these commands use the `aws-cli sts` service to get the account id and aws IAM role `exanubes-cloudformation-access` in order to dynamically provide role arn. Make sure you're using the account you want to deploy the stacks to and that you have the role created either with the same name or different name and change the scripts in `package.json`.