Skip to content

Terraform module to push SNS topic message to Microsoft Teams channel.

License

Notifications You must be signed in to change notification settings

gravitybacklight/terraform-aws-sns-to-teams

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SNS to Microsoft Teams

Send SNS topic message to Microsoft Teams channel.

I - Infrastructure components

alt text

II - Inputs / Outputs

Requirements

Name Version
aws >= 2.40.0

Providers

Name Version
aws >= 2.40.0

Inputs

Name Description Type Default Required
aws_region aws region to deploy (only aws region with AWS SES service deployed) string n/a yes
cloudwatch_log_retention The cloudwatch log retention ( default 7 days ). number 7 no
function_timeout The amount of time your Lambda Functions has to run in seconds. number 300 no
prefix_resource The prefix used for all created resources string "" no
tags The tags of all resources created map {} no
teams_image_url The URL of image in Microsoft Teams notification string "https://cdn2.iconfinder.com/data/icons/amazon-aws-stencils/100/Compute__Networking_copy_Amazon_VPC_Internet_Gateway-512.png" no
teams_webhook_url The URL of webhook Microsoft Teams channel string n/a yes

Outputs

Name Description
lambda_arn The Lambda ARN who send SNS topic message to Microsoft Teams
role_arn The IAM Role ARN used by Lambda who send SNS topic message to Microsoft Teams
sns_arn The SNS ARN who send SNS topic message to Microsoft Teams

III - Usage

module "example" {
  source                   = "../"
  aws_region               = "eu-west-3"
  cloudwatch_log_retention = 7
  teams_webhook_url =  "<https:// microsoft teams webhook url>"
}

About

Terraform module to push SNS topic message to Microsoft Teams channel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 75.0%
  • Python 17.7%
  • Shell 7.3%