1. Packages
  2. Vercel
Vercel v1.1.2 published on Tuesday, Feb 27, 2024 by Pulumiverse

Vercel

vercel logo
Vercel v1.1.2 published on Tuesday, Feb 27, 2024 by Pulumiverse

    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")
    
    vercel logo
    Vercel v1.1.2 published on Tuesday, Feb 27, 2024 by Pulumiverse