1. Packages
  2. Heroku Provider
  3. API Docs
  4. team
  5. getTeam
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns

heroku.team.getTeam

Explore with Pulumi AI

heroku logo
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns

    Use this data source to get information about a Heroku Team.

    Example Usage

    data "heroku_team" "my_heroku_team" {
      name = "name_of_my_heroku_team"
    }
    
    output "heroku_team_data_basic" {
      value = [
        "Heroku team",
        "id: ${data.heroku_team.my_heroku_team.id}",
        "default: ${data.heroku_team.my_heroku_team.default}",
        "membership_limit: ${data.heroku_team.my_heroku_team.membership_limit}",
        "provisioned_licenses: ${data.heroku_team.my_heroku_team.provisioned_licenses}",
        "type: ${data.heroku_team.my_heroku_team.type}",
      ]
    }
    

    Using getTeam

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTeam(args: GetTeamArgs, opts?: InvokeOptions): Promise<GetTeamResult>
    function getTeamOutput(args: GetTeamOutputArgs, opts?: InvokeOptions): Output<GetTeamResult>
    def get_team(name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTeamResult
    def get_team_output(name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetTeamResult]
    func GetTeam(ctx *Context, args *GetTeamArgs, opts ...InvokeOption) (*GetTeamResult, error)
    func GetTeamOutput(ctx *Context, args *GetTeamOutputArgs, opts ...InvokeOption) GetTeamResultOutput

    > Note: This function is named GetTeam in the Go SDK.

    public static class GetTeam 
    {
        public static Task<GetTeamResult> InvokeAsync(GetTeamArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamResult> Invoke(GetTeamInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeamResult> getTeam(GetTeamArgs args, InvokeOptions options)
    public static Output<GetTeamResult> getTeam(GetTeamArgs args, InvokeOptions options)
    
    fn::invoke:
      function: heroku:team/getTeam:getTeam
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The team name
    Name string
    The team name
    name String
    The team name
    name string
    The team name
    name str
    The team name
    name String
    The team name

    getTeam Result

    The following output properties are available:

    Default bool
    Whether to use this team when none is specified
    Id string
    The provider-assigned unique ID for this managed resource.
    MembershipLimit int
    Upper limit of members allowed in a team
    Name string
    ProvisionedLicenses bool
    Whether the team is provisioned licenses by Salesforce
    Type string
    type of team Will likely be either "enterprise" or "team"
    Default bool
    Whether to use this team when none is specified
    Id string
    The provider-assigned unique ID for this managed resource.
    MembershipLimit int
    Upper limit of members allowed in a team
    Name string
    ProvisionedLicenses bool
    Whether the team is provisioned licenses by Salesforce
    Type string
    type of team Will likely be either "enterprise" or "team"
    default_ Boolean
    Whether to use this team when none is specified
    id String
    The provider-assigned unique ID for this managed resource.
    membershipLimit Integer
    Upper limit of members allowed in a team
    name String
    provisionedLicenses Boolean
    Whether the team is provisioned licenses by Salesforce
    type String
    type of team Will likely be either "enterprise" or "team"
    default boolean
    Whether to use this team when none is specified
    id string
    The provider-assigned unique ID for this managed resource.
    membershipLimit number
    Upper limit of members allowed in a team
    name string
    provisionedLicenses boolean
    Whether the team is provisioned licenses by Salesforce
    type string
    type of team Will likely be either "enterprise" or "team"
    default bool
    Whether to use this team when none is specified
    id str
    The provider-assigned unique ID for this managed resource.
    membership_limit int
    Upper limit of members allowed in a team
    name str
    provisioned_licenses bool
    Whether the team is provisioned licenses by Salesforce
    type str
    type of team Will likely be either "enterprise" or "team"
    default Boolean
    Whether to use this team when none is specified
    id String
    The provider-assigned unique ID for this managed resource.
    membershipLimit Number
    Upper limit of members allowed in a team
    name String
    provisionedLicenses Boolean
    Whether the team is provisioned licenses by Salesforce
    type String
    type of team Will likely be either "enterprise" or "team"

    Package Details

    Repository
    heroku pulumiverse/pulumi-heroku
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the heroku Terraform Provider.
    heroku logo
    Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns