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 bug in clone-instance when MFA is enforced #157

Merged
merged 1 commit into from
Mar 26, 2019
Merged

Conversation

bbergstrom
Copy link
Contributor

@bbergstrom bbergstrom commented Mar 26, 2019

What

Re-use existing EC2 API client that has AWS session token authenticated with MFA token.

https://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Subnet.html#initialize-instance_method

Why

If MFA is enforced through IAM policies, this direct subnet call will fail.

@production-status-check
Copy link

:octocat: Has QA approval

@bbergstrom bbergstrom merged commit 8b1ec67 into master Mar 26, 2019
bbergstrom pushed a commit that referenced this pull request Mar 26, 2019
@emmahsax emmahsax deleted the clone-mfa-bug branch July 14, 2020 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants