Implement organization membership resources #175
Labels
enhancement
New feature or request
source/terraform-provider-metal
This issue/pr was originally created in deprecated terraform-provider-metal repository
The Equinix Metal API offers organization member endpoints.
Organizations have members:
GET /organization/{id}/members
New members can be added:
POST /organization/{id}/invitations
Memberships can be deleted:
DELETE /memberships/{id}
Memberships can be updated:
PUT /memberships/{id}
(role
can be changed. Isproject_ids
available but undocumented for changes tocollaborator
or for changing collaboratorproject_ids
? Network Inspect the Portal.)Organization members can be assigned projects and roles on creation.
Roles include
admin
,collaborator
, andbilling
. Additional roles may be added later.What does this look like:
The single result data source would query on
user_email
andorganization_id
, or byid
/membership_id
.The attributes would include roles,
project_ids
,user_email
,organization_id
,membership_id
. Should we include other user properties, or can we offer ametal_user
data source to query users?Can organization or project members fetch user records for fellow team members?
Should we also provide a multiple resource datasource:
The text was updated successfully, but these errors were encountered: