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
preguntada hace un año269 visualizaciones
1 Respuesta
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas