gcp_cloud_storage
This component is mostly stable but breaking changes could still be made outside of major version releases if a fundamental problem with the component is found.
Use a Google Cloud Storage bucket as a cache.
- Common
- Advanced
# Common config fields, showing default values
label: ""
gcp_cloud_storage:
bucket: "" # No default (required)
content_type: "" # No default (optional)
# All config fields, showing default values
label: ""
gcp_cloud_storage:
bucket: "" # No default (required)
content_type: "" # No default (optional)
credentials:
impersonate_service_account: ""
impersonate_delegates: []
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
Optional manual configuration of GCP credentials to use. More information can be found in this document.
Type: object
Requires version 1.22.0 or newer
credentials.impersonate_service_account
The email address of a service account to impersonate. The base credentials (Application Default Credentials) must be granted roles/iam.serviceAccountTokenCreator on this service account, or on the first delegate when impersonate_delegates is set.
Type: string
Default: ""
# Examples
impersonate_service_account: target@my-project.iam.gserviceaccount.com
credentials.impersonate_delegates
An optional chain of service account email addresses to delegate through when impersonating. Each service account must be granted roles/iam.serviceAccountTokenCreator on the next service account in the chain, with the final one granted on impersonate_service_account.
Type: array
Default: []