-
Notifications
You must be signed in to change notification settings - Fork 825
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 add new env failure with error : HostedUIProvidersCustomResourceInputs Custom::LambdaCallout #6942
Comments
When you add a new env, did you get a question around entering your client id and client secrets for the auth resource in your nw environment? |
@kaustavghosh06 - Nope - NOT prompted, any other info needed ? |
@bishonbopanna Can you update your credentials by running |
@bishonbopanna Specifically you can go through the following flow to unblock yourself while we push out a fix for this:
|
@ammarkarachi , @kaustavghosh06 - thankyou, the workaround did the job. Any recommendation on removing the failed envs as per issue # 2 ? |
@bishonbopanna The #2 issue seems unrelated to auth and seems like its tied to the creds used. If you update the aws profile of the current env to that of envtwo and then try removing envtwo, you should be able to get around it. |
@bishonbopanna We've released a fix for the issue with add auth -> push which was your original issue. Closing this issue. |
thanks @kaustavghosh06 - how to get the fix ? Is there a need to pull the latest version ? also issue # 2 is not resolved as per your recommendation - Please let me know if you need any other info. |
@bishonbopanna #2 happens due to wrong access/creds. What does your amplify/.config/local-aws-info.json look like? Did you make the necessary changes based on my recommendation above? |
thanks @kaustavghosh06, will pull the latest, yes work around is in use. Yes I did as per your recommendation. here are the contents
|
@bishonbopanna Are you trying to remove envone from evntwo or envthree? |
@kaustavghosh06 - envtwo, also i have currently checkedout envone which uses the same credentials as envtwo. This time i get a different error -
|
Okay, so the CloudFormation stack has already deleted and the corresponding resources are deleted along with he Amplify backend environment in the console. You would need to remove the environment from environment from the "team-provider-info.json` file locally to get rid of it from showing locally. |
ok will do, thanks again @kaustavghosh06 |
I have the exact same problem and I did what you recommended @kaustavghosh06 but I'm still having the same problem. I Have Facebook and Google integrated to Cognito and I updated both through |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Before opening, please confirm:
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v15.12.0
Amplify CLI Version
4.45.2
What operating system are you using?
Mac
Amplify Categories
auth, storage, api, hosting
Amplify Commands
env, publish
Describe the bug
I am trying to add new env for the amplify backend and am getting the below error. :
From Log stream :
Expected behavior
New amplify env should be added without issues
Reproduction steps
----------- ALL WELL TILL HERE ------------
<< choose the aws profile of the account from another organization>>
ISSUE # 1 :
From Log stream :
2021-03-22T23:33:10.456Z f141c0f0-b781-433a-bdcd-aa5122b4cb5d INFO Response body:
GraphQL schema(s)
# Put schemas below this line
Log output
The text was updated successfully, but these errors were encountered: