Updated May 10, 2026 Manages an account-level member. Use exactly one ofDocumentation Index
Fetch the complete documentation index at: https://docs.rafftechnologies.com/llms.txt
Use this file to discover all available pages before exploring further.
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
| Argument | Type | Description |
|---|---|---|
role_id | string (UUID) | Role to assign. Must be account-scoped |
One of (mutually exclusive)
| Argument | Type | Description |
|---|---|---|
email | string | Email to invite. Creates a pending member. ForceNew |
target_user_id | string (UUID) | Existing account user. ForceNew |
api_key_id | string (UUID) | API key to grant account access. ForceNew |
Optional
| Argument | Type | Description |
|---|---|---|
status | string | active or suspended. pending is set automatically for invited members until they accept |
Attribute reference (computed)
| Attribute | Description |
|---|---|
id | Member UUID |
role_name | Display name of the assigned role |
created_at | RFC3339 timestamp |
Lifecycle
| Operation | Behavior |
|---|---|
terraform apply (create) | Adds (or invites) the member |
Change role_id, status | In-place update |
Change email, target_user_id, api_key_id | Replacement — destroy + recreate |
terraform destroy | Removes the member from the account |
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.