We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaf5dfa commit 441df94Copy full SHA for 441df94
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