forked from cloudposse/terraform-aws-tfstate-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.tf
29 lines (24 loc) · 1 KB
/
output.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
output "s3_bucket_domain_name" {
value = "${aws_s3_bucket.default.bucket_domain_name}"
description = "S3 bucket domain name"
}
output "s3_bucket_id" {
value = "${aws_s3_bucket.default.id}"
description = "S3 bucket ID"
}
output "s3_bucket_arn" {
value = "${aws_s3_bucket.default.arn}"
description = "S3 bucket ARN"
}
output "dynamodb_table_name" {
value = "${element(coalescelist(aws_dynamodb_table.with_server_side_encryption.*.name, aws_dynamodb_table.without_server_side_encryption.*.name), 0)}"
description = "DynamoDB table name"
}
output "dynamodb_table_id" {
value = "${element(coalescelist(aws_dynamodb_table.with_server_side_encryption.*.id, aws_dynamodb_table.without_server_side_encryption.*.id), 0)}"
description = "DynamoDB table ID"
}
output "dynamodb_table_arn" {
value = "${element(coalescelist(aws_dynamodb_table.with_server_side_encryption.*.arn, aws_dynamodb_table.without_server_side_encryption.*.arn), 0)}"
description = "DynamoDB table ARN"
}