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.

Export cannot be deleted as it is in use. Renaming of resolver

See original GitHub issue

Which Category is your question related to? api / AppSync with Lambda Resolvers

Amplify CLI Version 5.0.0

What AWS Services are you utilizing? api

Provide additional details e.g. code snippets I am migrating one resolver to another one. So, I want to change all occurences of resolver1 to resolver2. It works for all fields except for one I get an error during amplify push.

 Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: Export 
2xq4p4l4j5a3nh52ch6bibllcm:GetAtt:InvokePriceServiceLambdaDataSource:FunctionId cannot be deleted as it is in use by
 amplify-stockify-develop-173557-apistockify-10MYXVPNIC03Q-ConnectionStack-1OQBEIDPTEDF3

The field I am changing is:

  security(date: AWSDate): SecurityShadow!
    @function(name: "priceService-${env}")

I changed priceService to another name. I changed the exact same attribute in another type.

Do you have any idea where this resource is still needed and how to fix that?

Thanks 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
AlessandroVol23commented, Jul 6, 2021

Everything works as expected. My mistake was to not change the resolver name before executing the steps.

Thank you so much @attilah ! I really appreciate it 😃

0reactions
github-actions[bot]commented, Sep 5, 2021

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 *-help channels for those types of questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve the "Export EXPORT_NAME cannot be updated as it ...
You get this error when one or more stacks are importing an exported output value from the stack that you want to update...
Read more >
Cloudformation exports cannot be deleted - Stack Overflow
The solution is to modify the stacks that are referencing The export, and removing the resource(s) that has the reference. Update the stack...
Read more >
Partially-Exported Video Will Not Delete - Microsoft Community
I feel that your problem should be that DaVinci Resolve is forcibly stopped, and then the problem occurs when you export and delete...
Read more >
Export resource cannot be deleted as it is in use - Seed.run
Solution. The error message tells you which stack is referencing the exported value. Go to the corresponding service's serverless.yml and identify where you...
Read more >
vserver export-policy delete - Product documentation - NetApp
The vserver export-policy delete command deletes an export policy. You cannot delete the default policy (named default ) for a Vserver ...
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