published on Thursday, Oct 15, 2026 by Pulumiverse
published on Thursday, Oct 15, 2026 by Pulumiverse
Data source for a Vercel project rolling release configuration.
This provider supports two to ten stages, including a non-final stage whose native rules identify the advancement type. This is a provider support restriction, not a claim that the REST API rejects every single-stage policy.
Earlier provider versions accepted one stage. Policies containing only the final 100% stage now fail validation, refresh and import. Keep the prior provider pin until you have reviewed their conversion to supported stages. This provider does not infer missing advancement rules from old state.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumiverse/vercel";
const example = vercel.getProject({
name: "example-project",
});
const exampleGetProjectRollingRelease = example.then(example => vercel.getProjectRollingRelease({
projectId: example.id,
}));
import pulumi
import pulumi_vercel as vercel
example = vercel.get_project(name="example-project")
example_get_project_rolling_release = vercel.get_project_rolling_release(project_id=example.id)
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 {
example, err := vercel.LookupProject(ctx, &vercel.LookupProjectArgs{
Name: "example-project",
}, nil)
if err != nil {
return err
}
_, err = vercel.LookupProjectRollingRelease(ctx, &vercel.LookupProjectRollingReleaseArgs{
ProjectId: example.Id,
}, 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.GetProject.Invoke(new()
{
Name = "example-project",
});
var exampleGetProjectRollingRelease = Vercel.GetProjectRollingRelease.Invoke(new()
{
ProjectId = example.Apply(getProjectResult => getProjectResult.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.GetProjectRollingReleaseArgs;
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("example-project")
.build());
final var exampleGetProjectRollingRelease = VercelFunctions.getProjectRollingRelease(GetProjectRollingReleaseArgs.builder()
.projectId(example.id())
.build());
}
}
variables:
example:
fn::invoke:
function: vercel:getProject
arguments:
name: example-project
exampleGetProjectRollingRelease:
fn::invoke:
function: vercel:getProjectRollingRelease
arguments:
projectId: ${example.id}
Example coming soon!
Using getProjectRollingRelease
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 getProjectRollingRelease(args: GetProjectRollingReleaseArgs, opts?: InvokeOptions): Promise<GetProjectRollingReleaseResult>
function getProjectRollingReleaseOutput(args: GetProjectRollingReleaseOutputArgs, opts?: InvokeOutputOptions): Output<GetProjectRollingReleaseResult>def get_project_rolling_release(project_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectRollingReleaseResult
def get_project_rolling_release_output(project_id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetProjectRollingReleaseResult]func LookupProjectRollingRelease(ctx *Context, args *LookupProjectRollingReleaseArgs, opts ...InvokeOption) (*LookupProjectRollingReleaseResult, error)
func LookupProjectRollingReleaseOutput(ctx *Context, args *LookupProjectRollingReleaseOutputArgs, opts ...InvokeOption) LookupProjectRollingReleaseResultOutput> Note: This function is named LookupProjectRollingRelease in the Go SDK.
public static class GetProjectRollingRelease
{
public static Task<GetProjectRollingReleaseResult> InvokeAsync(GetProjectRollingReleaseArgs args, InvokeOptions? opts = null)
public static Output<GetProjectRollingReleaseResult> Invoke(GetProjectRollingReleaseInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetProjectRollingReleaseResult> Invoke(GetProjectRollingReleaseInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetProjectRollingReleaseResult> getProjectRollingRelease(GetProjectRollingReleaseArgs args, InvokeOptions options)
public static Output<GetProjectRollingReleaseResult> getProjectRollingRelease(GetProjectRollingReleaseArgs args, InvokeOptions options)
public static Output<GetProjectRollingReleaseResult> getProjectRollingRelease(GetProjectRollingReleaseArgs args, InvokeOutputOptions options)
fn::invoke:
function: vercel:index/getProjectRollingRelease:getProjectRollingRelease
arguments:
# arguments dictionarydata "vercel_get_project_rolling_release" "name" {
# arguments
}The following arguments are supported:
- project_
id string - The ID of the project.
- team_
id string - The ID of the Vercel team.
- project_
id str - The ID of the project.
- team_
id str - The ID of the Vercel team.
getProjectRollingRelease Result
The following output properties are available:
- Advancement
Type string - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The ID of the project.
- Stages
List<Pulumiverse.
Vercel. Outputs. Get Project Rolling Release Stage> - The stages for the rolling release configuration.
- Team
Id string - The ID of the Vercel team.
- Advancement
Type string - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The ID of the project.
- Stages
[]Get
Project Rolling Release Stage - The stages for the rolling release configuration.
- Team
Id string - The ID of the Vercel team.
- advancement_
type string - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- id string
- The provider-assigned unique ID for this managed resource.
- project_
id string - The ID of the project.
- stages list(object)
- The stages for the rolling release configuration.
- team_
id string - The ID of the Vercel team.
- advancement
Type String - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The ID of the project.
- stages
List<Get
Project Rolling Release Stage> - The stages for the rolling release configuration.
- team
Id String - The ID of the Vercel team.
- advancement
Type string - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - The ID of the project.
- stages
Get
Project Rolling Release Stage[] - The stages for the rolling release configuration.
- team
Id string - The ID of the Vercel team.
- advancement_
type str - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - The ID of the project.
- stages
Sequence[Get
Project Rolling Release Stage] - The stages for the rolling release configuration.
- team_
id str - The ID of the Vercel team.
- advancement
Type String - The type of advancement for the rolling release. Either 'automatic' or 'manual-approval'.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The ID of the project.
- stages List<Property Map>
- The stages for the rolling release configuration.
- team
Id String - The ID of the Vercel team.
Supporting Types
GetProjectRollingReleaseStage
- Duration int
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- Target
Percentage int - The percentage of traffic to route to this stage.
- Duration int
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- Target
Percentage int - The percentage of traffic to route to this stage.
- duration number
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- target_
percentage number - The percentage of traffic to route to this stage.
- duration Integer
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- target
Percentage Integer - The percentage of traffic to route to this stage.
- duration number
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- target
Percentage number - The percentage of traffic to route to this stage.
- duration int
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- target_
percentage int - The percentage of traffic to route to this stage.
- duration Number
- The duration in minutes to wait before advancing to the next stage. Present for automatic advancement type.
- target
Percentage Number - The percentage of traffic to route to this stage.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
published on Thursday, Oct 15, 2026 by Pulumiverse