-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
29 lines (24 loc) · 1.17 KB
/
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
output "this_s3_bucket_id" {
description = "The name of the bucket"
value = "${element(concat(aws_s3_bucket.this.*.id, list("")), 0)}"
}
output "this_s3_bucket_arn" {
description = "The ARN of the bucket. Will be of format arn:aws:s3:::bucketname"
value = "${element(concat(aws_s3_bucket.this.*.arn, list("")), 0)}"
}
output "this_s3_bucket_bucket_domain_name" {
description = "The bucket domain name. Will be of format bucketname.s3.amazonaws.com"
value = "${element(concat(aws_s3_bucket.this.*.bucket_domain_name, list("")), 0)}"
}
output "this_s3_bucket_bucket_regional_domain_name" {
description = "The bucket region-specific domain name. The bucket domain name including the region name"
value = "${element(concat(aws_s3_bucket.this.*.bucket_regional_domain_name, list("")), 0)}"
}
output "this_s3_bucket_hosted_zone_id" {
description = "The Route 53 Hosted Zone ID for this bucket's region"
value = "${element(concat(aws_s3_bucket.this.*.hosted_zone_id, list("")), 0)}"
}
output "this_s3_bucket_region" {
description = "The AWS region this bucket resides in"
value = "${element(concat(aws_s3_bucket.this.*.region, list("")), 0)}"
}