-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
source_image is listed in show as relative which results in jitter during apply #5299
Comments
Fwiw, the distinction between
and
is also fairly unhelpful. I can file an extra bug about the fact that terraform claims it doesn't know what the
That is definitely a known quantity. This:
relates to #5284 -- I was trying to suppress that, but I can't, because attempting to do so triggers that error instead ... The overall use case for this adventure is being able to easily recognize what is changing. We're using terraform to make lots of changes, or few changes. But terraform massively multiplies the number of changes it reports to the point that it's hiding the needles in very large haystacks. Ideally, if I make a single change -- as here I'm just adding a Having to review each and every line because the tool isn't smart enough to recognize that it isn't changing other things costs us a lot. (I'm happy to write patches, or have someone else from our group write patches.) |
@jsoref i think more than one issue is filed in this ticket. It would be helpful to track if you can open separate issues in future. Let me attempt to address it here and see ..
If you would like to collaborate with us for patches/feature work please reach out to GCP representative for your account. They will help us engaged with your team |
There is a project set, I excluded it from the config because it's private. It also isn't the core to my issue. The tags thing was an observation – I'm happy to file a bug for it. Source image is the only thing this issue is for. I'm happy to have it marked as a duplicate. |
Thank you @jsoref, will close it as its tracked on other issue |
@venkykuberan which is? |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Original file:
Revised file:
Debug Output
--- show before switching to next file:
(TF_LOG=debug terraform plan >/dev/null) 2>&1 | mask-terraform-secrets
:Panic Output
Expected Behavior
Plan output should not include changes to
disk.source_image
Actual Behavior
plan output:
Steps to Reproduce
terraform plan
terraform apply
terraform show
terraform plan
Important Factoids
I have pre-existing manually created templates that I kind of like. I'd like to migrate to using terraform w/o losing their characteristics.
(Yes, I understand SCSI is the default today, and the terraform behavior is documented, but it clearly isn't required from gcloud's perspective.)
References
This is in the family of #5283 -- things which do not quite work the way I'd like in that I can't produce the output I'd like the way I'd like / there doesn't appear to be any way to do so using terraform.
The text was updated successfully, but these errors were encountered: