From 1443d4ccffa5556ee3f401b2f6570973a6194c9d Mon Sep 17 00:00:00 2001 From: Joe Garcia Date: Fri, 15 Nov 2024 15:46:48 -0800 Subject: [PATCH 1/2] Update upgrading.mdx amplify push does not generate amplifyconfiguration.json in some cases. --- src/fragments/lib/troubleshooting/common/upgrading.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fragments/lib/troubleshooting/common/upgrading.mdx b/src/fragments/lib/troubleshooting/common/upgrading.mdx index d488d0b24c1..08123c49599 100644 --- a/src/fragments/lib/troubleshooting/common/upgrading.mdx +++ b/src/fragments/lib/troubleshooting/common/upgrading.mdx @@ -151,7 +151,7 @@ amplify upgrade amplify push ``` -This will generate a new configuration file called `amplifyconfiguration.json` +This will generate a new configuration file called `amplifyconfiguration.json` (You may need to use amplify pull if there are no changes in your environment). Wherever you called `Amplify.configure({ aws-exports });` previously (usually in the root of your project) update your code as shown below From fc0b1d6788aee9cfd2837a231a3ac11e6795cb1b Mon Sep 17 00:00:00 2001 From: josef Date: Fri, 31 Jan 2025 11:14:50 -0800 Subject: [PATCH 2/2] Update src/fragments/lib/troubleshooting/common/upgrading.mdx --- src/fragments/lib/troubleshooting/common/upgrading.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fragments/lib/troubleshooting/common/upgrading.mdx b/src/fragments/lib/troubleshooting/common/upgrading.mdx index 08123c49599..43ba7ebe37b 100644 --- a/src/fragments/lib/troubleshooting/common/upgrading.mdx +++ b/src/fragments/lib/troubleshooting/common/upgrading.mdx @@ -151,7 +151,7 @@ amplify upgrade amplify push ``` -This will generate a new configuration file called `amplifyconfiguration.json` (You may need to use amplify pull if there are no changes in your environment). +This will generate a new configuration file called `amplifyconfiguration.json` (You may need to use `amplify pull` if there are no changes in your environment). Wherever you called `Amplify.configure({ aws-exports });` previously (usually in the root of your project) update your code as shown below