-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
0.12.3 terraform show
for unchanged resources
#21907
Comments
I've had a crack at fixing it in #21911. My first foray in to go, let alone terraform, so be nice :-) |
@jkburges Thanks for submitting that PR, it seems strange that the |
Yes, the output of Full session (with #21911 build):
|
We also have the same issue, I just upgraded to terraform 0.12 and now when running |
Hi all, This does seem to be an oversight with how the internal plan models changed in Terraform 0.12... the in-memory and saved plan now includes an entry for every resource instance, even if no change is required, so that the plan contains as complete as possible a description of the planned final state. However, the UI components that render these are supposed to then filter out those "no-op" changes, showing only the ones that represent an actual change. The I see that there's a PR linked here from @jkburges. I'm just reviewing the issue backlog right now so I'm going to continue on that rather than sidetracking, but we'll see about reviewing that PR soon. Thanks! |
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 Version
Terraform Configuration Files
Expected Behavior
I expect an empty result for
terraform show
, as in 0.11. Having said that, I cannot find any doc which specifies what the output should be.Actual Behavior
I see:
for resources which are not planned to change.
Steps to Reproduce
With the following terraform file:
then do:
Here's my full session, which includes terraform output:
The text was updated successfully, but these errors were encountered: