State being written incorrectly for IAM group membership? #2881
Labels
question
A question about existing functionality; most questions are re-routed to discuss.hashicorp.com.
service/iam
Issues and PRs that pertain to the iam service.
Milestone
Terraform Version
Terraform v0.11.1
Affected Resource(s)
aws_iam_group_membership
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Unless this is absolutely necessary, can we skip this for now? Providing this would be difficult since the terraform config provided is sanitized, and I can't really run it without creating a bunch of bogus config in our AWS account.
Panic Output
n/a
Expected Behavior
Users get added to group once, and stay in group.
Actual Behavior
If you run
terraform apply
several times in a row, the first time, it adds everyone to the group. Then (without changing any config), it removes everyone the second time you run terraform apply. Then, when you run it again, it adds everyone back.Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
Important Factoids
References
None that I could find.
The text was updated successfully, but these errors were encountered: