Following @angelofenoglio 's recomendation:
In order to skip errors during the last steps of the first landing zone realted to the configuration of the MFA devices for the aws profiles, we need to follow this steps
Create new passwords for users in Management and Security accounts
Configure the new credentilas running leverage credentials configurewithout the flag --fetch-mfa-device
Enable MFA and change the aws profile names
Run again leverage credentials configurewith the flag --fetch-mfa-device skiping credenials configuration.
Hey! @exequielrafaela , @angelofenoglio . Thanks for your comments.
I've already commited the change requests that you both mentioned.
Please check if everything is ok for you.
What?
Where?
Leverage Documentation: first-steps -- > post-deployment https://leverage.binbash.com.ar/first-steps/post-deployment/
Why?
Following @angelofenoglio 's recomendation: In order to skip errors during the last steps of the first landing zone realted to the configuration of the MFA devices for the aws profiles, we need to follow this steps
leverage credentials configure
without the flag--fetch-mfa-device
leverage credentials configure
with the flag--fetch-mfa-device
skiping credenials configuration.New step