Coder Social home page Coder Social logo

louis-fiori / terraform-aws-cloudwatch-logs-enhanced-alarms-notifications Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

๐Ÿ“ฃ Terraform module for smart alerts using AWS Lambda and Chatbot

License: MIT License

HCL 58.54% Python 41.46%
aws aws-chatbot aws-cloudwatch-logs aws-lambda terraform-aws terraform-module

terraform-aws-cloudwatch-logs-enhanced-alarms-notifications's Introduction

๐Ÿ“ Medium Article

For more information about this module, check out this article: https://medium.com/@louis-fiori/cloudwatch-logs-enhanced-alerts-a50ea08d0845

๐Ÿ”— Requirements

Name Version
terraform >= 1.4.5
aws >= 4.0.0
awscc >= 0.2

โžก๏ธ Inputs

Name Description Type Default Required
account_id AWS account ID string n/a yes
lambda_code_path Path of the Lambda function code string "logs_alerts.py" no
lambda_environment_variables A map that defines environment variables for the Lambda Function. map(string) {} no
lambda_handler Handler for the Lambda string "logs_alerts.lambda_handler" no
lambda_runtime Runtime for the Lambda string "python3.8" no
name Name for the ressources string n/a yes
region AWS region (where to deploy everything) string n/a yes
slack_settings Slack channel ID and workplace ID
object({
slack_channel_id : string
slack_workspace_id : string
})
null no
vpc_security_group_ids List of security group IDs when the function should run in a VPC list(string) null no
vpc_subnet_ids List of subnet IDs when the function should run in a VPC list(string) null no

โฌ…๏ธ Outputs

Name Description
lambda_arn ARN of the Lambda function (use it with CloudWatch Logs Subscription Filter)
sns_topic_arn ARN of the SNS topic (if you need to setup other notifications than Slack)

terraform-aws-cloudwatch-logs-enhanced-alarms-notifications's People

Watchers

Louis Fiori ๐Ÿฅ–๐Ÿง‘โ€๐Ÿ’ป avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.