forked from telia-oss/terraform-aws-terraform-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
28 lines (23 loc) · 787 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# ------------------------------------------------------------------------------
# Output
# ------------------------------------------------------------------------------
output "bucket_id" {
description = "The name of the bucket."
value = aws_s3_bucket.state.id
}
output "table_id" {
description = "The name of the table."
value = aws_dynamodb_table.lock.id
}
output "kms_key_arn" {
description = "The Amazon Resource Name (ARN) of the key."
value = aws_kms_key.encrypt.arn
}
output "kms_key_id" {
description = "The globally unique identifier for the key."
value = aws_kms_key.encrypt.key_id
}
output "kms_key_alias_arn" {
description = "The Amazon Resource Name (ARN) of the key alias."
value = aws_kms_alias.encrypt-alias.arn
}