From 6d4fbd4cd3ec3560228cf7c4fe9f529810f1678c Mon Sep 17 00:00:00 2001 From: Nuru Date: Fri, 25 Aug 2023 21:24:56 -0700 Subject: [PATCH] Set status to "Disabled" rather than "null" by default --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index c6e14132..bd882e22 100644 --- a/main.tf +++ b/main.tf @@ -282,10 +282,10 @@ resource "aws_s3_bucket_replication_configuration" "default" { content { replica_modifications { - status = try(source_selection_criteria.value.replica_modifications.status, null) + status = try(source_selection_criteria.value.replica_modifications.status, "Disabled") } sse_kms_encrypted_objects { - status = try(source_selection_criteria.value.sse_kms_encrypted_objects.status, null) + status = try(source_selection_criteria.value.sse_kms_encrypted_objects.status, "Disabled") } } }