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
Copy file name to clipboardExpand all lines: src/pages/[platform]/start/migrate-to-gen2/index.mdx
+10-10
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The most notable change between Amplify Gen 1 backends and Gen 2 backends is the
54
54
55
55
**Testers Only**
56
56
57
-
Prerequisites:
57
+
Prerequisites:
58
58
59
59
- Node.js v18.17.1 or higher
60
60
-[Local AWS CLI profile](/gen1/[platform]/start/getting-started/installation/) with `AdministratorAccess-Amplify` and the `AmplifyBackendDeployFullAccess` policies attached.
@@ -82,7 +82,7 @@ amplify add env migrate
82
82
83
83
<Calloutinfo>
84
84
85
-
**Testers Only**
85
+
**Testers Only**
86
86
87
87
For testing purposes, you will need to additionally install the tagged versions of the `@aws-amplify/cli` package.
88
88
@@ -96,7 +96,7 @@ Then push your newly-created `migrate` environment to create a set of resources
96
96
97
97
<Calloutinfo>
98
98
99
-
**Testers Only**
99
+
**Testers Only**
100
100
101
101
If you have API resources, you will need to enable the following feature flag in your `amplify/cli.json` file:
102
102
@@ -176,12 +176,12 @@ npm install
176
176
177
177
<Calloutinfo>
178
178
179
-
**Testers Only**
179
+
**Testers Only**
180
180
181
181
For testing purposes, you will need to additionally install the tagged versions of the `@aws-amplify/backend` and `@aws-amplify/backend-data` packages.
@@ -239,11 +239,11 @@ In order to provide a smoother experience with the migration tooling, we have ad
239
239
240
240
For example, if you have a Node.js Lambda function in Gen 1, you will see the following error in your sandbox run:
241
241
242
-
```bash title="Terminal" showLineNumbers={false}
242
+
```bash title="Terminal" showLineNumbers={false}
243
243
Source code forthis function can be foundin your Amplify Gen 1 Directory. See .amplify/migration/amplify/backend/function/app81ff331aPostConfirmation/src
244
244
```
245
245
246
-
you will need to copy the code from your Gen 1 backend and make any necessary changes to the code such as updating to TypeScript and updating the import statements.
246
+
you will need to copy the code from your Gen 1 backend and make any necessary changes to the code such as updating to TypeScript and updating the import statements.
247
247
248
248
**Note:** You will need to install the Lambda dependencies in the project root `package.json` file.
249
249
@@ -369,7 +369,7 @@ Then redeploy the application by committing the changes to Git.
369
369
370
370
## Verify continuous deployment
371
371
372
-
After performing the post-migration tasks, commit your changes and allow your deployment pipeline to deploy changes without error.
372
+
After performing the post-migration tasks, commit your changes and allow your deployment pipeline to deploy changes without error.
0 commit comments