diff --git a/modules/simple_bucket/README.md b/modules/simple_bucket/README.md index a6c73c89..a17b0d54 100644 --- a/modules/simple_bucket/README.md +++ b/modules/simple_bucket/README.md @@ -60,6 +60,8 @@ Functional examples are included in the | Name | Description | |------|-------------| | bucket | The created storage bucket | +| name | Bucket name. | +| url | Bucket URL. | diff --git a/modules/simple_bucket/outputs.tf b/modules/simple_bucket/outputs.tf index 73d8dacc..6a9f5483 100644 --- a/modules/simple_bucket/outputs.tf +++ b/modules/simple_bucket/outputs.tf @@ -18,3 +18,13 @@ output "bucket" { description = "The created storage bucket" value = google_storage_bucket.bucket } + +output "name" { + description = "Bucket name." + value = google_storage_bucket.bucket.name +} + +output "url" { + description = "Bucket URL." + value = google_storage_bucket.bucket.url +}