https://github.com/apptension/article-chamber
https://github.com/apptension/article-chamber
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/apptension/article-chamber
- Owner: apptension
- Created: 2022-11-02T14:13:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-10T10:14:10.000Z (over 2 years ago)
- Last Synced: 2025-01-12T00:25:27.538Z (6 months ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Manage AWS ECS environment variables with Chamber
This is an example code that shows how to use environment variables on AWS ECS loaded from AWS SSM Parameter Store using
Chamber library.It is a part of an article: **[How to manage AWS ECS environment variables with Chamber?](https://www.apptension.com/blog-posts/how-to-manage-aws-ecs-environment-variables-with-chamber?utm_source=github&utm_medium=linkbuilding&utm_campaign=links)**
### Commands
**Run the local environment**:
```sh
docker-compose up
```**Deploy infrastructure**:
```sh
cd infra
yarn build
cdk bootstrap
ENV_NAME=stage cdk deploy --all
```**Destroy infrastructure**:
```sh
ENV_NAME=stage cdk destroy --all
```