serverless-next.js icon indicating copy to clipboard operation
serverless-next.js copied to clipboard

Best way to target a current deploy?

Open jaredwiener opened this issue 5 years ago • 2 comments

My team and I are using this component, and it works great! Except...

Every time one of us deploys, we seem to create a whole new instance on the AWS account. Is there a way to target the same instance? Or do I need to just manually set every ARN for every role, Lambda, etc?

jaredwiener avatar Mar 23 '21 18:03 jaredwiener

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.

raffij avatar Mar 23 '21 19:03 raffij

@raffij thank you!

jaredwiener avatar Mar 23 '21 19:03 jaredwiener