Skip to content

Commit 311a136

Browse files
authored
add info about Dataflow region availability (GoogleCloudPlatform#6556)
1 parent 8422f8e commit 311a136

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

composer/airflow_1_samples/dataproc_workflow_template_instantiate_operator_tutorial.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
template_id="sparkpi",
5656
project_id=project_id,
5757
# The region for the template
58+
# For more info on regions where Dataflow is available see:
59+
# https://cloud.google.com/dataflow/docs/resources/locations
5860
region="us-central1",
5961
)
6062

composer/workflows/dataflowtemplateoperator_tutorial.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
* project_id - Google Cloud Project ID to use for the Cloud Dataflow cluster.
2424
* gce_zone - Google Compute Engine zone where Cloud Dataflow cluster should be
2525
created.
26-
* gce_region - Google Compute Engine region where Cloud Dataflow cluster should be
27-
created.
28-
Learn more about the difference between the two here:
29-
https://cloud.google.com/compute/docs/regions-zones
26+
For more info on zones where Dataflow is available see:
27+
https://cloud.google.com/dataflow/docs/resources/locations
3028
* bucket_path - Google Cloud Storage bucket where you've stored the User Defined
3129
Function (.js), the input file (.txt), and the JSON schema (.json).
3230
"""

0 commit comments

Comments
 (0)