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

https://github.com/rluisr/ecssc

Monitoring the ECS task event
https://github.com/rluisr/ecssc

aws ecs ecs-event ecs-service ecs-task eventbridge lambda

Last synced: 5 months ago
JSON representation

Monitoring the ECS task event

Awesome Lists containing this project

README

          

ecssc
======
ecssc(ECS State Check) is a Lambda function for notification to Slack if the ECS task event is changed.

![image](https://f.easyuploader.app/eu-prd/upload/20201222222339_667333354c6575474e73706277615335.png)

Download
---------
See [GitHub Container Registry](https://github.com/users/rluisr/packages/container/ecssc/versions)

Installation
-------------
ecssc is a Lambda function of EventBridge event target.

![image](https://f.easyuploader.app/eu-prd/upload/20201213011250_374537644f5a66646969.png)

**Copy the container image to your ECR repository.**
The Lambda does not support third-party container registry.

This is an example for setting up EventBridge and Lambda with Terraform.

EventBridge:
```hcl
resource "aws_cloudwatch_event_bus" "ecs-state-check" {
name = "ecs-state-check"
}

resource "aws_cloudwatch_event_rule" "ecs-state-check" {
name = "ecs-state-check"
event_pattern = <