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

fix(aws): fixes ec2.client instantiation with no region + updated region handling #167

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

carlosmmatos
Copy link
Contributor

This PR fixes an issue were when creating an ec2 client, a boto exception would occur because no region was passed in. Since we are already getting a region from the config, using this fixes the issue.

On top of that, the existing way we were using config.get('aws', 'region') all over the place didn't make sense. So now we initialize it and use it accordingly.

@carlosmmatos carlosmmatos added the bugfixes Fixes issues found in code label Oct 12, 2023
@carlosmmatos carlosmmatos self-assigned this Oct 12, 2023
@redhatrises redhatrises merged commit e2935a5 into CrowdStrike:main Oct 12, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfixes Fixes issues found in code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants