-
-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support RDS Cluster monitoring interval and role arn #485
base: master
Are you sure you want to change the base?
feat: Support RDS Cluster monitoring interval and role arn #485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes
variable "cluster_monitoring_interval" { | ||
description = "Interval, in seconds, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60" | ||
type = number | ||
default = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default = 0 | |
default = null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is similar to what we're doing for var.monitoring_interval
:
terraform-aws-rds-aurora/variables.tf
Lines 415 to 419 in 685b01b
variable "monitoring_interval" { | |
description = "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for instances. Set to `0` to disable. Default is `0`" | |
type = number | |
default = 0 | |
} |
That way we can use
var.cluster_monitoring_interval > 0
in places to determine if we should configure a monitoring role since it must be greater than 0
in that case. Or should we let var.create_monitoring_role
handle that on its own? Let me know what you think.
Co-authored-by: Anton Babenko <[email protected]>
Description
Support enhanced monitoring at the cluster level.
Motivation and Context
Closes: #483
Breaking Changes
No.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request