Skip to content

Dependency errors during undeploy process #186

Answered by rhoboat
rhoboat asked this question in Help
Discussion options

You must be logged in to vote

The Reference Architecture can be destroyed/undeployed following reverse dependency order, to avoid this issue where existing modules depend on already destroyed resources.

Here's an example undeploy documentation that you would have received in your Ref Arch deployment (look under /docs).

First recommendation, if you still have the code in your version control for the old region (region-B), restore the already deleted module and redeploy. Then undeploy using the reverse dependency order in that undeploy doc. This is a known path.

If that's not feasible because there's too many to restore, you can use the skip_outputs flag in the dependency blocks for the resources that have already been …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Etiene
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment