ancient-nightfall-54764
05/20/2022, 2:55 PMlet server = [];
server.push(new aws.ec2.Instance(`proxy-website-${ stack }`, {
ami: config.require("id-ami-ubuntu"),
instanceType: "t3.small",
keyName: config.require("key-name"),
subnetId: publicSubnet,
vpcSecurityGroupIds: [ secgroup ],
tags: {
Name: `proxy-website-${ stack }`,
Environment: `${ stack }`,
Pulumi: "true",
},
}));
limited-rainbow-51650
05/20/2022, 7:11 PMrootBlockDevice
property, you can set the volumeSize
property:
rootBlockDevice: {
volumeSize: 16
}
will create a root volume of 16GiB.ancient-nightfall-54764
05/21/2022, 7:28 AM