forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compute
content_base64
for google_storage_bucket_object_content
This returns the same content present in the return object but exposed by using Base64 encoding. This is mostly useful for reading binary content. Our particular use case is to push the content of a WASM file to a Fastly Compute@Edge service. But this is also useful for other serverless services like AWS Lambda as well. This alongside including the hash sums for the source object content proposed in hashicorp/terraform-provider-google#13002, would allow us pushing content directly from Google Storage Object Content data source to Fastly Compute@Edge. AWS Lambda also uses the same version/content discrimination method of sending the content hash sum within the `source_code_hash` parameter. Sign-off-by: Gorka Lerchundi Osa <glertxundi@gmail.com>
- Loading branch information
1 parent
34ba4e8
commit 1133bc0
Showing
3 changed files
with
20 additions
and
6 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