You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the crash was due to a bug when specifying type but not source / image. That is in fact only valid in the case of local ssds but it's fixed now.
The only change you need to make to use local-ssd is to add an extra attribute to the disk: scratch = true, which corresponds to the type = "SCRATCH" attribute from the APIs. Unfortunately initializeParams.diskType is already represented as "type", causing a name clash, but the enum only has two values in it at present so I represented as a boolean for now.
Long term, I'd like to rewrite the disk support entirely to allow modifying disks without forcenew (as is already done by @phinze for AWS). Since that will require a deprecation cycle, I will make the attributes more closely align to the GCE API at that time.
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
locked and limited conversation to collaborators
May 2, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think local SSDs are not yet supported by Terraform, but I've tied to "brute force" it anyway and it crashed hard :(
Configuration:
Gist of crash.log
The text was updated successfully, but these errors were encountered: