-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Amplify Status and Push Not Reflecting New Analytics and Function Changes #13500
Comments
Hey @alpha-adam, thank you for reaching out. Wanted to get a bit more information on the reproduction steps |
I'll write a more detailed reproduction here.
I'm trying to use the dev / prod workflow shown here: https://docs.amplify.aws/react-native/tools/cli/teams/ Thanks in advance! |
Hey @alpha-adam, thank you for the information. We will need to run |
I see. I have two cloud9 envs set up for each of the different amplify envs, and I pull the changes with git. So that must be why the meta file is not being properly generated, because the checkout step is not being done in my case. I will test out your suggestion soon and report back. Cheers! |
Adding the |
Just confirmed that this solution worked. It also solved another problem that I was having; where the prod environment was having configuration issues with secretes and function versions. I suggest adding a note to the documentation to point out that the env checkout is an important step. Otherwise, people who use two seperate workspaces for each env will run into this same problem. Thanks for your help! Much appreciated! |
@alpha-adam Glad to hear you were able to mitigate the issue. Let me forward this feedback to the team. |
|
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18
Amplify CLI Version
12.1
What operating system are you using?
linux, cloud9
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
NA
Describe the bug
When using AWS Amplify CLI, new additions to my project (specifically analytics and a function) are not being recognized. Despite successfully adding these components and ensuring they are present in the team-provider-info and backend-config files, running amplify status or amplify push does not reflect these changes.
Expected behavior
I expected amplify status to show the newly added analytics and function, and amplify push to update these additions in the cloud environment.
Reproduction steps
Add new analytics and a function to the Amplify project.
Push changes to the Git repository.
Observe that both dev and prod branches are synchronized.
Run amplify status and amplify push.
Notice that the new additions are not listed or updated.
Project Identifier
ba02cdbba92e71aa235c621a1b28c279
Log output
NA
Additional information
Amplify Environments: dev, prod
Git Branches: dev, prod
Setup includes multiple categories (auth, api, function, storage)
The issue persists despite ensuring the correct file locations for changes and following the standard sequence of Amplify commands.
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: