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

Misleading reporting of destroyed resources on plan, when forced new resource #2835

Closed
gtmtech opened this issue Jul 23, 2015 · 2 comments
Closed

Comments

@gtmtech
Copy link

gtmtech commented Jul 23, 2015

terraform 0.6.1

Example - change a VPC CIDR block, and plan gives you:

-/+ aws_vpc.default
cidr_block: "10.15.0.0/16" => "10.16.0.0/16" (forces new resource)

but summary gives you:

Plan: 0 to add, 1 to change, 0 to destroy.

This is misleading as your VPC would be destroyed in the process. In general if a resource will end up being destroyed because of a "forces new resource", I should know about it in the plan summary.

@phinze
Copy link
Contributor

phinze commented Oct 12, 2015

Totally agreed with the logic here - this was done in #3173

@phinze phinze closed this as completed Oct 12, 2015
bmcustodio pushed a commit to bmcustodio/terraform that referenced this issue Sep 26, 2017
@ghost
Copy link

ghost commented Apr 30, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants