Skip to main content

gcp_cloud_storage cache

Use a Google Cloud Storage bucket as a cache.

# Config fields, showing default values
cache_resources:
- label: ""
gcp_cloud_storage:
bucket: "" # No default (required)
content_type: "" # No default (optional)
credentials_json: ""

It is not possible to atomically upload cloud storage objects exclusively when the target does not already exist, therefore this cache is not suitable for deduplication.

Fields

bucket

The Google Cloud Storage bucket to store items in.

Type: string

content_type

Optional field to explicitly set the Content-Type.

Type: string

credentials_json

An optional field to set Google Service Account Credentials json.

Secret

This field contains sensitive information. Use a secret reference rather than a literal value.

Type: string
Default: ""