email, target_user_id, or api_key_id to identify the member at create time — they are mutually exclusive (ExactlyOneOf is enforced at plan time). Inviting by email creates a pending member that becomes active when the recipient accepts the invitation.
Example — invite by email
Example — add an existing user
Example — grant CI key account-level access
Argument reference
Required
One of (mutually exclusive)
Optional
Attribute reference (computed)
Lifecycle
Importing existing members
Permissions
The API key needsmembers.manage at the account level. The system role Account Admin grants this.
Data sources
Related
raff_project_member
Project-scoped membership.
raff_role
Roles assigned via role_id.
CLI: raff member
Imperative equivalent.