Skip to content
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

Enhance AwsBaseHookAsync to support assume role role_arn passed via extra_config in the airflow connection #804

Merged
merged 5 commits into from Dec 14, 2022

Conversation

bharanidharan14
Copy link
Contributor

@bharanidharan14 bharanidharan14 commented Dec 5, 2022

Previously aiobotocore doesn't support assume role with role_arn. Now added support for assuming role option in AwsBaseHookAsync

closes: #786

@bharanidharan14 bharanidharan14 changed the title WIP: Support assume role for aws base async hook Support assume role for AWS base async hook Dec 6, 2022
@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Base: 98.50% // Head: 98.51% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (4f52973) compared to base (5d655dc).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #804   +/-   ##
=======================================
  Coverage   98.50%   98.51%           
=======================================
  Files          87       87           
  Lines        4759     4777   +18     
=======================================
+ Hits         4688     4706   +18     
  Misses         71       71           
Impacted Files Coverage Δ
astronomer/providers/amazon/aws/hooks/base_aws.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bharanidharan14
Copy link
Contributor Author

@rajaths010494 @pankajastro @pankajkoti @phanikumv Can you review this PR

@bharanidharan14 bharanidharan14 merged commit 2811c8b into main Dec 14, 2022
@bharanidharan14 bharanidharan14 deleted the aws-async-hook-786 branch December 14, 2022 13:56
@bharanidharan14 bharanidharan14 changed the title Support assume role for AWS base async hook Enhance AwsBaseHookAsync to support assume role role_arn passed via extra_config in the airflow connection Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support assuming roles in async AWS provider using aiobotocore
3 participants