-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Team with >100 members mismanaged #2871
Comments
Thanks for opening this issue! Please make sure you've followed our guidelines when opening the issue. In short, to help us reproduce the issue we need:
The ticket CLOUDP-289122 was created for internal tracking. |
This issue has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy! |
bump |
Hi @spencer-langley We believe there is an issue with the pagination logic when users in the team are retrieved. We are working on a fix for this in #2919 . |
I see this was merged, but consuming the latest provider didn't fix. Is release still pending? |
Is there an existing issue for this?
Provider Version
v1.21.4
Terraform Version
v1.9.8
Terraform Edition
Terraform Open Source (OSS)
Current Behavior
When a team resource block is declared with more than 100 members it is initially created successfully, however on the next plan the provider refreshes and only retrieves 100 members from the API. It then plans to add the missing members which results in an error from API because the members are already present in the team.
Seems to be a pagination issue on membership state of the team.
Worked around the issue by truncating membership to 100.
Terraform configuration to reproduce the issue
Steps To Reproduce
Populate list of more than 100 valid user emails
Use the above configuration to create a team with all of those users
Repeat plan and apply, see error attempting to add users that are already in the team
Logs
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: