Skip to content

Commit

Permalink
Set status to "Disabled" rather than "null" by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Aug 26, 2023
1 parent 93d3b13 commit 6d4fbd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit 6d4fbd4

Please sign in to comment.