Skip to content

Commit 4373b2b

Browse files
authored
fix: reserved instance multi_az setting (#248)
1 parent 75cc76a commit 4373b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ data "aws_rds_reserved_instance_offering" "default" {
100100
count = local.use_reserved_instances ? 1 : 0
101101
db_instance_class = var.instance_type
102102
duration = var.rds_ri_duration
103-
multi_az = local.is_regional_cluster
103+
multi_az = local.cluster_instance_count > 1
104104
offering_type = var.rds_ri_offering_type
105105
product_description = local.reserved_instance_engine
106106
}

0 commit comments

Comments
 (0)