https://github.com/garysassano/cdktf-aws-ecs-task-events-logger
CDKTF app that captures all ECS Task events that contain errored tasks and stores them in CloudWatch Logs
https://github.com/garysassano/cdktf-aws-ecs-task-events-logger
aws cdk-for-terraform cdktf cdktf-ts ecs ecs-task elastic-container-service errors logs terraform-cdk typescript
Last synced: about 1 month ago
JSON representation
CDKTF app that captures all ECS Task events that contain errored tasks and stores them in CloudWatch Logs
- Host: GitHub
- URL: https://github.com/garysassano/cdktf-aws-ecs-task-events-logger
- Owner: garysassano
- License: apache-2.0
- Created: 2024-03-31T00:20:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-29T07:29:18.000Z (4 months ago)
- Last Synced: 2025-01-31T13:14:15.658Z (3 months ago)
- Topics: aws, cdk-for-terraform, cdktf, cdktf-ts, ecs, ecs-task, elastic-container-service, errors, logs, terraform-cdk, typescript
- Language: TypeScript
- Homepage:
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdktf-aws-ecs-task-events-logger
CDKTF app that captures all [ECS Task events](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_task_events.html) that contain errored tasks and stores them in CloudWatch Logs.
### Related Apps
- [cdktf-aws-ecs-task-events-tagger](https://github.com/garysassano/cdktf-aws-ecs-task-events-tagger) - Sends ECS Task events to a Lambda function for tagging before storing in CloudWatch Logs.
## Prerequisites
- **_AWS:_**
- Must have authenticated with [Default Credentials](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration) in your local environment.
- **_Terraform:_**
- Must be [installed](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform) in your system.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.## Installation
```sh
npx projen install
```## Deployment
```sh
npx projen deploy
```## Cleanup
```sh
npx projen destroy
```## Architecture Diagram
