aws_iam_user: terraform removes user data from remote states when changing user name #2949
Labels
bug
Addresses a defect in current functionality.
service/iam
Issues and PRs that pertain to the iam service.
Terraform Version
0.11.2
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
aws_iam_user
resource attributename
to"test1"
terraform apply
Expected Behavior
What should have happened?
Actual Behavior
What actually happened?
user
resource is removed. The remote state file still exists but this part is gone:Then when trying to apply again, a new user would be created since none exists in the remote states
The text was updated successfully, but these errors were encountered: