Created
May 18, 2020 00:19
-
-
Save ahmad2x4/12ad493c1e4c26691d7a4fdd885051cf to your computer and use it in GitHub Desktop.
Pulumi sample infra source code part 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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