This AWS Lambda function will notify a slack channel upon Spot-Instance terminations
No requirements.
Name | Version |
---|---|
archive | n/a |
aws | n/a |
null | n/a |
No modules.
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 |
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 |
No outputs.