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
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)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
- Display
Name string - The display name
- Name string
- The name
- Org
Name 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
- display_
name string - The display name
- name string
- The name
- org_
name 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
- display
Name string - The display name
- name string
- The name
- org
Name 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
- display
Name String - The display name
- name String
- The name
- org
Name 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.
- List
Members stringError - 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.
- 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<object>
- 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 []interface{}
- The list of account permissions granted to the team.
- Environments []interface{}
- The list of environment settings for the team.
- List
Members stringError - 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.
- Role
Ids []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.
- 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(any)
- The list of account permissions granted to the team.
- environments list(any)
- The list of environment settings for the team.
- list_
members_ stringerror - 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.
- list
Members StringError - 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.
- 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<Object>
- 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 any[]
- The list of account permissions granted to the team.
- environments any[]
- The list of environment settings for the team.
- list
Members stringError - 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.
- role
Ids 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.
- user
Role 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_ strerror - 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.
- list
Members StringError - 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.
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