Commit 0750cc1c authored by Anton Babenko's avatar Anton Babenko

Added monitoring_interval parameter

parent bb1254b7
...@@ -22,6 +22,7 @@ resource "aws_db_instance" "this" { ...@@ -22,6 +22,7 @@ resource "aws_db_instance" "this" {
multi_az = "${var.multi_az}" multi_az = "${var.multi_az}"
iops = "${var.iops}" iops = "${var.iops}"
publicly_accessible = "${var.publicly_accessible}" publicly_accessible = "${var.publicly_accessible}"
monitoring_interval = "${var.monitoring_interval}"
allow_major_version_upgrade = "${var.allow_major_version_upgrade}" allow_major_version_upgrade = "${var.allow_major_version_upgrade}"
auto_minor_version_upgrade = "${var.auto_minor_version_upgrade}" auto_minor_version_upgrade = "${var.auto_minor_version_upgrade}"
......
...@@ -69,6 +69,11 @@ variable "publicly_accessible" { ...@@ -69,6 +69,11 @@ variable "publicly_accessible" {
default = false default = false
} }
variable "monitoring_interval" {
description = "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60."
default = 0
}
variable "allow_major_version_upgrade" { variable "allow_major_version_upgrade" {
description = "Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible" description = "Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible"
default = false default = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment