{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/issues/122","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/issues/122/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/issues/122/events","html_url":"https://github.com/terraform-providers/terraform-provider-oci/issues/122","id":230875480,"node_id":"MDU6SXNzdWUyMzA4NzU0ODA=","number":122,"title":"Invalid ssh public key type \"-----BEGIN\" in single_instance example","user":{"login":"craiganderson-53546","id":25966102,"node_id":"MDQ6VXNlcjI1OTY2MTAy","avatar_url":"https://avatars2.githubusercontent.com/u/25966102?v=4","gravatar_id":"","url":"https://api.github.com/users/craiganderson-53546","html_url":"https://github.com/craiganderson-53546","followers_url":"https://api.github.com/users/craiganderson-53546/followers","following_url":"https://api.github.com/users/craiganderson-53546/following{/other_user}","gists_url":"https://api.github.com/users/craiganderson-53546/gists{/gist_id}","starred_url":"https://api.github.com/users/craiganderson-53546/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craiganderson-53546/subscriptions","organizations_url":"https://api.github.com/users/craiganderson-53546/orgs","repos_url":"https://api.github.com/users/craiganderson-53546/repos","events_url":"https://api.github.com/users/craiganderson-53546/events{/privacy}","received_events_url":"https://api.github.com/users/craiganderson-53546/received_events","type":"User","site_admin":false},"labels":[{"id":475001212,"node_id":"MDU6TGFiZWw0NzUwMDEyMTI=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/labels/bug","name":"bug","color":"f7c6c7","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-23T23:11:54Z","updated_at":"2018-09-18T07:53:06Z","closed_at":"2017-06-29T15:06:02Z","author_association":"NONE","body":"## Description of the bug:\r\nI am trying to execute the ../docs/examples/compute/single-instance example using Terraform 0.9.5, latest copy of baremetal provider, running from a Windows 10 WLS (bash) platform. I have successfully executed the simple-vcn example, which makes me think there I have the correct stuff in place. But doing the single instance example from the same session successfully creates the TFBlock and TFBlockAttachment, but then throws an error on the public key.  It appears to be valid and I can echo all the $TF_VARs and see the expected output.  The console session shows the full public key and it looks correct.  The console output from performing these steps (vcn followed by single-instance examples in same session) are in the zip file along with keys and tf files.\r\n[block.zip](https://github.com/oracle/terraform-provider-baremetal/files/1023951/block.zip)\r\n\r\n\r\n\r\n\r\n## A self-contained terraform file that reproduces the issue:\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/issues/comments/422292409","html_url":"https://github.com/terraform-providers/terraform-provider-oci/issues/122#issuecomment-422292409","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-oci/issues/122","id":422292409,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjI5MjQwOQ==","user":{"login":"kemila-codegen","id":37286791,"node_id":"MDQ6VXNlcjM3Mjg2Nzkx","avatar_url":"https://avatars3.githubusercontent.com/u/37286791?v=4","gravatar_id":"","url":"https://api.github.com/users/kemila-codegen","html_url":"https://github.com/kemila-codegen","followers_url":"https://api.github.com/users/kemila-codegen/followers","following_url":"https://api.github.com/users/kemila-codegen/following{/other_user}","gists_url":"https://api.github.com/users/kemila-codegen/gists{/gist_id}","starred_url":"https://api.github.com/users/kemila-codegen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemila-codegen/subscriptions","organizations_url":"https://api.github.com/users/kemila-codegen/orgs","repos_url":"https://api.github.com/users/kemila-codegen/repos","events_url":"https://api.github.com/users/kemila-codegen/events{/privacy}","received_events_url":"https://api.github.com/users/kemila-codegen/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T07:53:06Z","updated_at":"2018-09-18T07:53:06Z","author_association":"NONE","body":"Can someone help on below error I am getting?\r\n\r\nWhen we give plain text value of ssh key, its working fine.  \r\nBut it is not working when give the path of the key where exist. Please check commented lines those are the ways that I tried. \r\n\r\n\r\n\r\nvariable \"ssh_public_key\" {\r\n  default = \"ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4Og9GpSYbH6Pn5GdbObcprAwvFLJRHEt8uy6rtQjQH/apWggCjRHr3L0dN3VVeCmZhJMP3Io2/BOpg0cHgZtWyLPlCeQTP4x5yOa3PAS0FLw9ck3SKM/t1OXEn/LzXBQDRD2dh9j2w10aBBs9/ngb1V62lDz9+LNYn3bcoH4V9DZbk9kRnfMzxTW5nqGZMwy/CVgpeFGZbZ7obXBqhHMTPpzFYv503KYPmbKDdWlisncaGrG1limNyrZxE71C9Qa4c22wZMZTMiS2JshbDprTXRP1Ha+5PENGOdo/Pd8TWhqqUm6+EGCKZUOFbY4eBtg+eEKrIOIM7saQ+Nw2wDrtw== oracle\"\r\n  #default = \"./userdata/public.pem\"\r\n  #default = \"./userdata/web-instance-public.ppk\"\r\n  #default = \"./userdata/ssh-key.pub\"\r\n  #default = \"cat /f/~DEMO-Migration~/terraform/TEST/userdata/ssh-key.pub\"\r\n  #default = \"$(cat /f/~DEMO-Migration~/terraform/TEST/userdata/ssh-key.pub)\"\r\n\r\n}\r\n\r\nexport TF_VAR_ssh_public_key= $(cat /f/~DEMO-Migration~/terraform/TEST/userdata/ssh-key.pub)"}}
{"actor":{"display_login":"kemila-codegen"}}