@@ -100,7 +100,7 @@ Then push your newly-created `migrate` environment to create a set of resources
100100
101101If you have API resources, you will need to enable the following feature flag in your ` amplify/cli.json ` file:
102102
103- ``` json
103+ ``` json title="amplify/cli.json" showLineNumbers={false}
104104{
105105 "features" : {
106106 "graphqltransformer" : {
@@ -117,7 +117,7 @@ amplify push --yes
117117
118118Next, make a note of the stack name of your Gen 1 migrate backend, this should be in your ` amplify/team-provider-info.json ` file.
119119
120- ``` json
120+ ``` json title="amplify/team-provider-info.json" showLineNumbers={false}
121121{
122122 "migrate" : {
123123 "awscloudformation" : {
@@ -153,7 +153,7 @@ export AWS_PROFILE=your-profile-name
153153then run the following command to prepare your local codebase for migration execution:
154154
155155``` 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
157157```
158158
159159</Callout >
@@ -307,7 +307,7 @@ Next, make a note of the stack name of your Gen 2 backend, you can find this in
307307** Testers Only**
308308
309309` ` ` 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 \ 311311 --from < amplify-gen-1-stack-name> \
312312 --to < amplify-gen-2-stack-name>
313313` ` `
@@ -327,7 +327,7 @@ npx @aws-amplify/migrate@latest to-gen-2 execute \
327327** Testers Only**
328328
329329` ` ` 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 \ 331331 --from < amplify-gen-2-stack-name> \
332332 --to < amplify-gen-1-stack-name>
333333` ` `
0 commit comments