cmedley
cmedley
@armenr we have multiple accounts and had same issue ... see if this works for you https://github.com/cmedley/terraforming/tree/support-assume-role (if it does, will open PR)
I will test as well and update over weekend ... need to remove the options[:client] from cli.rb and update the tests (but that wouldn't stop it from working) On Fri,...
@varunchandak @armenr created a new pull request for assume role support ... https://github.com/dtan4/terraforming/pull/379
@ddreggors think ec2 needs to go before the options $ terraforming ec2 --region ...
@dimisjim what does the command look like that you are using?
@dimisjim getting same error as you ... to make this work it looks like we need to pass serial number and token code in the params to support MFA devices....
@dimisjim got a PR https://github.com/dtan4/terraforming/pull/463 that adds MFA support to assume role. Should work using `terraforming s3 --profile= --assume= --mfa-serial= --token-code=`
@dimisjim can test this way ``` $ git clone https://github.com/dtan4/terraforming.git $ cd terraforming $ git fetch origin pull/463/head:assume-role-with-mfa-support $ git checkout assume-role-with-mfa-support $ bundle exec rake install $ terraforming s3...
FYI - We got it running on kubernetes using statefulset. We didn't know what needed to persist during restarts, so we started up the sapcc container on local and looked...
@gnnivlek ... apologize for delay ... just saw this .... + @PrabuddhaRaj Here are the commands that I used in init container. Let me know if that works for you...