forked from trussworks/terraform-aws-logs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
39 lines (32 loc) · 975 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
37
38
39
output "aws_logs_bucket" {
description = "ID of the S3 bucket containing AWS logs."
value = aws_s3_bucket.aws_logs.id
}
output "aws_logs_bucket_name" {
description = "ID / Name of the S3 bucket containing AWS logs."
value = aws_s3_bucket.aws_logs.id
}
output "aws_logs_bucket_arn" {
description = "ARN of the S3 bucket containing AWS logs."
value = aws_s3_bucket.aws_logs.arn
}
output "configs_logs_path" {
description = "S3 path for Config logs."
value = var.config_logs_prefix
}
output "elb_logs_path" {
description = "S3 path for ELB logs."
value = var.elb_logs_prefix
}
output "redshift_logs_path" {
description = "S3 path for RedShift logs."
value = var.redshift_logs_prefix
}
output "s3_bucket_policy" {
description = "S3 bucket policy"
value = data.aws_iam_policy_document.main
}
output "bucket_arn" {
description = "ARN of the S3 logs bucket"
value = aws_s3_bucket.aws_logs.arn
}