Come join Pulumi for the industry's first Cloud Engineering Summit! October 7–8. Save Your Spot


The vSphere provider for Pulumi can be used to provision any of the cloud resources available in vSphere. The vSphere provider must be configured with credentials to deploy and update resources in vSphere.

See the full API documentation for complete details of the available vSphere provider APIs.


The vSphere provider supports several options for providing access to vSphere credentials. See vSphere setup page for details.


const vsphere = require("@pulumi/vsphere")
const dc = new vsphere.Datacenter("my-dc", {
  name: "Production-DataCenter",
import * as vsphere from "@pulumi/vsphere";
const dc = new vsphere.Datacenter("my-dc", {
  name: "Production-DataCenter",
import pulumi_vsphere as vsphere
dc = vsphere.Datacenter("my-dc",
import (
    vsphere ""
dc, _ := vsphere.NewDatacenter(ctx, "test", &vsphere.DatacenterArgs{
  Name: pulumi.String("Production-DataCenter")
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Vsphere;

class Program
    static Task Main() =>
        Deployment.Run(() => {
            var dc = new Vsphere.Datacenter("my-dc", new Vsphere.DatacenterArgs
                Name = "Production-DataCenter",


The following packages are available in packager managers:

The vSphere provider is open source and available in the pulumi/pulumi-vsphere repo.