We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eaf5dfa + 441df94 commit 06b5ddcCopy full SHA for 06b5ddc
outputs.tf
@@ -1,5 +1,5 @@
1
output "kms_key_id" {
2
- value = aws_kms_key.this[0].key_id
+ value = length(aws_kms_key.this) > 0 ? aws_kms_key.this[*].key_id : null
3
description = "The provisioned KMS key id"
4
}
5
0 commit comments