Title
b

Ben Muller

06/18/2021, 6:14 AM
Hey everyone, how do you use S3 storage and specify a different boto profile to use when you deploy locally?
n

Noah Holm

06/18/2021, 7:53 AM
Hey Ben! Working with profiles in code is pretty gnarly. Even more so when the org requires MFA for assuming it. What I do is use a nice little tool limes which mimics the ec2 metadata service. This way I can work with MFA protected profiles much more easily. At the start of the workday (or working with AWS cli/sdks) I run
limes start
and
limes assume <role>
and input MFA and I’m good to go for the rest of the day. If you don’t have MFA requirements there might be more lightweight solutions, but working with limes is very simple.
👍 1
b

Ben Muller

06/18/2021, 8:15 AM
Thanks Noah, it's just for local deployment to test registering the flows.