1. Registry
  2. Packages
  3. Vercel Provider
  4. API Docs
  5. getTeamConfig
Viewing docs for Vercel v5.27.0
published on Sunday, Nov 15, 2026 by Pulumiverse
vercel logo vercel logo
Viewing docs for Vercel v5.27.0
published on Sunday, Nov 15, 2026 by Pulumiverse

    Retrieves the configuration of an existing Vercel Team.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumiverse/vercel";
    
    const example = vercel.getTeamConfig({
        id: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
    });
    
    import pulumi
    import pulumi_vercel as vercel
    
    example = vercel.get_team_config(id="team_xxxxxxxxxxxxxxxxxxxxxxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vercel.LookupTeamConfig(ctx, &vercel.LookupTeamConfigArgs{
    			Id: "team_xxxxxxxxxxxxxxxxxxxxxxxx",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumiverse.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Vercel.GetTeamConfig.Invoke(new()
        {
            Id = "team_xxxxxxxxxxxxxxxxxxxxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vercel.VercelFunctions;
    import com.pulumi.vercel.inputs.GetTeamConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = VercelFunctions.getTeamConfig(GetTeamConfigArgs.builder()
                .id("team_xxxxxxxxxxxxxxxxxxxxxxxx")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: vercel:getTeamConfig
          arguments:
            id: team_xxxxxxxxxxxxxxxxxxxxxxxx
    
    Example coming soon!
    

    Using getTeamConfig

    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 getTeamConfig(args: GetTeamConfigArgs, opts?: InvokeOptions): Promise<GetTeamConfigResult>
    function getTeamConfigOutput(args: GetTeamConfigOutputArgs, opts?: InvokeOutputOptions): Output<GetTeamConfigResult>
    def get_team_config(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetTeamConfigResult
    def get_team_config_output(id: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetTeamConfigResult]
    func LookupTeamConfig(ctx *Context, args *LookupTeamConfigArgs, opts ...InvokeOption) (*LookupTeamConfigResult, error)
    func LookupTeamConfigOutput(ctx *Context, args *LookupTeamConfigOutputArgs, opts ...InvokeOption) LookupTeamConfigResultOutput

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

    public static class GetTeamConfig 
    {
        public static Task<GetTeamConfigResult> InvokeAsync(GetTeamConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamConfigResult> Invoke(GetTeamConfigInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamConfigResult> Invoke(GetTeamConfigInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTeamConfigResult> getTeamConfig(GetTeamConfigArgs args, InvokeOptions options)
    public static Output<GetTeamConfigResult> getTeamConfig(GetTeamConfigArgs args, InvokeOptions options)
    public static Output<GetTeamConfigResult> getTeamConfig(GetTeamConfigArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: vercel:index/getTeamConfig:getTeamConfig
      arguments:
        # arguments dictionary
    data "vercel_get_team_config" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    The ID of the existing Vercel Team.
    Id string
    The ID of the existing Vercel Team.
    id string
    The ID of the existing Vercel Team.
    id String
    The ID of the existing Vercel Team.
    id string
    The ID of the existing Vercel Team.
    id str
    The ID of the existing Vercel Team.
    id String
    The ID of the existing Vercel Team.

    getTeamConfig Result

    The following output properties are available:

    DefaultBuildMachineType string
    The default build machine type for new projects.
    DefaultDeploymentProtection Pulumiverse.Vercel.Outputs.GetTeamConfigDefaultDeploymentProtection
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    DefaultPassport Pulumiverse.Vercel.Outputs.GetTeamConfigDefaultPassport
    Default Passport configuration for new projects.
    Description string
    A description of the team.
    DisjunctiveProductionSecretPolicy string
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    EmailDomain string
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    EnablePreviewFeedback string
    Preview feedback configuration.
    EnableProductionFeedback string
    Production feedback configuration.
    HideIpAddresses bool
    Indicates if ip addresses should be accessible in o11y tooling.
    HideIpAddressesInLogDrains bool
    Indicates if ip addresses should be accessible in log drains.
    Id string
    The ID of the existing Vercel Team.
    InviteCode string
    A code that can be used to join this team. Only visible to Team owners.
    Name string
    The name of the team.
    PreviewDeploymentSuffix string
    The hostname that is used as the preview deployment suffix.
    RemoteCaching Pulumiverse.Vercel.Outputs.GetTeamConfigRemoteCaching
    Configuration for Remote Caching.
    Saml Pulumiverse.Vercel.Outputs.GetTeamConfigSaml
    Configuration for SAML authentication.
    SensitiveEnvironmentVariablePolicy string
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    Slug string
    The slug of the team. Used in the URL of the team's dashboard.
    DefaultBuildMachineType string
    The default build machine type for new projects.
    DefaultDeploymentProtection GetTeamConfigDefaultDeploymentProtection
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    DefaultPassport GetTeamConfigDefaultPassport
    Default Passport configuration for new projects.
    Description string
    A description of the team.
    DisjunctiveProductionSecretPolicy string
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    EmailDomain string
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    EnablePreviewFeedback string
    Preview feedback configuration.
    EnableProductionFeedback string
    Production feedback configuration.
    HideIpAddresses bool
    Indicates if ip addresses should be accessible in o11y tooling.
    HideIpAddressesInLogDrains bool
    Indicates if ip addresses should be accessible in log drains.
    Id string
    The ID of the existing Vercel Team.
    InviteCode string
    A code that can be used to join this team. Only visible to Team owners.
    Name string
    The name of the team.
    PreviewDeploymentSuffix string
    The hostname that is used as the preview deployment suffix.
    RemoteCaching GetTeamConfigRemoteCaching
    Configuration for Remote Caching.
    Saml GetTeamConfigSaml
    Configuration for SAML authentication.
    SensitiveEnvironmentVariablePolicy string
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    Slug string
    The slug of the team. Used in the URL of the team's dashboard.
    default_build_machine_type string
    The default build machine type for new projects.
    default_deployment_protection object
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    default_passport object
    Default Passport configuration for new projects.
    description string
    A description of the team.
    disjunctive_production_secret_policy string
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    email_domain string
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    enable_preview_feedback string
    Preview feedback configuration.
    enable_production_feedback string
    Production feedback configuration.
    hide_ip_addresses bool
    Indicates if ip addresses should be accessible in o11y tooling.
    hide_ip_addresses_in_log_drains bool
    Indicates if ip addresses should be accessible in log drains.
    id string
    The ID of the existing Vercel Team.
    invite_code string
    A code that can be used to join this team. Only visible to Team owners.
    name string
    The name of the team.
    preview_deployment_suffix string
    The hostname that is used as the preview deployment suffix.
    remote_caching object
    Configuration for Remote Caching.
    saml object
    Configuration for SAML authentication.
    sensitive_environment_variable_policy string
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    slug string
    The slug of the team. Used in the URL of the team's dashboard.
    defaultBuildMachineType String
    The default build machine type for new projects.
    defaultDeploymentProtection GetTeamConfigDefaultDeploymentProtection
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    defaultPassport GetTeamConfigDefaultPassport
    Default Passport configuration for new projects.
    description String
    A description of the team.
    disjunctiveProductionSecretPolicy String
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    emailDomain String
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    enablePreviewFeedback String
    Preview feedback configuration.
    enableProductionFeedback String
    Production feedback configuration.
    hideIpAddresses Boolean
    Indicates if ip addresses should be accessible in o11y tooling.
    hideIpAddressesInLogDrains Boolean
    Indicates if ip addresses should be accessible in log drains.
    id String
    The ID of the existing Vercel Team.
    inviteCode String
    A code that can be used to join this team. Only visible to Team owners.
    name String
    The name of the team.
    previewDeploymentSuffix String
    The hostname that is used as the preview deployment suffix.
    remoteCaching GetTeamConfigRemoteCaching
    Configuration for Remote Caching.
    saml GetTeamConfigSaml
    Configuration for SAML authentication.
    sensitiveEnvironmentVariablePolicy String
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    slug String
    The slug of the team. Used in the URL of the team's dashboard.
    defaultBuildMachineType string
    The default build machine type for new projects.
    defaultDeploymentProtection GetTeamConfigDefaultDeploymentProtection
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    defaultPassport GetTeamConfigDefaultPassport
    Default Passport configuration for new projects.
    description string
    A description of the team.
    disjunctiveProductionSecretPolicy string
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    emailDomain string
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    enablePreviewFeedback string
    Preview feedback configuration.
    enableProductionFeedback string
    Production feedback configuration.
    hideIpAddresses boolean
    Indicates if ip addresses should be accessible in o11y tooling.
    hideIpAddressesInLogDrains boolean
    Indicates if ip addresses should be accessible in log drains.
    id string
    The ID of the existing Vercel Team.
    inviteCode string
    A code that can be used to join this team. Only visible to Team owners.
    name string
    The name of the team.
    previewDeploymentSuffix string
    The hostname that is used as the preview deployment suffix.
    remoteCaching GetTeamConfigRemoteCaching
    Configuration for Remote Caching.
    saml GetTeamConfigSaml
    Configuration for SAML authentication.
    sensitiveEnvironmentVariablePolicy string
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    slug string
    The slug of the team. Used in the URL of the team's dashboard.
    default_build_machine_type str
    The default build machine type for new projects.
    default_deployment_protection GetTeamConfigDefaultDeploymentProtection
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    default_passport GetTeamConfigDefaultPassport
    Default Passport configuration for new projects.
    description str
    A description of the team.
    disjunctive_production_secret_policy str
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    email_domain str
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    enable_preview_feedback str
    Preview feedback configuration.
    enable_production_feedback str
    Production feedback configuration.
    hide_ip_addresses bool
    Indicates if ip addresses should be accessible in o11y tooling.
    hide_ip_addresses_in_log_drains bool
    Indicates if ip addresses should be accessible in log drains.
    id str
    The ID of the existing Vercel Team.
    invite_code str
    A code that can be used to join this team. Only visible to Team owners.
    name str
    The name of the team.
    preview_deployment_suffix str
    The hostname that is used as the preview deployment suffix.
    remote_caching GetTeamConfigRemoteCaching
    Configuration for Remote Caching.
    saml GetTeamConfigSaml
    Configuration for SAML authentication.
    sensitive_environment_variable_policy str
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    slug str
    The slug of the team. Used in the URL of the team's dashboard.
    defaultBuildMachineType String
    The default build machine type for new projects.
    defaultDeploymentProtection Property Map
    Deployment Protection defaults copied to new projects. Existing projects are unaffected.
    defaultPassport Property Map
    Default Passport configuration for new projects.
    description String
    A description of the team.
    disjunctiveProductionSecretPolicy String
    When enabled, secrets cannot be scoped to both Production and non-Production targets on the same environment variable.
    emailDomain String
    Hostname that'll be matched with emails on sign-up to automatically join the Team.
    enablePreviewFeedback String
    Preview feedback configuration.
    enableProductionFeedback String
    Production feedback configuration.
    hideIpAddresses Boolean
    Indicates if ip addresses should be accessible in o11y tooling.
    hideIpAddressesInLogDrains Boolean
    Indicates if ip addresses should be accessible in log drains.
    id String
    The ID of the existing Vercel Team.
    inviteCode String
    A code that can be used to join this team. Only visible to Team owners.
    name String
    The name of the team.
    previewDeploymentSuffix String
    The hostname that is used as the preview deployment suffix.
    remoteCaching Property Map
    Configuration for Remote Caching.
    saml Property Map
    Configuration for SAML authentication.
    sensitiveEnvironmentVariablePolicy String
    The legacy policy for sensitive environment variables.

    Deprecated: This attribute is deprecated and will be removed in a future major version. It is not replaced by disjunctive_production_secret_policy, which enforces a different rule.

    slug String
    The slug of the team. Used in the URL of the team's dashboard.

    Supporting Types

    GetTeamConfigDefaultDeploymentProtection

    vercel_authentication object
    Default Vercel Authentication for new projects.
    vercelAuthentication Property Map
    Default Vercel Authentication for new projects.

    GetTeamConfigDefaultDeploymentProtectionVercelAuthentication

    DeploymentType string
    The default protection level, or none when disabled.
    DeploymentType string
    The default protection level, or none when disabled.
    deployment_type string
    The default protection level, or none when disabled.
    deploymentType String
    The default protection level, or none when disabled.
    deploymentType string
    The default protection level, or none when disabled.
    deployment_type str
    The default protection level, or none when disabled.
    deploymentType String
    The default protection level, or none when disabled.

    GetTeamConfigDefaultPassport

    ConnectorId string
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    DeploymentType string
    The deployment scope protected when Passport is enabled. Null when disabled.
    Enabled bool
    Whether Passport is enabled.
    ConnectorId string
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    DeploymentType string
    The deployment scope protected when Passport is enabled. Null when disabled.
    Enabled bool
    Whether Passport is enabled.
    connector_id string
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    deployment_type string
    The deployment scope protected when Passport is enabled. Null when disabled.
    enabled bool
    Whether Passport is enabled.
    connectorId String
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    deploymentType String
    The deployment scope protected when Passport is enabled. Null when disabled.
    enabled Boolean
    Whether Passport is enabled.
    connectorId string
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    deploymentType string
    The deployment scope protected when Passport is enabled. Null when disabled.
    enabled boolean
    Whether Passport is enabled.
    connector_id str
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    deployment_type str
    The deployment scope protected when Passport is enabled. Null when disabled.
    enabled bool
    Whether Passport is enabled.
    connectorId String
    The stable ID of the Vercel Connect OAuth application. Null when disabled.
    deploymentType String
    The deployment scope protected when Passport is enabled. Null when disabled.
    enabled Boolean
    Whether Passport is enabled.

    GetTeamConfigRemoteCaching

    Enabled bool
    Indicates if Remote Caching is enabled.
    Enabled bool
    Indicates if Remote Caching is enabled.
    enabled bool
    Indicates if Remote Caching is enabled.
    enabled Boolean
    Indicates if Remote Caching is enabled.
    enabled boolean
    Indicates if Remote Caching is enabled.
    enabled bool
    Indicates if Remote Caching is enabled.
    enabled Boolean
    Indicates if Remote Caching is enabled.

    GetTeamConfigSaml

    Enforced bool
    Indicates if SAML is enforced for the team.
    Roles Dictionary<string, Pulumiverse.Vercel.Inputs.GetTeamConfigSamlRoles>
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.
    Enforced bool
    Indicates if SAML is enforced for the team.
    Roles map[string]GetTeamConfigSamlRoles
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.
    enforced bool
    Indicates if SAML is enforced for the team.
    roles map(object)
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.
    enforced Boolean
    Indicates if SAML is enforced for the team.
    roles Map<String,GetTeamConfigSamlRoles>
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.
    enforced boolean
    Indicates if SAML is enforced for the team.
    roles {[key: string]: GetTeamConfigSamlRoles}
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.
    enforced bool
    Indicates if SAML is enforced for the team.
    roles Mapping[str, GetTeamConfigSamlRoles]
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.
    enforced Boolean
    Indicates if SAML is enforced for the team.
    roles Map<Property Map>
    Directory groups to role or access group mappings. For each directory group, either a role or access group id is specified.

    GetTeamConfigSamlRoles

    AccessGroupId string
    The access group the assign is assigned to.
    Role string
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.
    AccessGroupId string
    The access group the assign is assigned to.
    Role string
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.
    access_group_id string
    The access group the assign is assigned to.
    role string
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.
    accessGroupId String
    The access group the assign is assigned to.
    role String
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.
    accessGroupId string
    The access group the assign is assigned to.
    role string
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.
    access_group_id str
    The access group the assign is assigned to.
    role str
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.
    accessGroupId String
    The access group the assign is assigned to.
    role String
    The team level role the user is assigned. One of 'MEMBER', 'OWNER', 'VIEWER', 'DEVELOPER', 'BILLING' or 'CONTRIBUTOR'.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo vercel logo
    Viewing docs for Vercel v5.27.0
    published on Sunday, Nov 15, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial