google_storage_bucket_object_content

Gets an existing object content inside an existing bucket in Google Cloud Storage service (GCS). See the official documentation and API.

Example Usage

Example file object stored within a folder.

data "google_storage_bucket_object_content" "key" {
  name   = "encryptedkey"
  bucket = "keystore"
}

output "encrypted" {
  value = data.google_storage_bucket_object_content.key.content
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: