Terraform: InvalidArgument desc = Project member is invalid (PROJECT-3m9d)
I've got all of my Terraform set up and working well, but I"m running into an error I can't figure out.
I'm creating a
Then I try to give this role to my user:
(Don't stress over the for_each and values, I've hardcoded them with the same results)
When I put my role into the
│ Error: failed to update projectmember: rpc error: code = InvalidArgument desc = Project member is invalid (PROJECT-3m9d)
When I go to the Console and perform the same action, it works. If I change the role to a built-in role, like
I've verified the Org, Project and User ID are correct. I've also verified the role is present in the Console. No matter what I do, I continue to get this error.
Any help is appreciated!
I'm creating a
zitadel_project_role like so, and it's creating the Project Role just fine:Then I try to give this role to my user:
(Don't stress over the for_each and values, I've hardcoded them with the same results)
When I put my role into the
roles list, I get the error:│ Error: failed to update projectmember: rpc error: code = InvalidArgument desc = Project member is invalid (PROJECT-3m9d)
When I go to the Console and perform the same action, it works. If I change the role to a built-in role, like
PROJECT_OWNER, the Terraform works. I've verified the Org, Project and User ID are correct. I've also verified the role is present in the Console. No matter what I do, I continue to get this error.
Any help is appreciated!