Skip to content

Commit

Permalink
Add output (#4)
Browse files Browse the repository at this point in the history
* bump versions

* add output for bucket domain
  • Loading branch information
cdaniluk authored May 19, 2020
1 parent f6c8b66 commit f7b9f0d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.19.0
rev: v1.24.0
hooks:
- id: terraform_fmt
- id: terraform_docs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v2.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand Down
2 changes: 1 addition & 1 deletion .terraform-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.12.13
0.12.23
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module "s3logging-bucket" {
| Name | Description |
|------|-------------|
| s3logging\_bucket\_arn | The ARN of the bucket |
| s3logging\_bucket\_domain\_name | The domain name of the bucket |
| s3logging\_bucket\_name | The name of the bucket |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
6 changes: 5 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ output "s3logging_bucket_arn" {
value = aws_s3_bucket.s3logging_bucket.arn
}

output "s3logging_bucket_domain_name" {
description = "The domain name of the bucket"
value = aws_s3_bucket.s3logging_bucket.bucket_domain_name
}

output "s3logging_bucket_name" {
description = "The name of the bucket"
value = aws_s3_bucket.s3logging_bucket.bucket
}

0 comments on commit f7b9f0d

Please sign in to comment.