File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
operations/deployment/terraform/modules/aws/aurora Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ resource "aws_rds_cluster" "aurora" {
93
93
port = var. aws_aurora_database_port
94
94
# Extras
95
95
performance_insights_enabled = var. aws_aurora_performance_insights_enable
96
- performance_insights_retention_period = var. aws_aurora_performance_insights_retention
97
- performance_insights_kms_key_id = var. aws_aurora_performance_insights_kms_key_id
96
+ performance_insights_retention_period = var. aws_aurora_performance_insights_enable ? var . aws_aurora_performance_insights_retention : null
97
+ performance_insights_kms_key_id = var. aws_aurora_performance_insights_enable ? var . aws_aurora_performance_insights_kms_key_id : null
98
98
dynamic "restore_to_point_in_time" {
99
99
for_each = length (var. aws_aurora_restore_to_point_in_time ) > 0 ? [var . aws_aurora_restore_to_point_in_time ] : []
100
100
You can’t perform that action at this time.
0 commit comments