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
- Host: GitHub
- URL: https://github.com/rluisr/ecssc
- Owner: rluisr
- License: wtfpl
- Created: 2020-12-12T16:17:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T20:57:36.000Z (over 3 years ago)
- Last Synced: 2024-06-21T01:39:24.619Z (about 2 years ago)
- Topics: aws, ecs, ecs-event, ecs-service, ecs-task, eventbridge, lambda
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.

Download
---------
See [GitHub Container Registry](https://github.com/users/rluisr/packages/container/ecssc/versions)
Installation
-------------
ecssc is a Lambda function of EventBridge event target.

**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 = <