Skip to content

Commit

Permalink
Make sure replica_kms_key_id is truly empty
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan242 authored Aug 14, 2024
1 parent 6a10a1f commit c75fe9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ resource "aws_s3_bucket_replication_configuration" "default" {
dynamic "encryption_configuration" {
for_each = try(
[rule.value.destination.encryption_configuration.replica_kms_key_id],
[rule.value.destination.replica_kms_key_id],
[compact(rule.value.destination.replica_kms_key_id)],
[]
)

Expand Down

0 comments on commit c75fe9f

Please sign in to comment.