Closed scuba10steve closed 9 months ago
This can also be triggered if the email exists as an account member, but not associated with any teams.
Hey @scuba10steve,
I think the issue is you have multiple modules that are attempting to create the same team member. Would it be possible to create the team members in a different module and pass the relevant team members into a module that just defines the LaunchDarkly team resource?
Sorry for the delayed response, Henry
I believe that may be possible, I found a workaround by importing the member manually for now.
Currently, it appears that the provider tries to create the member if it doesn't exist yet, then add that member to the team. I do have a situation where I have the need to add the same email to multiple teams.
example:
This is pulled into a module, and then referenced more than once with the same email. e.g.
So I'm not expecting that the behavior of the
launchdarkly_team_member
resource to change, however I would like to be able to map multiple members with the same email. If there's a workaround to do this now, I'm willing to try it.Example error: