Skip to content

Instantly share code, notes, and snippets.

@ahmad2x4
Created May 18, 2020 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmad2x4/3a22625272683d01861f985976ec2ed6 to your computer and use it in GitHub Desktop.
Save ahmad2x4/3a22625272683d01861f985976ec2ed6 to your computer and use it in GitHub Desktop.
Pulumi sample infra source code part 1
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as awsx from "@pulumi/awsx";
const config = new pulumi.Config();
const dbPassword = config.require("dbPassword");
// Allocate a new VPC with the default settings:
const vpc = new awsx.ec2.Vpc("custom");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment