secureagentbase 1.2.13 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/gcp.js +4 -1
- package/package.json +1 -1
package/dist/lib/gcp.js
CHANGED
|
@@ -101,7 +101,10 @@ export async function createVm(auth, projectId, zone, instanceName, metadata) {
|
|
|
101
101
|
const url = `https://compute.googleapis.com/compute/v1/projects/${projectId}/zones/${zone}/instances`;
|
|
102
102
|
const body = {
|
|
103
103
|
name: instanceName,
|
|
104
|
-
|
|
104
|
+
// Default to e2-small — same default as the web wizard (see
|
|
105
|
+
// infra-setup.tsx). 1GB e2-micro is too tight for bot + agent; 4GB
|
|
106
|
+
// e2-medium is comfort most users don't need at ~2x the cost.
|
|
107
|
+
machineType: `zones/${zone}/machineTypes/e2-small`,
|
|
105
108
|
disks: [
|
|
106
109
|
{
|
|
107
110
|
boot: true,
|