Skip to content

Commit e243302

Browse files
authored
chore: Use Enterprise edition for autoscaler instances (#2219)
Fixes #2218
1 parent a333f53 commit e243302

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/instance-with-autoscaling-config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ function main(instanceId = 'my-instance', projectId = 'my-project-id') {
8484
cloud_spanner_samples: 'true',
8585
created: Math.round(Date.now() / 1000).toString(), // current time
8686
},
87+
// Managed autoscaler is available only for ENTERPRISE edition
88+
edition:
89+
protos.google.spanner.admin.instance.v1.Instance.Edition.ENTERPRISE,
8790
},
8891
});
8992

0 commit comments

Comments
 (0)