{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/982","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/982/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/982/events","html_url":"https://github.com/terraform-providers/terraform-provider-google/issues/982","id":289929009,"number":982,"title":"aborting long running terraform apply operation removes all state","user":{"login":"matti","id":3893,"avatar_url":"https://avatars1.githubusercontent.com/u/3893?v=4","gravatar_id":"","url":"https://api.github.com/users/matti","html_url":"https://github.com/matti","followers_url":"https://api.github.com/users/matti/followers","following_url":"https://api.github.com/users/matti/following{/other_user}","gists_url":"https://api.github.com/users/matti/gists{/gist_id}","starred_url":"https://api.github.com/users/matti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matti/subscriptions","organizations_url":"https://api.github.com/users/matti/orgs","repos_url":"https://api.github.com/users/matti/repos","events_url":"https://api.github.com/users/matti/events{/privacy}","received_events_url":"https://api.github.com/users/matti/received_events","type":"User","site_admin":false},"labels":[{"id":623652288,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/labels/upstream","name":"upstream","color":"fad8c7","default":false},{"id":670571367,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/labels/upstream-terraform","name":"upstream-terraform","color":"cccccc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-19T10:28:45Z","updated_at":"2018-02-05T23:05:36Z","closed_at":null,"author_association":"NONE","body":"I was doing a terraform apply with two `google_container_cluster`s and 4 `google_container_node_pool`s and when it took over 10 minutes (because some preemptible machines weren't available, so it kept waiting for them for ever) my terraform state file went empty, so basically terraform has no idea of the clusters/nodepools anymore even if they are running. Not sure if this is a terraform issue or google provider issue? I've seen this happen with `google_container_clusters` only multiple times.\r\n\r\nI'm using terraform workspaces (non-remote).\r\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/comments/363251879","html_url":"https://github.com/terraform-providers/terraform-provider-google/issues/982#issuecomment-363251879","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-google/issues/982","id":363251879,"user":{"login":"apparentlymart","id":20180,"avatar_url":"https://avatars1.githubusercontent.com/u/20180?v=4","gravatar_id":"","url":"https://api.github.com/users/apparentlymart","html_url":"https://github.com/apparentlymart","followers_url":"https://api.github.com/users/apparentlymart/followers","following_url":"https://api.github.com/users/apparentlymart/following{/other_user}","gists_url":"https://api.github.com/users/apparentlymart/gists{/gist_id}","starred_url":"https://api.github.com/users/apparentlymart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apparentlymart/subscriptions","organizations_url":"https://api.github.com/users/apparentlymart/orgs","repos_url":"https://api.github.com/users/apparentlymart/repos","events_url":"https://api.github.com/users/apparentlymart/events{/privacy}","received_events_url":"https://api.github.com/users/apparentlymart/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T23:05:36Z","updated_at":"2018-02-05T23:05:36Z","author_association":"CONTRIBUTOR","body":"Hi @matti! Sorry for this strange issue, and thanks for reporting it.\r\n\r\nAfter some investigation today I concluded that although you are seeing similar _symptoms_ as hashicorp/terraform#17066 the root causes seem to be separate. (You can see some details of how I got to that conclusion in a comment on that issue, if you're interested.)\r\n\r\nSo with that said, if you'd be willing it'd be great if you could open a new top-level issue in [the Terraform Core repository](https://github.com/hashicorp/terraform) and provide the things requested in the issue template there -- particularly the trace log -- which will hopefully allow us to understand better what's going on in your case.\r\n\r\nThanks, and sorry again for this weird behavior.\r\n"}}
{"actor":{"display_login":"apparentlymart"}}