You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the pager duty api has a limit of 100 users when fetching, if your team has more than 100 users, the membership resource always comes back as "non existent". This causes several operations to fail, including import and create for me.
2021-01-07T13:38:27.031-0500 [DEBUG] plugin.terraform-provider-pagerduty_v1.8.0: 2021/01/07 13:38:27 [WARN] Removing PHHJ6YN:PSV4ANO since the user: PHHJ6YN is not a member of: PSV4ANO
However both those IDs do exist and that membership does exist.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Have a team with more than 100 users.
Try to add the alphabetically last user to a team.
The text was updated successfully, but these errors were encountered:
tgsoverly
changed the title
Hitting limit of the pager duty API in fetching user
Hitting limit of the pager duty API in fetching user for team membership
Jan 14, 2021
Thanks for pointing this out! As you mentioned, it appears the library that is gettingteam_memberships is not supporting the pagination of the endpoint. Will add this fix to my queue. I'm also open to PRs. :)
I think what is happening:
Since the pager duty api has a limit of 100 users when fetching, if your team has more than 100 users, the membership resource always comes back as "non existent". This causes several operations to fail, including
import
andcreate
for me.Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Debug Output
Command:
Output
However both those IDs do exist and that membership does exist.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
The text was updated successfully, but these errors were encountered: