@@ -100,7 +100,7 @@ Then push your newly-created `migrate` environment to create a set of resources
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
103
- ``` json
103
+ ``` json title="amplify/cli.json" showLineNumbers={false}
104
104
{
105
105
"features" : {
106
106
"graphqltransformer" : {
@@ -117,7 +117,7 @@ amplify push --yes
117
117
118
118
Next, make a note of the stack name of your Gen 1 migrate backend, this should be in your ` amplify/team-provider-info.json ` file.
119
119
120
- ``` json
120
+ ``` json title="amplify/team-provider-info.json" showLineNumbers={false}
121
121
{
122
122
"migrate" : {
123
123
"awscloudformation" : {
@@ -153,7 +153,7 @@ export AWS_PROFILE=your-profile-name
153
153
then run the following command to prepare your local codebase for migration execution:
154
154
155
155
``` bash title="Terminal" showLineNumbers={false}
156
- npx @aws-amplify/
[email protected] 3 .0 to-gen-2 prepare
156
+ npx @aws-amplify/
[email protected] 4 .0 to-gen-2 prepare
157
157
```
158
158
159
159
</Callout >
@@ -307,7 +307,7 @@ Next, make a note of the stack name of your Gen 2 backend, you can find this in
307
307
** Testers Only**
308
308
309
309
` ` ` bash title=" Terminal" showLineNumbers={false}
310
- npx @aws-amplify/[email protected] 3 .0 to-gen-2 execute \
310
+ npx @aws-amplify/[email protected] 4 .0 to-gen-2 execute \
311
311
--from < amplify-gen-1-stack-name> \
312
312
--to < amplify-gen-2-stack-name>
313
313
` ` `
@@ -327,7 +327,7 @@ npx @aws-amplify/migrate@latest to-gen-2 execute \
327
327
** Testers Only**
328
328
329
329
` ` ` bash title=" Terminal" showLineNumbers={false}
330
- npx @aws-amplify/[email protected] 3 .0 to-gen-2 revert \
330
+ npx @aws-amplify/[email protected] 4 .0 to-gen-2 revert \
331
331
--from < amplify-gen-2-stack-name> \
332
332
--to < amplify-gen-1-stack-name>
333
333
` ` `
0 commit comments