Amplify pull misses hostedUIProviderCreds in the team-provider.info file - An error occured during the push operation: Resource is not in the state stackUpdateComplete
See original GitHub issueNote: If your issue/bug is regarding the AWS Amplify Console service, please log it in the Amplify Console GitHub Issue Tracker
Describe the bug
Amplify pull
misses hostedUIProviderCreds
in the team-provider.info file. This causes a push to fail with the following cloudformation error:
UPDATE_FAILED authxxxxxxx630360af AWS::CloudFormation::Stack Tue Mar 10 2020 23:26:52 GMT+0000 (Greenwich Mean Time) Template format error: Unresolved resource dependencies [hostedUIProviderCreds] in the Resources block of the template
Following resources failed
✖ An error occurred when pushing the resources to the cloud
Resource is not in the state stackUpdateComplete
An error occured during the push operation: Resource is not in the state stackUpdateComplete
Amplify CLI Version 4.13.4
To Reproduce
- Add federated login to project with add auth and add fb/google oauth details.
- Then push with
amplify push
- create another project in a different folder and
amplify pull
(yes this project will update backend) - make a change to auth (I changed the redirect urls)
amplify push
Expected behavior push should work/update as with the original project
Desktop (please complete the following information):
- OS: Mac
- Node Version. v13.5.0
Additional context Missing following section from team-provider.info file:
"categories": {
"auth": {
"roarapp630360af": {
"hostedUIProviderCreds": "[{\"ProviderName\":\"Facebook\",\"client_id\":\"xxxxxxxxxxxxxxx\",\"client_secret\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"},{\"ProviderName\":\"Google\",\"client_id\":\"xxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com\",\"client_secret\":\"xxxxxxxxxxxxxxxxxxxxxxxx\"}]"
}
}
}
Adding the section fixes the issue
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:20 (5 by maintainers)
Top Results From Across the Web
How to resolve: AWS Amplify Resource is not in the state ...
When deploying my new Amplify project (using amplify api push ), I get the following error: Resource is not in the state stackUpdateComplete....
Read more >Reference - Files and Folders - AWS Amplify Docs
Contains the latest local development state of the checked out environment's resources. The contents of this folder can be modified and running amplify...
Read more >Quickstart
The Amplify Command Line Interface (CLI) is a unified toolchain to create, integrate, and manage the AWS cloud services for your app. Install...
Read more >How to add custom resources to AWS Amplify. Add an SQS ...
Add custom resource in backend config. In the first step, you need to add a custom category name and custom resource name within...
Read more >Learning how to use AWS Amplify in Flutter - LogRocket Blog
Learn about what AWS Amplify is and how to integrate and configure it while building a Flutter to-do demo app.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any news on this issue? I’ve got the same problem.
+1, it’s happening in 4.36.2