{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/atlas-examples/issues/52","labels_url":"https://api.github.com/repos/hashicorp/atlas-examples/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/atlas-examples/issues/52/comments","events_url":"https://api.github.com/repos/hashicorp/atlas-examples/issues/52/events","html_url":"https://github.com/hashicorp/atlas-examples/issues/52","id":99100326,"number":52,"title":"AWS-SSH-Setup for Atlas?","user":{"login":"steve-jansen","id":3165077,"avatar_url":"https://avatars.githubusercontent.com/u/3165077?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-jansen","html_url":"https://github.com/steve-jansen","followers_url":"https://api.github.com/users/steve-jansen/followers","following_url":"https://api.github.com/users/steve-jansen/following{/other_user}","gists_url":"https://api.github.com/users/steve-jansen/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-jansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-jansen/subscriptions","organizations_url":"https://api.github.com/users/steve-jansen/orgs","repos_url":"https://api.github.com/users/steve-jansen/repos","events_url":"https://api.github.com/users/steve-jansen/events{/privacy}","received_events_url":"https://api.github.com/users/steve-jansen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T02:05:27Z","updated_at":"2015-08-05T05:08:07Z","closed_at":null,"body":"Hi!\r\n\r\nDoes the [AWS-SSH-Setup](\r\nhttps://github.com/hashicorp/atlas-examples/blob/master/AWS-SSH-Setup/ssh.md) example work with Atlas?\r\n\r\nThe `ssh_keys/tmp-key` seems to imply a file on your local machine, not something visible to Atlas.\r\n\r\nI can imagine hacking something together with Terraform variables in Atlas to store the key pair, and create a local file on disk to use for the SSH connection.  Is there a better way?\r\n\r\nMany thanks,\r\nSteve"},"comment":{"url":"https://api.github.com/repos/hashicorp/atlas-examples/issues/comments/127855635","html_url":"https://github.com/hashicorp/atlas-examples/issues/52#issuecomment-127855635","issue_url":"https://api.github.com/repos/hashicorp/atlas-examples/issues/52","id":127855635,"user":{"login":"KFishner","id":1972457,"avatar_url":"https://avatars.githubusercontent.com/u/1972457?v=3","gravatar_id":"","url":"https://api.github.com/users/KFishner","html_url":"https://github.com/KFishner","followers_url":"https://api.github.com/users/KFishner/followers","following_url":"https://api.github.com/users/KFishner/following{/other_user}","gists_url":"https://api.github.com/users/KFishner/gists{/gist_id}","starred_url":"https://api.github.com/users/KFishner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KFishner/subscriptions","organizations_url":"https://api.github.com/users/KFishner/orgs","repos_url":"https://api.github.com/users/KFishner/repos","events_url":"https://api.github.com/users/KFishner/events{/privacy}","received_events_url":"https://api.github.com/users/KFishner/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T05:08:07Z","updated_at":"2015-08-05T05:08:07Z","body":"Hey Steve - when you [`terraform push`](http://terraform.io/docs/commands/push.html) to Atlas, it sends up the files in the directory you pushed from. You probably aren't tracking your ssh_key with a version control system, so you can set -vcs=false in terraform push to send up all files, not just those committed to version control. \r\n\r\nOR\r\n\r\nYou could just put the contents of the ssh_key file as an Atlas variable, as you described. Then just reference that variable like any other! "}}