Hey guys, Does someone have an idea how to activat...
# aws
b
Hey guys, Does someone have an idea how to activate MFA on AWS account for pulumi ? Also using github actions, so if someone know about good Action to use it could be great. Thanks 🙂
b
at what scope? the root account? per user?
b
I have “pulumi-dev” user, which have assumeRole permissions on my dev/stg/prod accounts
using aws organization, the pulumi user is on the root account, which can assume role on the child accounts.
b
so you want to enable mfa for the pulumi-dev user? that'll mean you get prompted for your aws mfa token every time you run your action
b
Yeah i’m a bit confused with that… I know that what MFA means, but in terms of using an AWS account with pulumi (or other iac tool), is there any best practice you recommend ?
b
you can't automate mfa in a ci/cd pipeline to the best of my knowledge, that's for human users
b
That looks awesome, i’ll try to implement it.
Thanks !
@billowy-army-68599 , you are missing the
{{ $secrets.ROLE_ARN }}
there (on the blog post)
There’s Something that I still can’t figure out after reading this guide, Which “tool” will run this pulumi program ? if it’s GHA, it’ll need creds in order to create the role and oidc provider, or is it just for 1 time running from local console
b
@billowy-horse-79629 I created the roles manually outside github actions, its a one time operation