forked from gurpalw/terraform-aws-s3-cloudtrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
28 lines (23 loc) · 852 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
# Output Configuration
#
# https://www.terraform.io/docs/configuration/outputs.html
output "s3_bucket_id" {
value = "${aws_s3_bucket.default.id}"
description = "The name of the bucket."
}
output "s3_bucket_arn" {
value = "${aws_s3_bucket.default.arn}"
description = "The ARN of the bucket. Will be of format arn:aws:s3:::bucketname."
}
output "s3_bucket_domain_name" {
value = "${aws_s3_bucket.default.bucket_domain_name}"
description = "The bucket domain name. Will be of format bucketname.s3.amazonaws.com."
}
output "s3_bucket_hosted_zone_id" {
value = "${aws_s3_bucket.default.hosted_zone_id}"
description = "The Route 53 Hosted Zone ID for this bucket's region."
}
output "s3_bucket_region" {
value = "${aws_s3_bucket.default.region}"
description = "The AWS region this bucket resides in."
}