If I have a Dataproc workflow template scheduled using a Cloud Composer, Can I pass values to my dataproc jobs that are present inside Workflow Template through the Cloud Composer environment? If yes please mention the source. Thanks in advance!
If I have a Dataproc workflow template scheduled using a Cloud Composer, Can I pass values to my dataproc jobs that are present inside Workflow Template through the Cloud Composer environment? If yes please mention the source. Thanks in advance!
If you use DataprocInstantiateWorkflowTemplateOperator operator then you can use parameters argument which is "a map of parameters for Dataproc Template".
The fact that the parameters argument is one of templated fields means it can be configured using for example:
{{ dag_run.conf }}){{ var.value.get('my.var', 'fallback') }})os.environ.get)You can also hardcode this parameters if you don't need option to change them from time to time.