potiuk commented on a change in pull request #4500: [AIRFLOW-3681] All GCP 
operators have now optional GCP Project ID
URL: https://github.com/apache/airflow/pull/4500#discussion_r247326322
 
 

 ##########
 File path: docs/howto/operator.rst
 ##########
 @@ -730,6 +813,9 @@ Some arguments in the example DAG are taken from 
environment variables.
 Using the operator
 """"""""""""""""""
 
+You can create the operator with or without project id. If project id is 
missing
+it will be retrieved from the service account used. Both variants are shown:
 
 Review comment:
   Yeah. That was a mental shortcut. In our environment we are using a service 
account to run GCP operation and we set project id from that service account as 
project_id parameter of the connection - so for use it's the service account's 
default project_id. But indeed in airflow terms it is a connection's project_id 
attribute value. Fixed

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to