-
Notifications
You must be signed in to change notification settings - Fork 824
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
[hostedUIProviderCreds] do not exist in the template #13587
Comments
Hey @R70YNS, thank you for reaching out. could you try running |
Hi @ykethan I've tried the above:
This still results in being unable to push any updates, even with the updated |
To confirm, it gave the same error message:
Tested on both Mac & Linux |
Another issue related to the above, raised awhile back. Unfortunately the known fix of adding Even though |
Hey @R70YNS, could you provide us the project identifier by running
noticed this, could provide us some information on how the authentication provider was removed? |
Project Identifier: bb01826d6e9e4d639ab999b6a0e018db Authentication provider was removed via console via Cognito -> User pool -> Sign-in experience -> Federated Identity provider sign-in. I did notice though that the same thing was done in a different environment and this still works fine. In trying to resolve the above, I deleted the local amplify directory and re-pulled via |
Hey @R70YNS, could you try the following
|
Hi @ykethan My
I've removed I didn't have any social providers selected, so purposely selected one and then deselected it. This changed my Auth resource when doing I then tried pushing via
Since the above failed, I deleted my amplify directory completely, re-pulled it, and without any modification tried doing
I think this clearly shows there is an error in the CLI when pulling the environment. I'm unable to correct it even when using the |
@R70YNS thank you for the information. From the project identifier did not observe any reference in the |
Hi @ykethan I don't have a |
I've tried regenerating
But both still fail with |
Hey @R70YNS, would be open for a quick call wanted to dive into the project. I am available on discord and my handle is |
Resolved with @ykethan. Updated CLI and re-generated
under resource within auth field in There was valid config already in |
|
How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
12.10.1
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
Unable to push latest changes to Amplify environment due to bug, 'Reason: [hostedUIProviderCreds] do not exist in the template.
~/.aws/amplify/deployment-secrets.json
contains the following for the environment:But I still receive the issue when trying to push latest changes.
Re-adding:
within
team-provider-info.json
auth field regeneratesdeployment-secrets.json
but still fails to push with the above error remaining.Deleting the amplify directory, re-pulling and attempting to push new changes still results in the error.
This issue has been reported in previous Github issues and still occurs in latest CLI.
Expected behavior
Specifying
hostedUIProviderCreds
withindeployment-secrets.json
should enable user to push changes to environment.Pulling an environment should created default variable when unable to access environment variables related to identify providers.
Reproduction steps
Unsure, but most likely related to external authentication provider.
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: