Commit 7c003c4c authored by hato221's avatar hato221 Committed by Anton Babenko

Add support of performance_insights_enabled (#132)

parent 05360c28
......@@ -93,6 +93,8 @@ module "db_instance" {
copy_tags_to_snapshot = "${var.copy_tags_to_snapshot}"
final_snapshot_identifier = "${var.final_snapshot_identifier}"
performance_insights_enabled = "${var.performance_insights_enabled}"
backup_retention_period = "${var.backup_retention_period}"
backup_window = "${var.backup_window}"
......
......@@ -61,6 +61,8 @@ resource "aws_db_instance" "this" {
copy_tags_to_snapshot = "${var.copy_tags_to_snapshot}"
final_snapshot_identifier = "${var.final_snapshot_identifier}"
performance_insights_enabled = "${var.performance_insights_enabled}"
backup_retention_period = "${var.backup_retention_period}"
backup_window = "${var.backup_window}"
......@@ -119,6 +121,8 @@ resource "aws_db_instance" "this_mssql" {
copy_tags_to_snapshot = "${var.copy_tags_to_snapshot}"
final_snapshot_identifier = "${var.final_snapshot_identifier}"
performance_insights_enabled = "${var.performance_insights_enabled}"
backup_retention_period = "${var.backup_retention_period}"
backup_window = "${var.backup_window}"
......
......@@ -213,3 +213,8 @@ variable "deletion_protection" {
description = "The database can't be deleted when this value is set to true."
default = false
}
variable "performance_insights_enabled" {
description = "Specifies whether Performance Insights are enabled"
default = false
}
......@@ -273,3 +273,8 @@ variable "use_parameter_group_name_prefix" {
description = "Whether to use the parameter group name prefix or not"
default = true
}
variable "performance_insights_enabled" {
description = "Specifies whether Performance Insights are enabled"
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