🧱 scorates: actual droplet config
This commit is contained in:
parent
01089c5725
commit
ba09a67ec9
19
index.ts
19
index.ts
@ -1,10 +1,17 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as digitalocean from "@pulumi/digitalocean";
|
||||
|
||||
// Create a DigitalOcean resource (Domain)
|
||||
const domain = new digitalocean.Domain("my-domain", {
|
||||
name: "my-domain.io"
|
||||
const socrates = new digitalocean.Droplet("socrates", {
|
||||
backups: true,
|
||||
image: "72067660",
|
||||
ipv6: true,
|
||||
monitoring: true,
|
||||
name: "socrates",
|
||||
privateNetworking: true,
|
||||
region: digitalocean.Region.TOR1,
|
||||
size: digitalocean.DropletSlug.DropletS8VCPU16GB,
|
||||
vpcUuid: "392caea6-dc7f-11e8-b1a9-3cfdfea9ee58",
|
||||
}, {
|
||||
protect: true,
|
||||
});
|
||||
|
||||
// Export the name of the domain
|
||||
export const domainName = domain.name;
|
||||
export const socratesIP = socrates.ipv4Address;
|
||||
|
Loading…
Reference in New Issue
Block a user