-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Unable to delete an entire module #2770
Comments
Ah, so just to clarify: your modules have no active resources, but deleting them from the config keeps them in the state? That is an edge case I could believe, but just checking. |
I have both situations currently
One note about #2- the the module that doesn't trigger a delete only -ryan On Fri, Jul 17, 2015 at 3:22 PM, Mitchell Hashimoto <
|
That was it. Here's what I did.
So it appears that terraform doesn't detect a deleted module when that -ryan On Fri, Jul 17, 2015 at 4:21 PM, Ryan King ryan@theryanking.com wrote:
|
Reproduced! Working on this now. |
Got a fix in the attached PR! |
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 have 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. |
terraform show
I see a bunch of modules that are no longer used (and have 0 resources in them)$ terraform plan --refresh=false
No changes. Infrastructure is up-to-date. This means that Terraform
could not detect any differences between your configuration and
the real physical resources that exist. As a result, Terraform
doesn't need to do anything.
[ comment out module ]
$ terraform plan --refresh=false
No changes. Infrastructure is up-to-date. This means that Terraform
could not detect any differences between your configuration and
the real physical resources that exist. As a result, Terraform
doesn't need to do anything.
Also. At the top level I have 3 modules. When i comment one of them out, terraform says "no changes". When I comment out a second one, it hangs. Output with TF_LOG=1 here.
The text was updated successfully, but these errors were encountered: