CreateBucketIamPolicy
Add role on an existing 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"
Dynamic
YES
Bucket's unique name
Dynamic
YES
Bucket's unique name
Dynamic
YES
Bucket's unique name
Dynamic
YES
Default
SKIP
Possible Values
ERROR
SKIP
Policy to apply if a policy already exists.
Dynamic
YES
The GCP service account to impersonate.
Dynamic
YES
The GCP project ID.
SubType string
Dynamic
YES
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
Dynamic
YES
The GCP service account.
The bucket uri
If the binding was added, or already exist
The bucket uri
The bucket uri