AWS SNS to Microsoft Teams Send SNS topic message to Microsoft Teams channel.
I - Infrastructure components
Name
Version
aws
>= 2.40.0
Name
Version
aws
>= 2.40.0
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
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
module "example" {
source = " ../"
aws_region = " eu-west-3"
cloudwatch_log_retention = 7
teams_webhook_url = " <https:// microsoft teams webhook url>"
}