Hello everyone, first of all thank you for working...
# help
p
Hello everyone, first of all thank you for working on this amazing piece of software ❤️ I am currently stuck trying to deploy my first stack, a simple hello world. When running 'npx sst deploy' I get stuck at the MFA phase, I put in the code(nothing shows, like a sudo password prompt), I press enter, nothing happens.
t
I'm not super familiar with the MFA flow since I use AWS SSO. However can you try running an aws cli command? That might trigger the MFA and keep your credentials up to date and not need them when using sst
p
No luck, it is properly cached on the CLI, I can list my buckets without the need of the MFA after the first time, but npx still asks me and I can't move forward.
--verbose didnt really add anything
t
typing it in there and pressing enter doesn't work?
think I'll need @Frank to chime in
p
No, it gives no feedback, wrong or right
f
Hey @Paulo Silva, SST has a known issue with MFA enabled AWS profiles https://github.com/serverless-stack/serverless-stack/issues/121
Are you blocked by this? I can bump up the priority on this.
d
we've scripted this MFA auth at Canopy. i wonder if this will help at all:
aws sts get-session-token --serial-number ${mfa_arn} --token-code ${token} --profile ${profile}
serial number can be accessed from your aws security profile, assuming mfa is enabled. token code is the your 2fa code. this returns a new set of aws access keys. place these keys under some
~/.aws
profile. now ensure that SST selects the right aws profile when you run
sst start
t
^ I do something similar with SSO
p
This sounds promising, I will try it later, cheers guys.
j
@Dennis Dang how long do those keys last? How often do you need to do this process?
d
We do it daily. Believe it’s on a 12 hr cycle
j
I see. Makes sense. Thanks!
p
Friends, you were all prompt to help us but we are taking a bit to try the provided solution, we have a big release incoming and all hands are working on it, sorry for this. I will attach a video of our new release for those interested.

https://www.youtube.com/watch?v=ZWpN8GKk6V4

t
Senna 🙌🏽
I'm a big f1 fan
j
Whoa @Paulo Silva! Your team built this?
p
Yes @Jay, we are the team behind Horizon Chase currently, working on DLC, features and fixes 😄 Experimenting with SST to improve our internal tools pipeline.
j
Wow that’s super cool!