payload: {"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2/issues/192","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2/issues/192/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2/issues/192/events","html_url":"https://github.com/terraform-providers/terraform-provider-rancher2/issues/192","id":527586400,"node_id":"MDU6SXNzdWU1Mjc1ODY0MDA=","number":192,"title":"ssh_key in nodes of rke_config is empty in terraform.tfstate","user":{"login":"sriharsha99","id":12734690,"node_id":"MDQ6VXNlcjEyNzM0Njkw","avatar_url":"https://avatars2.githubusercontent.com/u/12734690?v=4","gravatar_id":"","url":"https://api.github.com/users/sriharsha99","html_url":"https://github.com/sriharsha99","followers_url":"https://api.github.com/users/sriharsha99/followers","following_url":"https://api.github.com/users/sriharsha99/following{/other_user}","gists_url":"https://api.github.com/users/sriharsha99/gists{/gist_id}","starred_url":"https://api.github.com/users/sriharsha99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sriharsha99/subscriptions","organizations_url":"https://api.github.com/users/sriharsha99/orgs","repos_url":"https://api.github.com/users/sriharsha99/repos","events_url":"https://api.github.com/users/sriharsha99/events{/privacy}","received_events_url":"https://api.github.com/users/sriharsha99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-11-23T17:44:07Z","updated_at":"2019-11-26T17:29:16Z","closed_at":null,"author_association":"NONE","body":"# Create a new rancher2 imported Cluster\r\nresource \"rancher2_cluster\" \"foo-imported\" {\r\n  name = \"foo-imported\"\r\n description = \"Foo rancher2 imported cluster\"\r\n  rke_config {\r\n    nodes {\r\n      address = \"XXXXXXXXXXXXXXXXXXX\"\r\n      user = \"barkurus\"\r\n      role = [\"controlplane\",  \"etcd\", \"worker\"]\r\n      ssh_key = \"ssh-key\"\r\n      ssh_key_path = \"/home/harsha/roche/git_repo/xxxx/scripts/rancher\"\r\n    }\r\n  }\r\n}\r\nstill in terraform.tfstate i am getting ssh_key as empty:\r\n   \"rke_config.0.nodes.0.hostname_override\": \"\",\r\n                            \"rke_config.0.nodes.0.internal_address\": \"\",\r\n                            \"rke_config.0.nodes.0.labels.%\": \"0\",\r\n                            \"rke_config.0.nodes.0.node_id\": \"\",\r\n                            \"rke_config.0.nodes.0.port\": \"22\",\r\n                            \"rke_config.0.nodes.0.role.#\": \"3\",\r\n                            \"rke_config.0.nodes.0.role.0\": \"controlplane\",\r\n                            \"rke_config.0.nodes.0.role.1\": \"etcd\",\r\n                            \"rke_config.0.nodes.0.role.2\": \"worker\",\r\n                            \"rke_config.0.nodes.0.ssh_agent_auth\": \"false\",\r\n                            \"rke_config.0.nodes.0.ssh_key\": \"\", \r\n\r\nEven if i copy the private key content in ssh_key i can see the above empty field"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2/issues/comments/558736262","html_url":"https://github.com/terraform-providers/terraform-provider-rancher2/issues/192#issuecomment-558736262","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-rancher2/issues/192","id":558736262,"node_id":"MDEyOklzc3VlQ29tbWVudDU1ODczNjI2Mg==","user":{"login":"rawmind0","id":11555446,"node_id":"MDQ6VXNlcjExNTU1NDQ2","avatar_url":"https://avatars1.githubusercontent.com/u/11555446?v=4","gravatar_id":"","url":"https://api.github.com/users/rawmind0","html_url":"https://github.com/rawmind0","followers_url":"https://api.github.com/users/rawmind0/followers","following_url":"https://api.github.com/users/rawmind0/following{/other_user}","gists_url":"https://api.github.com/users/rawmind0/gists{/gist_id}","starred_url":"https://api.github.com/users/rawmind0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawmind0/subscriptions","organizations_url":"https://api.github.com/users/rawmind0/orgs","repos_url":"https://api.github.com/users/rawmind0/repos","events_url":"https://api.github.com/users/rawmind0/events{/privacy}","received_events_url":"https://api.github.com/users/rawmind0/received_events","type":"User","site_admin":false},"created_at":"2019-11-26T17:29:16Z","updated_at":"2019-11-26T17:29:16Z","author_association":"COLLABORATOR","body":"Yep, you have a full example on [tf cluster examples](https://www.terraform.io/docs/providers/rancher2/r/cluster.html#example-usage) using node template and node pool"}}
other: {"actor":{"display_login":"rawmind0"}}