natgw-notifications
binbashar/natgw-notifications/aws
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| sns_topic_name | string | The name of the SNS topic to send root login notifications. | required |
| send_sns | bool | If true will send message *Successful AWS console login with the root account* t | false |
| alarm_suffix | string | Suffix to add to alarm name, used for separating different AWS account. | "" |
| alarm_period | number | The period in seconds over which the specified statistic is applied, eg 3600 sec | 3600 |
| alarm_evaluation_periods | number | The number of periods over which data is compared to the specified threshold. | 1 |
Resources (1)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,