You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dataflow: fixed an issue where the provider would crash when `enableStreamingEngine` is set as a `parameter` value in `google_dataflow_flex_template_job`
return dataflow.FlexTemplateRuntimeEnvironment{}, nil, fmt.Errorf("error when handling parameters.enableStreamingEngine value: expected value to be true or false but got value `%s`", e)
*`name` - (Required) A unique name for the resource, required by Dataflow.
87
+
*`name` - (Required) Immutable. A unique name for the resource, required by Dataflow.
88
88
89
89
*`container_spec_gcs_path` - (Required) The GCS path to the Dataflow job Flex
90
90
Template.
91
91
92
92
- - -
93
93
94
+
*`additional_experiments` - (Optional) List of experiments that should be used by the job. An example value is `["enable_stackdriver_agent_metrics"]`.
95
+
96
+
*`autoscaling_algorithm` - (Optional) The algorithm to use for autoscaling.
97
+
94
98
*`parameters` - (Optional) Key/Value pairs to be passed to the Dataflow job (as
95
99
used in the template). Additional [pipeline options](https://cloud.google.com/dataflow/docs/guides/specifying-exec-params#setting-other-cloud-dataflow-pipeline-options)
96
100
such as `serviceAccount`, `workerMachineType`, etc can be specified here.
97
101
102
+
*`enable_streaming_engine` - (Optional) Immutable. Indicates if the job should use the streaming engine feature.
103
+
104
+
*`ip_configuration` - (Optional) The configuration for VM IPs. Options are `"WORKER_IP_PUBLIC"` or `"WORKER_IP_PRIVATE"`.
105
+
106
+
*`kms_key_name` - (Optional) The name for the Cloud KMS key for the job. Key format is: `projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY`
107
+
98
108
*`labels` - (Optional) User labels to be specified for the job. Keys and values
99
109
should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions)
100
110
page.
@@ -106,21 +116,39 @@ page.
106
116
*`effective_labels` -
107
117
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
108
118
119
+
*`launcher_machine_type` - (Optional) The machine type to use for launching the job. The default is n1-standard-1.
120
+
121
+
*`machine_type` - (Optional) The machine type to use for the job.
122
+
123
+
*`max_workers` - (Optional) Immutable. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
124
+
125
+
*`network` - (Optional) The network to which VMs will be assigned. If it is not provided, "default" will be used.
126
+
127
+
*`num_workers` - (Optional) Immutable. The initial number of Google Compute Engine instances for the job.
128
+
109
129
*`on_delete` - (Optional) One of "drain" or "cancel". Specifies behavior of
110
130
deletion during `terraform destroy`. See above note.
111
131
132
+
*`project` - (Optional) The project in which the resource belongs. If it is not
133
+
provided, the provider project is used.
134
+
135
+
*`region` - (Optional) Immutable. The region in which the created job should run.
136
+
137
+
*`sdk_container_image` - (Optional) Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
138
+
139
+
*`service_account_email` - (Optional) Service account email to run the workers as.
140
+
112
141
*`skip_wait_on_job_termination` - (Optional) If set to `true`, terraform will
113
142
treat `DRAINING` and `CANCELLING` as terminal states when deleting the resource,
114
143
and will remove the resource from terraform state and move on. See above note.
115
144
116
-
*`project` - (Optional) The project in which the resource belongs. If it is not
117
-
provided, the provider project is used.
145
+
*`staging_location` - (Optional) The Cloud Storage path to use for staging files. Must be a valid Cloud Storage URL, beginning with gs://.
118
146
119
-
*`region` - (Optional) The region in which the created job should run.
147
+
*`subnetwork` - (Optional) The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK".
120
148
121
-
*`service_account_email` - (Optional) Service account email to run the workers as.
149
+
*`temp_location` - (Optional) The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with gs://.
122
150
123
-
*`subnetwork` - (Optional) Compute Engine subnetwork for launching instances to run your pipeline.
151
+
*`transform_name_mapping` - (Optional) Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced with the corresponding name prefixes of the new job.Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced with the corresponding name prefixes of the new job.
124
152
125
153
## Attributes Reference
126
154
In addition to the arguments listed above, the following computed attributes are exported:
0 commit comments