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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则