HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/help/man/man1/gcloud_dataproc_workflow-templates.1
.TH "GCLOUD_DATAPROC_WORKFLOW\-TEMPLATES" 1



.SH "NAME"
.HP
gcloud dataproc workflow\-templates \- create and manage Dataproc workflow templates



.SH "SYNOPSIS"
.HP
\f5gcloud dataproc workflow\-templates\fR \fIGROUP\fR | \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

Create and manage Dataproc workflow templates.



.SH "EXAMPLES"

To create a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates create my_template
.RE

To instantiate a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates instantiate my_template
.RE

To instantiate a workflow template from a file, run:

.RS 2m
$ gcloud dataproc workflow\-templates instantiate\-from\-file \e
    \-\-file template.yaml
.RE

To delete a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates delete my_template
.RE

To view the details of a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates describe my_template
.RE

To see the list of all workflow templates, run:

.RS 2m
$ gcloud dataproc workflow\-templates list
.RE

To remove a job from a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates remove\-job my_template \e
    \-\-step\-id id
.RE

To update managed cluster in a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates set\-managed\-cluster \e
    my_template \-\-num\-masters 5
.RE

To update cluster selector in a workflow template, run:

.RS 2m
$ gcloud dataproc workflow\-templates set\-cluster\-selector \e
    my_template \-\-cluster\-labels environment=prod
.RE



.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-help.

Run \fB$ gcloud help\fR for details.



.SH "GROUPS"

\f5\fIGROUP\fR\fR is one of the following:

.RS 2m
.TP 2m
\fBadd\-job\fR

Add Dataproc jobs to workflow template.


.RE
.sp

.SH "COMMANDS"

\f5\fICOMMAND\fR\fR is one of the following:

.RS 2m
.TP 2m
\fBcreate\fR

Create a workflow template.

.TP 2m
\fBdelete\fR

Delete a workflow template.

.TP 2m
\fBdescribe\fR

Describe a workflow template.

.TP 2m
\fBexport\fR

Export a workflow template.

.TP 2m
\fBget\-iam\-policy\fR

Get IAM policy for a workflow template.

.TP 2m
\fBimport\fR

Import a workflow template.

.TP 2m
\fBinstantiate\fR

Instantiate a workflow template.

.TP 2m
\fBinstantiate\-from\-file\fR

Instantiate a workflow template from a file.

.TP 2m
\fBlist\fR

List workflow templates.

.TP 2m
\fBremove\-dag\-timeout\fR

Remove DAG timeout from a workflow template.

.TP 2m
\fBremove\-job\fR

Remove a job from workflow template.

.TP 2m
\fBset\-cluster\-selector\fR

Set cluster selector for the workflow template.

.TP 2m
\fBset\-dag\-timeout\fR

Set DAG timeout on a workflow template.

.TP 2m
\fBset\-iam\-policy\fR

Set IAM policy for a template.

.TP 2m
\fBset\-managed\-cluster\fR

Set a managed cluster for the workflow template.


.RE
.sp

.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha dataproc workflow\-templates
.RE

.RS 2m
$ gcloud beta dataproc workflow\-templates
.RE