Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exanubes/connecting-to-rds-via-ssm-parameter-store-config
https://github.com/exanubes/connecting-to-rds-via-ssm-parameter-store-config
Last synced: about 22 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/exanubes/connecting-to-rds-via-ssm-parameter-store-config
- Owner: exanubes
- Created: 2022-09-11T18:01:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-12T15:52:38.000Z (over 2 years ago)
- Last Synced: 2024-04-17T23:26:55.456Z (9 months ago)
- Language: TypeScript
- Size: 421 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- 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 [Connecting to RDS via Parameter Store config](https://exanubes.com/blog/connecting-to-rds-via-parameter-store-config).
This repository is using AWS CDK v2 and is not compatible with AWS CDK v1 bootstrap stack.
## Commands:
- Run `npm run setup` in the root of the project to install node_modules in root and subdirectories
- Run `npm run start` in the root of the project to run backend application
- You can remove modules from all subdirectories with `npm run cleanup`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
```Deploy & destroy 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 `infrastructure/package.json`.