GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
559 stars 88 forks source link

Entity already exists when new IAM user tries to create MFA device #1594

Open adborden opened 4 years ago

adborden commented 4 years ago

When adding a new IAM user and the new user tries to add a virtual MFA device, they receive an error:

work around

$ aws iam delete-virtual-mfa-device --serial-number arn:aws:iam::587807691409:mfa/<user>

How to reproduce

Following the new IAM user docs:

  1. Add a new user to users.tf
  2. Admin enables console access and sets a temporary password
  3. New user logs into the console, updates their password.
  4. New user goes to add a new virtual MFA device.

Expected behavior

User is able to create a new virtual MFA device.

Actual behavior

Screenshot from 2020-04-23 13-27-54

adborden commented 4 years ago

:joy: https://github.com/Beartime234/aws-mfa-entity-already-exists-fix