lemon-wire-69305
08/30/2021, 12:16 AMconst appEngineWww = new gcp.appengine.StandardAppVersion("appengine-www", {
versionId: pulumi.interpolate`v${wwwCurrentVersion}`,
service: "www",
deleteServiceOnDestroy: false,
runtime: "go115",
deployment: {
zip: {
sourceUrl: pulumi.interpolate`<https://storage.googleapis.com/${bucketDeploys.name}/www/latest.zip>`,
},
},
envVariables: {
DEPLOY_TIME: deployTime
},
automaticScaling: {
maxConcurrentRequests: 10,
minIdleInstances: 0,
maxIdleInstances: 3,
minPendingLatency: "1s",
maxPendingLatency: "5s",
standardSchedulerSettings: {
targetCpuUtilization: 0.5,
targetThroughputUtilization: 0.75,
minInstances: 0,
maxInstances: 10,
},
},
});
This works, however I have to manually migrate traffic to this new version.
Is there a way to have pulumi automatically migrate traffic to the new AppEngine version?modern-napkin-96707
08/31/2021, 12:40 PM