Google Cloud LaunchFlexTemplate

Google Cloud LaunchFlexTemplate

Certified

Launch a Flex Template Dataflow job

Starts a Dataflow pipeline defined as a Flex Template packaged in a Docker container image.

yaml
type: io.kestra.plugin.gcp.dataflow.LaunchFlexTemplate

Launch a Flex Template job.

yaml
id: dataflow_flex_template
namespace: company.team

tasks:
  - id: launch
    type: io.kestra.plugin.gcp.dataflow.LaunchFlexTemplate
    projectId: "{{ secret('GCP_PROJECT_ID') }}"
    location: us-central1
    jobName: my-flex-job
    containerSpecGcsPath: gs://my-bucket/flex-templates/spec.json
    parameters:
      inputSubscription: projects/my-project/subscriptions/my-sub
      outputTable: my-project:my_dataset.my_table
    environment:
      maxWorkers: 10
Properties

The Cloud Storage path to the Flex Template container spec JSON file

The unique job name

The regional endpoint (e.g. us-central1)

Template runtime environment options

The GCP service account to impersonate

Template parameters

Reference (ref) of the pluginDefaults to apply to this task.

The GCP project ID

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

The GCP scopes to be used

The GCP service account

The launched job ID

The job state