Skip to content

wschiffels/FargateTerminationSpotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FargateTermiationSpotter

This AWS Lambda function will notify a slack channel upon Spot-Instance terminations

SlackMessage

Requirements

No requirements.

Providers

Name Version
archive n/a
aws n/a
null n/a

Modules

No modules.

Resources

Name Type
aws_cloudwatch_event_rule.termination resource
aws_cloudwatch_event_target.lamdba resource
aws_cloudwatch_log_group.spotter resource
aws_iam_policy.terminationspotter resource
aws_iam_role.spotter resource
aws_iam_role_policy_attachment.terminationspotter resource
aws_lambda_function.spotter resource
aws_lambda_permission.eventbridge_to_lambda resource
null_resource.lambda_build resource
archive_file.lambda_function data source
aws_iam_policy_document.terminationspotter data source

Inputs

Name Description Type Default Required
api_token the slack API token string n/a yes
filter_deploys Do not send a notification for scaling activities related to deploys string "true" no
filter_intermediate Do not send notifications for pending, stopping, activating... containers. string n/a yes
slack_channels The channel to send alerts to string n/a yes

Outputs

No outputs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published