Terraform aws needs my 2fa code in BitBucket pipeline

SteveButton February 25, 2020

Hi,

 

I'm trying to set up a BitBucket pipeline to build my terraform code, but I need to supply my 2fa code from Google Authenticator before I can run "aws sts get-session-token" which is how I currently do it on the CLI. 

 

Any suggestions about how to handle this? 

 

Also, I've built a custom docker image which is based on the atlassian-default image, but just adds terraform, and awscli. Is this the correct approach? 

 

Thanks,

 

Steve 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events