CreateBucketIamPolicy​Create​Bucket​Iam​Policy

Add role on an existing GCS bucket.

yaml
type: "io.kestra.plugin.gcp.gcs.CreateBucketIamPolicy"

Add role to a service account on a bucket

yaml
id: gcp_gcs_create_bucket_iam_policy
namespace: company.team

tasks:
  - id: create_bucket_iam_policy
    type: io.kestra.plugin.gcp.gcs.CreateBucketIamPolicy
    name: "my-bucket"
    member: "[email protected]"
    role: "roles/storage.admin"
Properties

Bucket's unique name

Bucket's unique name

Bucket's unique name

Default SKIP
Possible Values
ERRORSKIP

Policy to apply if a policy already exists.

The GCP service account to impersonate.

The GCP project ID.

SubType string
Default ["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used.

The GCP service account.

The bucket uri

If the binding was added, or already exist

The bucket uri

The bucket uri