1. Packages
  2. AWS QuickStart VPC
AWS QuickStart VPC v0.0.2 published on Friday, Oct 15, 2021 by Pulumi

AWS QuickStart VPC

aws-quickstart-vpc logo
AWS QuickStart VPC v0.0.2 published on Friday, Oct 15, 2021 by Pulumi

    Easily create an AWS Virtual Private Cloud (VPC) using this Pulumi component based on the AWS QuickStart VPC guide.

    Example

    const myVpc = new aws.Vpc("test", {
        cidrBlock: "10.0.0.0/16",
        availabilityZoneConfig: [{
            availabilityZone: "us-west-2a",
            publicSubnetCidr: "10.0.128.0/20",
            privateSubnetACidr: "10.0.32.0/19",
        }, {
            availabilityZone: "us-west-2b",
            privateSubnetACidr: "10.0.64.0/19",
        }]
    })
    
    export const vpcID = myVpc.vpcID;
    export const publicSubnetIDs = myVpc.publicSubnetIDs;
    export const privateSubnetIDs = myVpc.privateSubnetIDs;
    export const natgatewayIPs = myVpc.natGatewayIPs;
    
    aws-quickstart-vpc logo
    AWS QuickStart VPC v0.0.2 published on Friday, Oct 15, 2021 by Pulumi