» google_storage_bucket_object

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

» Example Usage

Example picture stored within a folder.

data "google_storage_bucket_object" "picture" {
  name   = "folder/butterfly01.jpg"
  bucket = "image-store"
}

» Argument Reference

The following arguments are supported:

  • bucket - (Required) The name of the containing bucket.

  • name - (Required) The name of the object.

» Attributes Reference

The following attributes are exported: