Vercel v1.14.3 published on Monday, Oct 7, 2024 by Pulumiverse
Vercel
The Vercel
provider for Pulumi can be used to provision any of the resources available with Vercel
.
Example
"use strict";
const vercel = require("@pulumiverse/vercel");
const project = new vercel.Project("pulumi-vercel", {
name: "pulumi-vercel",
rootDirectory: "src",
});
const deployment = new vercel.Deployment("deployment", {
projectId: project.id,
production: true,
files: vercel.getProjectDirectoryOutput({ path: "./src" }).files,
});
import * as vercel from "@pulumiverse/vercel";
const project = new vercel.Project("pulumi-vercel", {
name: "pulumi-vercel",
rootDirectory: "src",
});
const deployment = new vercel.Deployment("deployment", {
projectId: project.id,
production: true,
files: vercel.getProjectDirectoryOutput({ path: "./src" }).files,
});
import pulumiverse_vercel as vercel
import pulumi
project = vercel.Project("pulumi-vercel",
name="pulumi-vercel",
rootDirectory="src")
deployment = vercel.Deployment("deployment",
name="pulumi-vercel",
project_id=project.id,
production="true")