How do I upgrade the Node runtime for an App Runner service?

0

I'm trying to change my service from running on the Nodejs 12 runtime to Nodejs 16. I'm not using Docker or an app runner configuration file.

When change the runtime dropdown and click Save, I get the following error:

Update service failed - invalid request
The runtime cannot be changed for a running service.

I've tried Pausing the service first - but then the Edit button for "Configure Build" becomes disabled.

Is it possible to upgrade the node runtime without deleting the service and starting over?

Jc
posta un anno fa269 visualizzazioni
1 Risposta
0

From the API this is possible, I dont see a way at this time to perform this from Console without creating a new Service and re-pointing DNS.

https://docs.aws.amazon.com/apprunner/latest/api/API_UpdateService.html

AWS
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande