Vercel v3.15.1 published on Monday, Sep 8, 2025 by Pulumiverse
vercel.getAccessGroupProject
Start a Neo task
Explain and create a vercel.getAccessGroupProject resource
Provides information about an existing Access Group Project Assignment.
For more detailed information, please see the Vercel documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumi/vercel";
const example = vercel.getProject({
name: "my-existing-project",
});
const exampleGetAccessGroupProject = vercel.getAccessGroupProject({
accessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
projectId: exampleVercelProject.id,
});
import pulumi
import pulumi_vercel as vercel
example = vercel.get_project(name="my-existing-project")
example_get_access_group_project = vercel.get_access_group_project(access_group_id="ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
project_id=example_vercel_project["id"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/v3/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vercel.LookupProject(ctx, &vercel.LookupProjectArgs{
Name: "my-existing-project",
}, nil)
if err != nil {
return err
}
_, err = vercel.LookupAccessGroupProject(ctx, &vercel.LookupAccessGroupProjectArgs{
AccessGroupId: "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
ProjectId: exampleVercelProject.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vercel = Pulumi.Vercel;
return await Deployment.RunAsync(() =>
{
var example = Vercel.GetProject.Invoke(new()
{
Name = "my-existing-project",
});
var exampleGetAccessGroupProject = Vercel.GetAccessGroupProject.Invoke(new()
{
AccessGroupId = "ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
ProjectId = exampleVercelProject.Id,
});
});
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.GetProjectArgs;
import com.pulumi.vercel.inputs.GetAccessGroupProjectArgs;
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.getProject(GetProjectArgs.builder()
.name("my-existing-project")
.build());
final var exampleGetAccessGroupProject = VercelFunctions.getAccessGroupProject(GetAccessGroupProjectArgs.builder()
.accessGroupId("ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.projectId(exampleVercelProject.id())
.build());
}
}
variables:
example:
fn::invoke:
Function: vercel:getProject
Arguments:
name: my-existing-project
exampleGetAccessGroupProject:
fn::invoke:
Function: vercel:getAccessGroupProject
Arguments:
accessGroupId: ag_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
projectId: ${exampleVercelProject.id}
Using getAccessGroupProject
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 getAccessGroupProject(args: GetAccessGroupProjectArgs, opts?: InvokeOptions): Promise<GetAccessGroupProjectResult>
function getAccessGroupProjectOutput(args: GetAccessGroupProjectOutputArgs, opts?: InvokeOptions): Output<GetAccessGroupProjectResult>def get_access_group_project(access_group_id: Optional[str] = None,
project_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessGroupProjectResult
def get_access_group_project_output(access_group_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessGroupProjectResult]func LookupAccessGroupProject(ctx *Context, args *LookupAccessGroupProjectArgs, opts ...InvokeOption) (*LookupAccessGroupProjectResult, error)
func LookupAccessGroupProjectOutput(ctx *Context, args *LookupAccessGroupProjectOutputArgs, opts ...InvokeOption) LookupAccessGroupProjectResultOutput> Note: This function is named LookupAccessGroupProject in the Go SDK.
public static class GetAccessGroupProject
{
public static Task<GetAccessGroupProjectResult> InvokeAsync(GetAccessGroupProjectArgs args, InvokeOptions? opts = null)
public static Output<GetAccessGroupProjectResult> Invoke(GetAccessGroupProjectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessGroupProjectResult> getAccessGroupProject(GetAccessGroupProjectArgs args, InvokeOptions options)
public static Output<GetAccessGroupProjectResult> getAccessGroupProject(GetAccessGroupProjectArgs args, InvokeOptions options)
fn::invoke:
function: vercel:index/getAccessGroupProject:getAccessGroupProject
arguments:
# arguments dictionaryThe following arguments are supported:
- Access
Group stringId - The Access Group ID.
- Project
Id string - The Project ID.
- Team
Id string - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Access
Group stringId - The Access Group ID.
- Project
Id string - The Project ID.
- Team
Id string - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The Access Group ID.
- project
Id String - The Project ID.
- team
Id String - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group stringId - The Access Group ID.
- project
Id string - The Project ID.
- team
Id string - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access_
group_ strid - The Access Group ID.
- project_
id str - The Project ID.
- team_
id str - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The Access Group ID.
- project
Id String - The Project ID.
- team
Id String - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
getAccessGroupProject Result
The following output properties are available:
- Access
Group stringId - The Access Group ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The Project ID.
- Role string
- The Access Group Project Role.
- Team
Id string - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- Access
Group stringId - The Access Group ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The Project ID.
- Role string
- The Access Group Project Role.
- Team
Id string - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The Access Group ID.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The Project ID.
- role String
- The Access Group Project Role.
- team
Id String - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group stringId - The Access Group ID.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - The Project ID.
- role string
- The Access Group Project Role.
- team
Id string - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access_
group_ strid - The Access Group ID.
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - The Project ID.
- role str
- The Access Group Project Role.
- team_
id str - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
- access
Group StringId - The Access Group ID.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The Project ID.
- role String
- The Access Group Project Role.
- team
Id String - The ID of the team the Access Group Project should exist under. Required when configuring a team resource if a default team has not been set in the provider.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
