1. Packages
  2. Packages
  3. Pulumi Cloud (Pulumi Service provider)
  4. API Docs
  5. api
  6. OrganizationMember

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
published on Thursday, May 21, 2026 by Pulumi
pulumiservice logo

This provider is currently in preview.

Viewing docs for Pulumi Cloud v1.1.0
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:

    OrgName string
    The organization name
    Role string
    The built-in role assigned to the new member. Must be member, admin, or billingManager.
    UserLogin string
    The user login name
    OrgName string
    The organization name
    Role string
    The built-in role assigned to the new member. Must be member, admin, or billingManager.
    UserLogin string
    The user login name
    org_name string
    The organization name
    role string
    The built-in role assigned to the new member. Must be member, admin, or billingManager.
    user_login string
    The user login name
    orgName String
    The organization name
    role String
    The built-in role assigned to the new member. Must be member, admin, or billingManager.
    userLogin String
    The user login name
    orgName string
    The organization name
    role string
    The built-in role assigned to the new member. Must be member, admin, or billingManager.
    userLogin 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, or billingManager.
    user_login str
    The user login name
    orgName String
    The organization name
    role String
    The built-in role assigned to the new member. Must be member, admin, or billingManager.
    userLogin String
    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.
    FgaRole 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.
    KnownToPulumi bool
    KnownToPulumi returns if the organization member has a Pulumi account.
    User object
    The user information for this organization member.
    VirtualAdmin 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.
    FgaRole 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.
    KnownToPulumi bool
    KnownToPulumi returns if the organization member has a Pulumi account.
    User interface{}
    The user information for this organization member.
    VirtualAdmin 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_pulumi bool
    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.
    fgaRole 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.
    knownToPulumi Boolean
    KnownToPulumi returns if the organization member has a Pulumi account.
    user Object
    The user information for this organization member.
    virtualAdmin 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.
    fgaRole 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.
    knownToPulumi boolean
    KnownToPulumi returns if the organization member has a Pulumi account.
    user any
    The user information for this organization member.
    virtualAdmin 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_pulumi bool
    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.
    fgaRole 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.
    knownToPulumi Boolean
    KnownToPulumi returns if the organization member has a Pulumi account.
    user Any
    The user information for this organization member.
    virtualAdmin 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
    pulumiservice logo

    This provider is currently in preview.

    Viewing docs for Pulumi Cloud v1.1.0
    published on Thursday, May 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial