This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
Adds an existing Pulumi user to an organization with a built-in role. Important: The user must have already signed up for a Pulumi account before they can be added to an organization.
This endpoint only assigns built-in roles. To onboard a user with a custom role, use the organization invite flow (BatchCreateOrgInviteEmail) and set roleId on the invite — the custom role is applied when the user accepts. Alternatively, add the user here with a built-in role and then call UpdateOrganizationMember with fgaRoleId to reassign.
Returns the newly created organization member record. Returns 409 if the user is already a member of the organization.
Create OrganizationMember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationMember(name: string, args: OrganizationMemberArgs, opts?: CustomResourceOptions);@overload
def OrganizationMember(resource_name: str,
args: OrganizationMemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_name: Optional[str] = None,
role: Optional[str] = None,
user_login: Optional[str] = None)func NewOrganizationMember(ctx *Context, name string, args OrganizationMemberArgs, opts ...ResourceOption) (*OrganizationMember, error)public OrganizationMember(string name, OrganizationMemberArgs args, CustomResourceOptions? opts = null)
public OrganizationMember(String name, OrganizationMemberArgs args)
public OrganizationMember(String name, OrganizationMemberArgs args, CustomResourceOptions options)
type: pulumiservice:api:OrganizationMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_api_organizationmember" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OrganizationMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OrganizationMemberArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OrganizationMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationMemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var organizationMemberResource = new PulumiService.Api.OrganizationMember("organizationMemberResource", new()
{
OrgName = "string",
Role = "string",
UserLogin = "string",
});
example, err := api.NewOrganizationMember(ctx, "organizationMemberResource", &api.OrganizationMemberArgs{
OrgName: pulumi.String("string"),
Role: pulumi.String("string"),
UserLogin: pulumi.String("string"),
})
resource "pulumiservice_api_organizationmember" "organizationMemberResource" {
org_name = "string"
role = "string"
user_login = "string"
}
var organizationMemberResource = new com.pulumi.pulumiservice.api.OrganizationMember("organizationMemberResource", com.pulumi.pulumiservice.api.OrganizationMemberArgs.builder()
.orgName("string")
.role("string")
.userLogin("string")
.build());
organization_member_resource = pulumiservice.api.OrganizationMember("organizationMemberResource",
org_name="string",
role="string",
user_login="string")
const organizationMemberResource = new pulumiservice.api.OrganizationMember("organizationMemberResource", {
orgName: "string",
role: "string",
userLogin: "string",
});
type: pulumiservice:api:OrganizationMember
properties:
orgName: string
role: string
userLogin: string
OrganizationMember Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OrganizationMember resource accepts the following input properties:
- org_
name string - The organization name
- role string
- The built-in role assigned to the new member. Must be
member,admin, orbillingManager. - user_
login string - The user login name
- org_
name str - The organization name
- role str
- The built-in role assigned to the new member. Must be
member,admin, orbillingManager. - user_
login str - The user login name
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationMember resource produces the following output properties:
- Created string
- When the member joined the organization.
- Fga
Role object - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- Id string
- The provider-assigned unique ID for this managed resource.
- Known
To boolPulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- User object
- The user information for this organization member.
- Virtual
Admin bool - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- Links object
- Links to the member in the Pulumi Console
- Created string
- When the member joined the organization.
- Fga
Role interface{} - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- Id string
- The provider-assigned unique ID for this managed resource.
- Known
To boolPulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- User interface{}
- The user information for this organization member.
- Virtual
Admin bool - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- Links interface{}
- Links to the member in the Pulumi Console
- created string
- When the member joined the organization.
- fga_
role any - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- id string
- The provider-assigned unique ID for this managed resource.
- known_
to_ boolpulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- user any
- The user information for this organization member.
- virtual_
admin bool - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- links any
- Links to the member in the Pulumi Console
- created String
- When the member joined the organization.
- fga
Role Object - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- id String
- The provider-assigned unique ID for this managed resource.
- known
To BooleanPulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- user Object
- The user information for this organization member.
- virtual
Admin Boolean - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- links Object
- Links to the member in the Pulumi Console
- created string
- When the member joined the organization.
- fga
Role any - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- id string
- The provider-assigned unique ID for this managed resource.
- known
To booleanPulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- user any
- The user information for this organization member.
- virtual
Admin boolean - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- links any
- Links to the member in the Pulumi Console
- created str
- When the member joined the organization.
- fga_
role Any - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- id str
- The provider-assigned unique ID for this managed resource.
- known_
to_ boolpulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- user Any
- The user information for this organization member.
- virtual_
admin bool - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- links Any
- Links to the member in the Pulumi Console
- created String
- When the member joined the organization.
- fga
Role Any - The role currently assigned to this member — either a built-in role (member, admin, billingManager) or a custom role. Falls back to the organization's default role if no role is assigned directly.
- id String
- The provider-assigned unique ID for this managed resource.
- known
To BooleanPulumi - KnownToPulumi returns if the organization member has a Pulumi account.
- user Any
- The user information for this organization member.
- virtual
Admin Boolean - VirtualAdmin indicates that the member does not have admin access on the backing identity provider, but does have admin access to the Pulumi organization.
- links Any
- Links to the member in the Pulumi Console
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi