sparse-intern-71089
12/27/2023, 9:45 PMancient-chef-75106
12/27/2023, 9:46 PMconst computeInstance = new gcp.compute.Instance("pulumi-instance", {
machineType: "e2-medium",
metadataStartupScript: startupScript,
bootDisk: {
initializeParams: {
image: "ubuntu-os-cloud/ubuntu-2004-lts", // get list names with command: gcloud compute images list
},
},
networkInterfaces: [{
network: computeNetwork.id,
accessConfigs: [{}], // must be empty to request an ephemeral IP
}],
serviceAccount: {
scopes: ["<https://www.googleapis.com/auth/cloud-platform>"],
},
tags: ["http-server"]
}, { dependsOn: [computeFirewall] });
glamorous-jelly-86558
12/27/2023, 10:38 PMsudo chown -R 1001 data
require some type of interactive input (e.g. a password)?ancient-chef-75106
12/28/2023, 5:40 AM