You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -543,11 +543,12 @@ Users are encouraged to use this component instead of the `serverless-plugin`. T
543
543
544
544
See `examples/dynamodb-crud` for an example Todo application that interacts with DynamoDB. You can find a full list of examples [here](https://github.com/serverless-nextjs/serverless-next.js/tree/master/packages/serverless-component/examples)
545
545
546
-
#### [CI/CD] A new CloudFront distribution is created on every CI build. I wasn't expecting that
546
+
#### [CI/CD] Multi-stage deployments / A new CloudFront distribution is created on every CI build. I wasn't expecting that
547
547
548
-
You need to commit your application state in source control. That is the files under the `.serverless` directory. Alternatively you could use S3 to store the `.serverless` files, see an example [here](https://gist.github.com/hadynz/b4e190e0ce10e5811cb462920a9c678f)
548
+
1. You need to commit your application state in source control. That is the files under the `.serverless` directory. Although this is not recommended as it doesn't work well for multiple stages.
549
+
2. Alternatively you could use S3 to store the `.serverless` files, see an example [here](https://gist.github.com/hadynz/b4e190e0ce10e5811cb462920a9c678f) or [here](https://gist.github.com/dphang/7395ee09f6182f6b34f224660bed8e8c) (uses multiple `serverless.yml` files)
549
550
550
-
The serverless team is currently working on remote state storage so this won't be necessary in the future.
551
+
In the future, we will look to improve this by integrating it into the component itself. The serverless team is currently working on remote state storage so this won't be necessary in the future.
551
552
552
553
#### My lambda is deployed to `us-east-1`. How can I deploy it to another region?
0 commit comments