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

Support AWS profile when accessing Glue, S3 #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chronitis
Copy link

This is a (minimal) fix for #55 - direct construction of boto3.{Client,Resource} is replaced by constructing a boto3.session.Session (passing both region_name and aws_profile_name from the credentials, so they'll be used if non-null) and then using that to access resources.

@chronitis chronitis changed the title impl: support profile_name when accessing Glue, S3 Support AWS profile when accessing Glue, S3 Jan 20, 2022
@chronitis
Copy link
Author

chronitis commented Feb 16, 2022

Rebased on 1.0.1

@grufino
Copy link

grufino commented Aug 20, 2022

hey @chronitis only saw this now, I think we are solving the same issue but on two different places in slightly different ways: #124, we should probably stick to the same solution and use on both places (probably on others that call a new client as well)

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.

2 participants