Alibaba Cloud

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

Setup

The Alibaba Cloud provider supports several options for providing access to Alibaba Cloud credentials. See the Alibaba Cloud setup page for details.

Example

const alicloud = require("@pulumi/alicloud")

const vpc = new alicloud.vpc.Network("my-vpc", {
    cidrBlock: "10.0.0.0/16",
});
import * as alicloud from "@pulumi/alicloud";

const vpc = new alicloud.vpc.Network("my-vpc", {
    cidrBlock: "10.0.0.0/16",
});
import pulumi_alicloud as alicloud

vpc = alicloud.vpc.Network("my-vpc",
    cidr_block="10.0.0.0/16"
)
import (
  vpc "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/vpc"
)

vpc, _ := vpc.NewVpc(ctx, "demo-instance", &vpc.VpcArgs{
    CidrBlock: "10.0.0.0/16",
})
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Alicloud.Vpc;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var vpc = new Vpc("demo-instance", new VpcArgs
            {
                CidrBlock = "10.0.0.0/16"
            });
        });
}

Libraries

The following packages are available in packager managers:

The Alibaba Cloud provider is open source and available in the pulumi/pulumi-alicloud repo.