natgw-notifications

binbashar/natgw-notifications/aws

Terraform Module HCL AWS
Install
module "natgw-notifications" {
source = "binbashar/natgw-notifications/aws"
version = "0.0.9"
}
plain text: /constructs/tfmod-binbashar-natgw-notifications-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Module: AWS VPC Nat Gateway notifications Overview CloudWatch Alarm that enables notifications to an SNS topic when VPC Nat Gateway has 0 active connections for more than 60 mins. Creates the following resources: CloudWatch metric to send notifications via pre-existing SNS when the total number of concurrent active TCP connections through the NAT gateway is zero, which indicates that there are no active connections through the NAT gateway. Statistics: The most useful statistic is Max. Examples VPC Nat Gateway active cx zero notification ``hcl module "vpc-natgw-notifications" { source = "github.com/binbashar/terraform-aws-natgw-notifications.git?ref=v0.0.1" alarm_suffix = "${var.environment}-account" send_sns = true sns_topic_name = data.terraform_remote_state.notifications.output

Inputs (5)
NameTypeDescriptionDefault
sns_topic_namestringThe name of the SNS topic to send root login notifications. required
send_snsboolIf true will send message *Successful AWS console login with the root account* tfalse
alarm_suffixstringSuffix to add to alarm name, used for separating different AWS account.""
alarm_periodnumberThe period in seconds over which the specified statistic is applied, eg 3600 sec3600
alarm_evaluation_periodsnumberThe number of periods over which data is compared to the specified threshold.1
Resources (1)
aws_cloudwatch_metric_alarm
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.9
Cloud AWS
★ Stars2
Forks1
Total downloads6.1k
Inputs5
Resources1
LicenseMIT
Namespacebinbashar
Updated