1. Packages
  2. Packages
  3. Pulumi Cloud (Pulumi Service provider)
  4. API Docs
  5. api
  6. api/teams
  7. Team

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

    CreatePulumiTeam creates a “Pulumi” team, i.e. one whose membership is managed by Pulumi. (As opposed to a GitHub or GitLab-based team.)

    Create Team Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Team(name: string, args: TeamArgs, opts?: CustomResourceOptions);
    @overload
    def Team(resource_name: str,
             args: TeamArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Team(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             display_name: Optional[str] = None,
             name: Optional[str] = None,
             org_name: Optional[str] = None)
    func NewTeam(ctx *Context, name string, args TeamArgs, opts ...ResourceOption) (*Team, error)
    public Team(string name, TeamArgs args, CustomResourceOptions? opts = null)
    public Team(String name, TeamArgs args)
    public Team(String name, TeamArgs args, CustomResourceOptions options)
    
    type: pulumiservice:api/teams:Team
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "pulumiservice_api_teams_team" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TeamArgs
    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 TeamArgs
    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 TeamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamArgs
    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 teamResource = new PulumiService.Api.Teams.Team("teamResource", new()
    {
        Description = "string",
        DisplayName = "string",
        Name = "string",
        OrgName = "string",
    });
    
    example, err := teams.NewTeam(ctx, "teamResource", &teams.TeamArgs{
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	OrgName:     pulumi.String("string"),
    })
    
    resource "pulumiservice_api_teams_team" "teamResource" {
      description  = "string"
      display_name = "string"
      name         = "string"
      org_name     = "string"
    }
    
    var teamResource = new com.pulumi.pulumiservice.api.Team("teamResource", com.pulumi.pulumiservice.api.TeamArgs.builder()
        .description("string")
        .displayName("string")
        .name("string")
        .orgName("string")
        .build());
    
    team_resource = pulumiservice.api.teams.Team("teamResource",
        description="string",
        display_name="string",
        name="string",
        org_name="string")
    
    const teamResource = new pulumiservice.api.teams.Team("teamResource", {
        description: "string",
        displayName: "string",
        name: "string",
        orgName: "string",
    });
    
    type: pulumiservice:api/teams:Team
    properties:
        description: string
        displayName: string
        name: string
        orgName: string
    

    Team 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 Team resource accepts the following input properties:

    Description string
    The description
    DisplayName string
    The display name
    Name string
    The name
    OrgName string
    The organization name
    Description string
    The description
    DisplayName string
    The display name
    Name string
    The name
    OrgName string
    The organization name
    description string
    The description
    display_name string
    The display name
    name string
    The name
    org_name string
    The organization name
    description String
    The description
    displayName String
    The display name
    name String
    The name
    orgName String
    The organization name
    description string
    The description
    displayName string
    The display name
    name string
    The name
    orgName string
    The organization name
    description str
    The description
    display_name str
    The display name
    name str
    The name
    org_name str
    The organization name
    description String
    The description
    displayName String
    The display name
    name String
    The name
    orgName String
    The organization name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Team resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The kind of team (e.g., pulumi or GitHub-backed).
    Accounts List<object>
    The list of account permissions granted to the team.
    Environments List<object>
    The list of environment settings for the team.
    ListMembersError string
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    Members List<object>
    The list of team members.
    RoleIds List<string>
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    Stacks List<object>
    The list of stack permissions granted to the team.
    UserRole string
    UserRole is the calling user's role on the given team.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The kind of team (e.g., pulumi or GitHub-backed).
    Accounts []interface{}
    The list of account permissions granted to the team.
    Environments []interface{}
    The list of environment settings for the team.
    ListMembersError string
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    Members []interface{}
    The list of team members.
    RoleIds []string
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    Stacks []interface{}
    The list of stack permissions granted to the team.
    UserRole string
    UserRole is the calling user's role on the given team.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    The kind of team (e.g., pulumi or GitHub-backed).
    accounts list(any)
    The list of account permissions granted to the team.
    environments list(any)
    The list of environment settings for the team.
    list_members_error string
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    members list(any)
    The list of team members.
    role_ids list(string)
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    stacks list(any)
    The list of stack permissions granted to the team.
    user_role string
    UserRole is the calling user's role on the given team.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The kind of team (e.g., pulumi or GitHub-backed).
    accounts List<Object>
    The list of account permissions granted to the team.
    environments List<Object>
    The list of environment settings for the team.
    listMembersError String
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    members List<Object>
    The list of team members.
    roleIds List<String>
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    stacks List<Object>
    The list of stack permissions granted to the team.
    userRole String
    UserRole is the calling user's role on the given team.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    The kind of team (e.g., pulumi or GitHub-backed).
    accounts any[]
    The list of account permissions granted to the team.
    environments any[]
    The list of environment settings for the team.
    listMembersError string
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    members any[]
    The list of team members.
    roleIds string[]
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    stacks any[]
    The list of stack permissions granted to the team.
    userRole string
    UserRole is the calling user's role on the given team.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    The kind of team (e.g., pulumi or GitHub-backed).
    accounts Sequence[Any]
    The list of account permissions granted to the team.
    environments Sequence[Any]
    The list of environment settings for the team.
    list_members_error str
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    members Sequence[Any]
    The list of team members.
    role_ids Sequence[str]
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    stacks Sequence[Any]
    The list of stack permissions granted to the team.
    user_role str
    UserRole is the calling user's role on the given team.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The kind of team (e.g., pulumi or GitHub-backed).
    accounts List<Any>
    The list of account permissions granted to the team.
    environments List<Any>
    The list of environment settings for the team.
    listMembersError String
    ListMembersError is the error message if an error was encountered whilst trying to contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil and if Members itself is an empty slice.
    members List<Any>
    The list of team members.
    roleIds List<String>
    RoleIDs are the IDs of the FGA roles assigned to the team, if any. Currently only one role per team is supported.
    stacks List<Any>
    The list of stack permissions granted to the team.
    userRole String
    UserRole is the calling user's role on the given team.

    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