-
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
google provider crashes when removing a service_account scope from an instance #3586
Comments
Thanks for finding this - I should have a fix soon. |
@phinze, @apparentlymart, @catsby, It seems that |
I guess the question here is whether there's any compelling use-case for customizing how a missing value gets serialized in the state. I spent some time trying to think of such a use-case and turned up nothing, so unless someone else finds one I'd be in favor of just skipping the |
Well, as far as I know the |
Oh yes, you're right. I forgot that |
Could you add a core label? This isn't specific to google |
I removed the google label and added the core label |
Picking this up! |
This takes the nil checking burden off of StateFunc. fixes #3586, see that issue for further discussion
This takes the nil checking burden off of StateFunc. fixes #3586, see that issue for further discussion
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. |
Steps to reproduce:
["storage-ro", "compute-rw"]
.compute-rw
scope.terraform plan
and it crashesThe specific problem is a nil string at
google/resource_compute_instance.go:225
. I'm seeing this both with the latest release of Terraform and building from themaster
branch.Crash.log and terraform.tfstate are here: https://gist.github.com/dimfeld/9acc2d18f367a975dcc9
The text was updated successfully, but these errors were encountered: