-
Notifications
You must be signed in to change notification settings - Fork 110
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
mfa_code attribute doesn't work #441
Comments
|
Hi @yuji-tamai thanks for reaching out. This sounds like a bug on with the Amazon integration. Do you know the version of the AWS version you are using? If you could provided a redacted Packer log that would be helpful. You can generate one by running |
@nywilken Thank you for your reply.
|
I can confirm this has been a problem for a number of months now: assume role + MFA does not work. Any combination of configurations we've tried: using Workaround we have found for this, is to use |
I'm trying to use Packer with AssumeRoke configured with MFA.
~/.aws/config
~/.aws/credentials
It works fine with AWS CLI.
How ever, an error occurs in packer, probably bacause the mfa_code attribute isn't effective.
sample.json
command
This error occurs whether the mfa_code attribute is present or not, and whether the value of mfa_code is correct or incorrect.
How can I make the mfa_code attribute effective?
The text was updated successfully, but these errors were encountered: