Closed
Description
The API that describes teams lists the members of those teams.
The members of those teams used to have both keys id
and _id
, now only _id
is returned.
This breaks the terraform provider because when it gets the list of current users to generate a diff it unmarshals id
thus all users have an ID of ""
.
Therefore when terraform is checking for changes it tries to delete the user will id ""
and add all the users back.
The API returns an error because the user ID is no supplied in the delete API call and terraform crashes.
The solution is to either unmarshal _id
into the ID property or for codefresh to once again return id
in the API response
Metadata
Metadata
Assignees
Labels
No labels