This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add http media_link url for resume as output, differentiate name form…
… reume_gs_url for use wiht the gsutil CLI
- Loading branch information
1 parent
57ad87f
commit 927bd80
Showing
5 changed files
with
26 additions
and
13 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,11 +1,19 @@ | ||
output "storage_bucket_name" { | ||
value = google_storage_bucket.default.name | ||
description = "The name of the Google Cloud bucket. has a UUID appended to the name passed in to ensure uniqueness" | ||
value = google_storage_bucket.default.name | ||
} | ||
|
||
output "bucket_url" { | ||
value = google_storage_bucket.default.url | ||
description = "The Cloud Storage URL of the content bucket" | ||
value = google_storage_bucket.default.url | ||
} | ||
|
||
output "resume_url" { | ||
value = "${google_storage_bucket.default.url}/${google_storage_bucket_object.resume.name}" | ||
output "resume_gs_url" { | ||
description = "The Google Cloud Storage URL of the resume object" | ||
value = "${google_storage_bucket.default.url}/${google_storage_bucket_object.resume.name}" | ||
} | ||
|
||
output "resume_http_url" { | ||
description = "The HTTP URL of the resume object" | ||
value = google_storage_bucket_object.resume.media_link | ||
} |