-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Get logging with s3 bucket * Get logging with s3 bucket * Logging * Added logging * Added main * Update main.tf Co-Authored-By: Erik Osterman <erik@cloudposse.com> * Added access logs bucket
- Loading branch information
Showing
6 changed files
with
232 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,34 @@ | ||
output "bucket_domain_name" { | ||
value = "${module.s3_bucket.bucket_domain_name}" | ||
value = "${var.enabled == "true" ? join("", aws_s3_bucket.default.*.bucket_domain_name) : ""}" | ||
description = "FQDN of bucket" | ||
} | ||
|
||
output "bucket_id" { | ||
value = "${module.s3_bucket.bucket_id}" | ||
description = "Bucket ID" | ||
value = "${var.enabled == "true" ? join("", aws_s3_bucket.default.*.id) : ""}" | ||
description = "Bucket Name (aka ID)" | ||
} | ||
|
||
output "bucket_arn" { | ||
value = "${module.s3_bucket.bucket_arn}" | ||
value = "${var.enabled == "true" ? join("", aws_s3_bucket.default.*.arn) : ""}" | ||
description = "Bucket ARN" | ||
} | ||
|
||
output "access_logs_bucket_id" { | ||
value = "${module.access_logs_bucket.bucket_id}" | ||
description = "Access logs bucket name (aka ID)" | ||
} | ||
|
||
output "access_logs_bucket_arn" { | ||
value = "${module.access_logs_bucket.bucket_arn}" | ||
description = "Access logs bucket ARN" | ||
} | ||
|
||
output "prefix" { | ||
value = "${module.s3_bucket.prefix}" | ||
value = "${var.lifecycle_prefix}" | ||
description = "Prefix configured for lifecycle rules" | ||
} | ||
|
||
output "enabled" { | ||
value = "${var.enabled}" | ||
description = "Is module enabled" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters