-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for service account impersonation with computeEngineSSHHook (google provider) and IAP tunnel #35136
Conversation
It will need unit test. We rarely accept changes without corresponding unit tests - mostly when they are difficult to write. This one seems quite reasonable. |
Roger! |
The simplest way have a look how it done in other Google Provider test, for example airflow/tests/providers/google/marketing_platform/operators/test_analytics.py Lines 56 to 77 in 6c62985
L65: Provide some value to operator |
Hey! |
Hello @potiuk and @Taragolis! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not familiar with GCP but look good to me
@shahar1 can you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eladkal LGTM :)
Hello thanks for your review! |
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
Just wait until PR gets green and merged by a committer. |
Thanks a lot for your reviews and information. |
…ok (google provider) and IAP tunnel (#35136) --------- Co-authored-by: gcazalet <[email protected]>
Hello !
This PR aims to solve the issue where we can't use service account impersonation when we want to connect with ssh between 2 Google Compute Engine instances.
It is a new version of an old PR i submitted but i did not have the proper specs/money/time to test the code. Now I have them, am willing to learn on the testing side given how newbie i am on this part.
I'll check the airflow developers guideline again meanwhile, i submit this piece of code which add service account impersonation support for ssh connections between 2 GCE instances using IAP tunneling