Skip to content

Migrate users from account-baseline-security to iam-users-and-groups #807

Discussion options

You must be logged in to vote

New Steps:

  1. Backup state file in account-baseline
cd /work/infrastructure-live/security/_global/account-baseline
aws-vault exec security-profile -- terragrunt state pull > iam-users.tfstate
  1. Download state file in iam-users iam-users.tfstate
cd /work/infrastructure-live/security/_global/iam/users/
aws-vault exec security-profile -- terragrunt state pull > iam-users.tfstate
  1. From account-baseline, terragrunt state mv user and group memberships -state-out /work/infrastructure-live/security/_global/iam/users/iam-users.tfstate
cd /work/infrastructure-live/security/_global/account-baseline
aws-vault exec security-profile -- terragrunt state mv -state-out /work/infrastructure-live/security…

Replies: 9 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@justin-octo
Comment options

@justin-octo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@justin-octo
Comment options

Comment options

You must be logged in to vote
2 replies
@iangrunt
Comment options

@justin-octo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by justin-octo
Comment options

You must be logged in to vote
1 reply
@justin-octo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment