-
Notifications
You must be signed in to change notification settings - Fork 32
/
outputs.tf
37 lines (31 loc) · 824 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
28
29
30
31
32
33
34
35
36
/*
* Module: terraform-aws-backend
*
* Outputs:
* - s3_backend_bucket_name
* - dynamodb_lock_table_name
* - dynamodb_lock_table_arn
* - dynamodb_lock_table_stream_arn
* - dynamodb_lock_table_stream_label
* - s3_kms_key_id
*
*/
output "s3_backend_bucket_name" {
value = join(
"",
aws_s3_bucket.tf_backend_bucket.*.id,
aws_s3_bucket.tf_backend_bucket.*.id,
)
}
output "dynamodb_lock_table_name" {
value = aws_dynamodb_table.tf_backend_state_lock_table.*.id
}
output "dynamodb_lock_table_arn" {
value = aws_dynamodb_table.tf_backend_state_lock_table.*.arn
}
output "dynamodb_lock_stream_arn" {
value = aws_dynamodb_table.tf_backend_state_lock_table.*.stream_arn
}
output "dynamodb_lock_stream_label" {
value = aws_dynamodb_table.tf_backend_state_lock_table.*.stream_label
}