Skip to content

Commit 9d6ded1

Browse files
committed
CCM-10231: Adding multi-region kms key support
1 parent e9b4d36 commit 9d6ded1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infrastructure/modules/kms/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ output "replica_key_arn" {
2525

2626
output "replica_key_id" {
2727
description = "ID of the Replica KMS key"
28-
value = length(aws_kms_replica_key.replica) > 0 ? aws_kms_replica_key.replica[0].key_id : null
28+
value = try(aws_kms_replica_key.replica[0].key_id, null)
2929
}

0 commit comments

Comments
 (0)