-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
44 lines (37 loc) · 1.15 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
output "id" {
value = aws_s3_bucket.main.id
description = "The ID of the created S3 Bucket"
}
output "arn" {
value = aws_s3_bucket.main.arn
description = "The ARN of the created S3 Bucket"
}
output "domain_name" {
value = aws_s3_bucket.main.bucket_domain_name
description = "The domain name of the created S3 Bucket"
}
output "regional_domain_name" {
value = aws_s3_bucket.main.bucket_regional_domain_name
description = "The regional domain name of the created S3 Bucket"
}
output "website_endpoint" {
value = aws_s3_bucket.main.website_endpoint
description = "The endpoint of the S3 Bucket website"
}
output "website_domain" {
value = aws_s3_bucket.main.website_domain
description = "The domain name of the S3 Bucket website"
}
# Log Bucket
output "log_bucket_id" {
value = {
for k, bucket in aws_s3_bucket.main_log_bucket : k => bucket.id
}
description = "The ID of the created S3 log bucket (Found at index 0)"
}
output "log_bucket_arn" {
value = {
for k, bucket in aws_s3_bucket.main_log_bucket : k => bucket.arn
}
description = "The ARN of the created S3 log bucket (Found at index 0)"
}