serverless-next.js
serverless-next.js copied to clipboard
Best way to target a current deploy?
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?
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 thank you!