Skip to main content

Check out Port for yourselfย 

Team

Team is a data type used to reference teams that exist in Port.

๐Ÿ’ก Common team usageโ€‹

The team property type can be used to reference any team that exists in Port, for example:

  • The service owning team;
  • The current on-call;
  • The lead maintainers;
  • etc.

In this live demo example, we can see the Team team property. ๐ŸŽฌ

API definitionโ€‹

{
"myTeamProp": {
"title": "My team",
"icon": "My icon",
"description": "My team property",
"type": "string",
"format": "team",
"default": "my-team"
}
}

Check out Port's API reference to learn more.

Terraform definitionโ€‹

resource "port_blueprint" "myBlueprint" {
# ...blueprint properties
properties = {
string_props = {
myTeamProp = {
title = "My team"
required = false
format = "team"
}
}
}
}

Pulumi definitionโ€‹

"""A Python Pulumi program"""

import pulumi
from port_pulumi import Blueprint,BlueprintPropertiesArgs,BlueprintPropertiesStringPropsArgs

blueprint = Blueprint(
"myBlueprint",
identifier="myBlueprint",
title="My Blueprint",
properties=BlueprintPropertiesArgs(
string_props={
"myTeamProp": BlueprintPropertiesStringPropsArgs(
title="My team",
required=False,
format="team",
)
}
),
relations={}
)