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

AIRFLOW-5126 Read aws_session_token in extra_config of the aws hook #6303

Merged
merged 2 commits into from
Oct 16, 2019
Merged

AIRFLOW-5126 Read aws_session_token in extra_config of the aws hook #6303

merged 2 commits into from
Oct 16, 2019

Conversation

jogueber
Copy link
Contributor

Description

Read a temporary token in case it is present this is important, if you don't manage the session token through Airflow but rather you use something like vault to manage these.

Tests

adjusted existing test to also parse the session token not other impact.

@codecov-io
Copy link

codecov-io commented Oct 11, 2019

Codecov Report

Merging #6303 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6303      +/-   ##
==========================================
- Coverage   80.36%   80.35%   -0.01%     
==========================================
  Files         616      616              
  Lines       35763    35765       +2     
==========================================
- Hits        28740    28739       -1     
- Misses       7023     7026       +3
Impacted Files Coverage Δ
airflow/contrib/hooks/aws_hook.py 77.01% <100%> (+0.54%) ⬆️
airflow/utils/dag_processing.py 58.4% <0%> (-0.5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 133085e...af5be89. Read the comment docs.

@mik-laj mik-laj added the provider:amazon-aws AWS/Amazon - related issues label Oct 12, 2019
@jogueber
Copy link
Contributor Author

OKay @ashb I changed that and left it as implemented in the original does that work?

airflow/contrib/hooks/aws_hook.py Outdated Show resolved Hide resolved
Copy link
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update docs/howto/connection/aws.rst

@jogueber jogueber requested a review from ashb October 14, 2019 15:10
airflow/contrib/hooks/aws_hook.py Outdated Show resolved Hide resolved
docs/howto/connection/aws.rst Show resolved Hide resolved
@jogueber jogueber requested a review from ashb October 15, 2019 06:59
@ashb
Copy link
Member

ashb commented Oct 15, 2019

@jojo19893 What was your latest force-push for? You'd pushed over me removing a now "floating" comment.

@ashb ashb merged commit d4e282d into apache:master Oct 16, 2019
ashb pushed a commit to ashb/airflow that referenced this pull request Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants