Skip to content
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

cdktf destroy errors saying stale plan #182

Closed
anubhavmishra opened this issue Jul 15, 2020 · 2 comments
Closed

cdktf destroy errors saying stale plan #182

anubhavmishra opened this issue Jul 15, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@anubhavmishra
Copy link
Member

-> $ cdktf destroy
⠹ planning vpcexample...

Error: Saved plan is stale

The given plan file can no longer be applied because the state was changed by
another operation after the plan was created.

Warning: Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.

Check the render method of Unknown.
non-zero exit code 1
@anubhavmishra anubhavmishra added the bug Something isn't working label Jul 15, 2020
@anubhavmishra
Copy link
Member Author

anubhavmishra commented Jul 15, 2020

I had moved the terraform.tfstate file into the cdktf.out directory that caused the error as there were two states.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant