{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/4177","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/4177/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/4177/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/4177/events","html_url":"https://github.com/hashicorp/terraform/issues/4177","id":120589925,"number":4177,"title":"Attempt to 'apply' Google provision results in asn1 error","user":{"login":"frewsxcv","id":416575,"avatar_url":"https://avatars.githubusercontent.com/u/416575?v=3","gravatar_id":"","url":"https://api.github.com/users/frewsxcv","html_url":"https://github.com/frewsxcv","followers_url":"https://api.github.com/users/frewsxcv/followers","following_url":"https://api.github.com/users/frewsxcv/following{/other_user}","gists_url":"https://api.github.com/users/frewsxcv/gists{/gist_id}","starred_url":"https://api.github.com/users/frewsxcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frewsxcv/subscriptions","organizations_url":"https://api.github.com/users/frewsxcv/orgs","repos_url":"https://api.github.com/users/frewsxcv/repos","events_url":"https://api.github.com/users/frewsxcv/events{/privacy}","received_events_url":"https://api.github.com/users/frewsxcv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/google-cloud","name":"provider/google-cloud","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-05T21:45:09Z","updated_at":"2015-12-11T16:14:23Z","closed_at":null,"body":"```\r\nprovider \"google\" {\r\n  credentials = \"${file(\"tf/google-credentials.json\")}\"\r\n  project = \"lopfarm\"\r\n  region = \"us-central1\"\r\n  account_file = \"tf/google-credentials.json\"\r\n}\r\n\r\nresource \"google_container_cluster\" \"primary\" {\r\n  name = \"marcellus-wallace\"\r\n  zone = \"us-central1-a\"\r\n  initial_node_count = 1\r\n\r\n  master_auth {\r\n    username = \"admin\"\r\n    password = \"pasword\"\r\n  }\r\n\r\n  node_config {\r\n    machine_type = \"f1-micro\"\r\n  }\r\n}\r\n```\r\n\r\n```\r\ncoreyf@frewbook-pro ~/D/lop.io (master) [1]> terraform apply\r\nThere are warnings and/or errors related to your configuration. Please\r\nfix these before continuing.\r\n\r\nWarnings:\r\n\r\n  * provider.google: account_file was provided as a path instead of\r\nas file contents. This support will be removed in the future. Please update\r\nyour configuration to use ${file(\"filename.json\")} instead.\r\n  * provider.google: \"account_file\": [DEPRECATED] Use the credentials field instead\r\n\r\nNo errors found. Continuing with 2 warning(s).\r\n\r\ngoogle_container_cluster.primary: Creating...\r\n  cluster_ipv4_cidr:                    \"\" => \"<computed>\"\r\n  endpoint:                             \"\" => \"<computed>\"\r\n  initial_node_count:                   \"\" => \"1\"\r\n  instance_group_urls.#:                \"\" => \"<computed>\"\r\n  logging_service:                      \"\" => \"<computed>\"\r\n  master_auth.#:                        \"\" => \"1\"\r\n  master_auth.0.client_certificate:     \"\" => \"<computed>\"\r\n  master_auth.0.client_key:             \"\" => \"<computed>\"\r\n  master_auth.0.cluster_ca_certificate: \"\" => \"<computed>\"\r\n  master_auth.0.password:               \"\" => \"pasword\"\r\n  master_auth.0.username:               \"\" => \"admin\"\r\n  monitoring_service:                   \"\" => \"<computed>\"\r\n  name:                                 \"\" => \"marcellus-wallace\"\r\n  network:                              \"\" => \"default\"\r\n  node_config.#:                        \"\" => \"1\"\r\n  node_config.0.disk_size_gb:           \"\" => \"<computed>\"\r\n  node_config.0.machine_type:           \"\" => \"f1-micro\"\r\n  node_config.0.oauth_scopes.#:         \"\" => \"<computed>\"\r\n  node_version:                         \"\" => \"<computed>\"\r\n  zone:                                 \"\" => \"us-central1-a\"\r\nError applying plan:\r\n\r\n1 error(s) occurred:\r\n\r\n* google_container_cluster.primary: Post https://container.googleapis.com/v1/projects/lopfarm/zones/us-central1-a/clusters?alt=json: private key should be a PEM or plain PKSC1 or PKCS8; parse error: asn1: syntax error: sequence truncated\r\n\r\nTerraform does not automatically rollback in the face of errors.\r\nInstead, your Terraform state file has been partially updated with\r\nany resources that successfully completed. Please address the error\r\nabove and apply again to incrementally change your infrastructure.\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/163977907","html_url":"https://github.com/hashicorp/terraform/issues/4177#issuecomment-163977907","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/4177","id":163977907,"user":{"login":"lwander","id":4874941,"avatar_url":"https://avatars.githubusercontent.com/u/4874941?v=3","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T16:14:23Z","updated_at":"2015-12-11T16:14:23Z","body":"Sorry for the delay, but I'm having trouble reproducing this. Is your service account file corrupted perhaps? Could you try with a fresh service account file?"}}