
CreateBucketIamPolicy
Add role on an existing GCS bucket.
CreateBucketIamPolicy
Add role on an existing GCS bucket.
Add role on an existing GCS bucket.
yaml
type: "io.kestra.plugin.gcp.gcs.CreateBucketIamPolicy"Examples
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
member*Requiredstring
name*Requiredstring
role*Requiredstring
Bucket's unique name
ifExistsstring
Default
SKIPPossible Values
ERRORSKIPPolicy to apply if a policy already exists.
impersonatedServiceAccountstring
The GCP service account to impersonate.
projectIdstring
The GCP project ID.
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccountstring
The GCP service account.
Outputs
bucketstring
createdboolean
If the binding was added, or already exist
memberstring
rolestring
The bucket uri