Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Alibaba Cloud

v3.10.0 published on Wednesday, Nov 24, 2021 by Pulumi

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.

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 (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	vpc "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		vpc, err := vpc.NewVpc(ctx, "demo-instance", &vpc.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}

		return nil
	})
}

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"
            });
        });
}