Skip to main content
fireweave_org_member is designed to manage an organisation member role assignment. Create and update call PUT /api/organizations/:orgId/members/:userId/role. Destroy calls DELETE /api/organizations/:orgId/members/:userId.
Do not apply this resource yet. The member endpoints currently reject org API keys with 401 Unauthorized. Fireweave’s own internal Terraform leaves these resources commented out for that reason.The schema below is accurate. Applying it with FIREWEAVE_API_KEY will fail. Track terraform-provider-fireweave#3.
Generated schema: fireweave_org_member on the Terraform Registry.

What the resource will do (once unblocked)

The target user must already be a member of the organisation (for example after accepting an invite). This resource does not send invitations. The organisation owner role cannot be assigned or changed here. Valid roles are admin, member, and viewer only. Changing organization_id or user_id forces a new resource. role updates in place.

Arguments

Read-only

Example (do not apply)

Use variables for identifiers. Do not commit organisation or user ids.

Import

Import by organisation id and user id:
Import talks to the same member APIs, so it currently fails with 401 for org API keys as well.

Next

Projects

Project and environment resources work with org API keys today.

Provider issue #3

Follow the 401 fix for member endpoints.
Last modified on September 11, 2026