question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove and add auth template reference error

See original GitHub issue

MacOS, latest amplify-cli

Reproduce: remove auth and add new auth service in one go

ui|master⚡ ⇒ amplify push

Current Environment: dev

| Category | Resource name   | Operation | Provider plugin   |
| -------- | --------------- | --------- | ----------------- |
| Auth     | pcc1cbb190b     | Create    | awscloudformation |
| Auth     | pcc34b3fd39     | Delete    | awscloudformation |
| Api      | pcc             | No Change | awscloudformation |
| Hosting  | S3AndCloudFront | No Change | awscloudformation |
? Are you sure you want to continue? Yes
⠙ Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack
✖ An error occurred when pushing the resources to the cloud

Template error: instance of Fn::GetAtt references undefined resource authpcc34b3fd39

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
revmischacommented, Jul 10, 2019

Okay, that seems to have helped. Thanks! Still would consider this an issue - amplify should update the reference for me

2reactions
kaustavghosh06commented, Jul 10, 2019

If so, you can update the API to use the new auth that you added using ‘amplify update api’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amplify: How to remove Auth and add new Auth resource with ...
Amplify: How to remove Auth and add new Auth resource with Api resource. Error Template error: instance of Fn::GetAtt references undefined ...
Read more >
Troubleshoot broken references - Visual Studio - Microsoft Learn
To fix this problem, you can delete the broken reference and then replace it by using the Add Reference dialog box. Another solution...
Read more >
Admin Authentication API Errors | Firebase - Google
The credential used to initialize the Admin SDK has insufficient permission to access the requested Authentication resource. Refer to Set up a Firebase...
Read more >
gcloud auth application-default login
gcloud auth. Overview · activate-service-account. application-default ... instance-templates. Overview · add-iam-policy-binding · create ... error-reporting.
Read more >
Authentication API Explorer - Auth0
Error Codes. For the complete error code reference for this endpoint refer to Errors > POST /passwordless/start.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found