CLI
Execute any Google Cloud CLI command directly from your workflows. Automate GCP operations using the full power of the gcloud CLI.
Execute tasks and orchestrate workflows across Google Cloud Platform services. Centralize authentication and resource management for seamless GCP integration.
All tasks must be authenticated for the Google Cloud Platform. You can do it in multiple ways:
serviceAccount property that must contain the service account JSON content. It can be handy to set this property globally by using plugin defaults if your cluster accesses only one GCP project.GOOGLE_APPLICATION_CREDENTIALS environment variable on the nodes running Kestra. It must point to an application credentials file. Warning: it must be the same on all worker nodes and can cause some security concerns.You can also set authentication scopes. By default only one scope is used: https://www.googleapis.com/auth/cloud-platform.
Each task allows you to configure the GCP project identifier in the projectId property. If not set, the default project identifier will be used (the one returned by ServiceOptions.getDefaultProjectId()). Set this property globally by using plugin defaults if your cluster accesses only one GCP project.