Skip to content

Instantly share code, notes, and snippets.

@ahmad2x4
Created May 18, 2020 00:19
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/12ad493c1e4c26691d7a4fdd885051cf to your computer and use it in GitHub Desktop.
Save ahmad2x4/12ad493c1e4c26691d7a4fdd885051cf to your computer and use it in GitHub Desktop.
Pulumi sample infra source code part 3
const rds = new aws.rds.Instance(`database-dev`, {
engine: "sqlserver-ex",
username: "admin",
password: dbPassword,
instanceClass: "db.t2.micro",
allocatedStorage: 20,
skipFinalSnapshot: true,
publiclyAccessible: false,
// For a VPC cluster, you will also need the following:
dbSubnetGroupName: dbSubnets.id,
vpcSecurityGroupIds: [rdsSecurityGroup.id],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment