An open API service indexing awesome lists of open source software.

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

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

![Architecture Diagram](./src/assets/arch.svg)