Terraform 0.12
module "db" {
source = "terraform-aws-modules/rds-aurora/aws"
version = "~> 2.0"
[...]
}
resource "aws_sns_topic" "this" {
name = "my-topic"
}
module "db_monitoring" {
source = "github.com/neticdk/tf-aws-rds-aurora-monitoring"
cluster_identifier = module.db.this_rds_cluster_id
sns_topic = sns-topic.this.sns_topic_arn
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
cluster_identifier | The RDS Cluster Identifier | string | n/a | yes |
enable_monitoring | Enable or disable monitoring | bool | true | no |
connection_limit_critical_threshold | Connection limit critical threshold | number | "1000" |
no |
connection_limit_warning_threshold | Connection limit warning threshold | number | "900" |
no |
connection_read_latency_warning_threshold | Connection read_ atency warning threshold | number | "0.02" |
no |
connection_write_latency_warning_threshold | Connection write latency warning threshold | number | "0.02" |
no |
max_connections | Maximum connections allowed in the cluster | number | "1000" |
no |
sns_topic | ARN of SNS topic | string | n/a | yes |
tags | A map of tags to add to all resources | map | <map> |
no |
Copyright (c) 2019 Netic A/S. All rights reserved.
MIT Licened. See LICENSE for full details.