I want to use terraform to manage all our AWS IAM user accounts.
After creating a few test user accounts, I see that the access key, secret key, and ses password are all stored in the terraform .tfstate file.
This is really insecure, as many times these files get submitted to git repos or uploaded to s3 buckets.
I worked around this by manually deleting the Secret Key and SES password from the terraform.tfstate file.
This allows terraform to still be happy about knowing the access key, while not knowing the secrets.
You might want to not allow storing the secret key at all.
Thanks,
Philip