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
已提問 1 年前檢視次數 269 次
1 個回答
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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南