diff --git a/tf_files/aws/modules/aurora/main.tf b/tf_files/aws/modules/aurora/main.tf index f1dc7074..aeb2b620 100644 --- a/tf_files/aws/modules/aurora/main.tf +++ b/tf_files/aws/modules/aurora/main.tf @@ -34,6 +34,10 @@ resource "aws_rds_cluster" "postgresql" { max_capacity = var.serverlessv2_scaling_max_capacity min_capacity = var.serverlessv2_scaling_min_capacity } + + lifecycle { + ignore_changes = [engine_version] + } } # Aurora Cluster Instance @@ -45,6 +49,10 @@ resource "aws_rds_cluster_instance" "postgresql" { instance_class = var.cluster_instance_class engine = aws_rds_cluster.postgresql.engine engine_version = aws_rds_cluster.postgresql.engine_version + + lifecycle { + ignore_changes = [engine_version] + } } diff --git a/tf_files/aws/modules/squid_nlb_central_csoc/cloud.tf b/tf_files/aws/modules/squid_nlb_central_csoc/cloud.tf index 12584877..01d1bd00 100644 --- a/tf_files/aws/modules/squid_nlb_central_csoc/cloud.tf +++ b/tf_files/aws/modules/squid_nlb_central_csoc/cloud.tf @@ -224,7 +224,7 @@ resource "aws_launch_template" "squid_nlb" { user_data = sensitive(base64encode( <