使用无服务器组件进行部署时如何定位同一个实例?

How do I target the same instance when deploying using Serverless Components?

我和我的团队正在使用无服务器组件(用于 NextJS - https://github.com/serverless-nextjs/serverless-next.js)并且效果很好,除了...

每次我们进行部署时,我们似乎都会在 AWS 帐户上创建一个全新的实例。有没有办法针对同一个实例?或者我是否需要为每个角色、Lambda 等手动设置每个 ARN?

https://github.com/serverless-nextjs/serverless-next.js/issues/962#issuecomment-805185061

You need to find a way to share your .serverless dir. If you only have one environment then you can add the directory to git. Otherwise search for "Multi-stage deployments" in the repo for some suggestions.