{"action":"created","comment":{"url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/comments/80408537","id":80408537,"diff_hunk":"@@ -0,0 +1,4 @@\n+[default]\n+aws_access_key_id = <%= p(\"grafana.aws.aws_access_key_id\") %>","path":"jobs/grafana/templates/credentials","position":2,"original_position":2,"commit_id":"c500813e2096c80d5be23a12b03b0efb96ca7ee9","original_commit_id":"d0cb0a01ce720e74049b9bd84977ce4b1f644d7a","user":{"login":"m-richo","id":516454,"avatar_url":"https://avatars.githubusercontent.com/u/516454?v=3","gravatar_id":"","url":"https://api.github.com/users/m-richo","html_url":"https://github.com/m-richo","followers_url":"https://api.github.com/users/m-richo/followers","following_url":"https://api.github.com/users/m-richo/following{/other_user}","gists_url":"https://api.github.com/users/m-richo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-richo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-richo/subscriptions","organizations_url":"https://api.github.com/users/m-richo/orgs","repos_url":"https://api.github.com/users/m-richo/repos","events_url":"https://api.github.com/users/m-richo/events{/privacy}","received_events_url":"https://api.github.com/users/m-richo/received_events","type":"User","site_admin":false},"body":"tested it with defaults of empty string.  Bosh creates file successfully with\r\n```\r\n$ cat credentials\r\n[default]\r\naws_access_key_id =\r\naws_secret_access_key =\r\nregion =\r\n```","created_at":"2016-09-26T05:07:51Z","updated_at":"2016-09-26T05:07:51Z","html_url":"https://github.com/vito/grafana-boshrelease/pull/16#discussion_r80408537","pull_request_url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/comments/80408537"},"html":{"href":"https://github.com/vito/grafana-boshrelease/pull/16#discussion_r80408537"},"pull_request":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16","id":86466770,"html_url":"https://github.com/vito/grafana-boshrelease/pull/16","diff_url":"https://github.com/vito/grafana-boshrelease/pull/16.diff","patch_url":"https://github.com/vito/grafana-boshrelease/pull/16.patch","issue_url":"https://api.github.com/repos/vito/grafana-boshrelease/issues/16","number":16,"state":"open","locked":false,"title":"support cloudwatch data source in grafana","user":{"login":"m-richo","id":516454,"avatar_url":"https://avatars.githubusercontent.com/u/516454?v=3","gravatar_id":"","url":"https://api.github.com/users/m-richo","html_url":"https://github.com/m-richo","followers_url":"https://api.github.com/users/m-richo/followers","following_url":"https://api.github.com/users/m-richo/following{/other_user}","gists_url":"https://api.github.com/users/m-richo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-richo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-richo/subscriptions","organizations_url":"https://api.github.com/users/m-richo/orgs","repos_url":"https://api.github.com/users/m-richo/repos","events_url":"https://api.github.com/users/m-richo/events{/privacy}","received_events_url":"https://api.github.com/users/m-richo/received_events","type":"User","site_admin":false},"body":"as discussed in issue #12 \r\n\r\ngrafana cloudwatch data source is looking for aws credentials in `$HOME/.aws/credentials`.\r\nthis PR creates the credentials file in `/var/vcap/jobs/grafana/home/.aws/credentials` containing AWS keys and set $HOME env-var for the grafana-server process launched by the `chpst` command.\r\n\r\nI've tested it locally in bosh-lite and works fine.","created_at":"2016-09-23T07:39:44Z","updated_at":"2016-09-26T05:07:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92c0672c43f5e7e3f6b4f1523b238547e26d381c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16/commits","review_comments_url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16/comments","review_comment_url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vito/grafana-boshrelease/issues/16/comments","statuses_url":"https://api.github.com/repos/vito/grafana-boshrelease/statuses/c500813e2096c80d5be23a12b03b0efb96ca7ee9","head":{"label":"m-richo:cloudwatch_support","ref":"cloudwatch_support","sha":"c500813e2096c80d5be23a12b03b0efb96ca7ee9","user":{"login":"m-richo","id":516454,"avatar_url":"https://avatars.githubusercontent.com/u/516454?v=3","gravatar_id":"","url":"https://api.github.com/users/m-richo","html_url":"https://github.com/m-richo","followers_url":"https://api.github.com/users/m-richo/followers","following_url":"https://api.github.com/users/m-richo/following{/other_user}","gists_url":"https://api.github.com/users/m-richo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-richo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-richo/subscriptions","organizations_url":"https://api.github.com/users/m-richo/orgs","repos_url":"https://api.github.com/users/m-richo/repos","events_url":"https://api.github.com/users/m-richo/events{/privacy}","received_events_url":"https://api.github.com/users/m-richo/received_events","type":"User","site_admin":false},"repo":{"id":68996778,"name":"grafana-boshrelease","full_name":"m-richo/grafana-boshrelease","owner":{"login":"m-richo","id":516454,"avatar_url":"https://avatars.githubusercontent.com/u/516454?v=3","gravatar_id":"","url":"https://api.github.com/users/m-richo","html_url":"https://github.com/m-richo","followers_url":"https://api.github.com/users/m-richo/followers","following_url":"https://api.github.com/users/m-richo/following{/other_user}","gists_url":"https://api.github.com/users/m-richo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-richo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-richo/subscriptions","organizations_url":"https://api.github.com/users/m-richo/orgs","repos_url":"https://api.github.com/users/m-richo/repos","events_url":"https://api.github.com/users/m-richo/events{/privacy}","received_events_url":"https://api.github.com/users/m-richo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-richo/grafana-boshrelease","description":"a BOSH release for the Grafana metrics dashboard","fork":true,"url":"https://api.github.com/repos/m-richo/grafana-boshrelease","forks_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/forks","keys_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/teams","hooks_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/hooks","issue_events_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/issues/events{/number}","events_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/events","assignees_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/assignees{/user}","branches_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/branches{/branch}","tags_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/tags","blobs_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/statuses/{sha}","languages_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/languages","stargazers_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/stargazers","contributors_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/contributors","subscribers_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/subscribers","subscription_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/subscription","commits_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/contents/{+path}","compare_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/merges","archive_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/downloads","issues_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/issues{/number}","pulls_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/pulls{/number}","milestones_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/milestones{/number}","notifications_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/labels{/name}","releases_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/releases{/id}","deployments_url":"https://api.github.com/repos/m-richo/grafana-boshrelease/deployments","created_at":"2016-09-23T06:41:51Z","updated_at":"2016-09-23T06:41:52Z","pushed_at":"2016-09-26T05:05:42Z","git_url":"git://github.com/m-richo/grafana-boshrelease.git","ssh_url":"git@github.com:m-richo/grafana-boshrelease.git","clone_url":"https://github.com/m-richo/grafana-boshrelease.git","svn_url":"https://github.com/m-richo/grafana-boshrelease","homepage":null,"size":39,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vito:master","ref":"master","sha":"6711fa75c0e10de6e7d7ec3abebf0f6f22e0ed40","user":{"login":"vito","id":1880,"avatar_url":"https://avatars.githubusercontent.com/u/1880?v=3","gravatar_id":"","url":"https://api.github.com/users/vito","html_url":"https://github.com/vito","followers_url":"https://api.github.com/users/vito/followers","following_url":"https://api.github.com/users/vito/following{/other_user}","gists_url":"https://api.github.com/users/vito/gists{/gist_id}","starred_url":"https://api.github.com/users/vito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vito/subscriptions","organizations_url":"https://api.github.com/users/vito/orgs","repos_url":"https://api.github.com/users/vito/repos","events_url":"https://api.github.com/users/vito/events{/privacy}","received_events_url":"https://api.github.com/users/vito/received_events","type":"User","site_admin":false},"repo":{"id":41986920,"name":"grafana-boshrelease","full_name":"vito/grafana-boshrelease","owner":{"login":"vito","id":1880,"avatar_url":"https://avatars.githubusercontent.com/u/1880?v=3","gravatar_id":"","url":"https://api.github.com/users/vito","html_url":"https://github.com/vito","followers_url":"https://api.github.com/users/vito/followers","following_url":"https://api.github.com/users/vito/following{/other_user}","gists_url":"https://api.github.com/users/vito/gists{/gist_id}","starred_url":"https://api.github.com/users/vito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vito/subscriptions","organizations_url":"https://api.github.com/users/vito/orgs","repos_url":"https://api.github.com/users/vito/repos","events_url":"https://api.github.com/users/vito/events{/privacy}","received_events_url":"https://api.github.com/users/vito/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vito/grafana-boshrelease","description":"a BOSH release for the Grafana metrics dashboard","fork":false,"url":"https://api.github.com/repos/vito/grafana-boshrelease","forks_url":"https://api.github.com/repos/vito/grafana-boshrelease/forks","keys_url":"https://api.github.com/repos/vito/grafana-boshrelease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vito/grafana-boshrelease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vito/grafana-boshrelease/teams","hooks_url":"https://api.github.com/repos/vito/grafana-boshrelease/hooks","issue_events_url":"https://api.github.com/repos/vito/grafana-boshrelease/issues/events{/number}","events_url":"https://api.github.com/repos/vito/grafana-boshrelease/events","assignees_url":"https://api.github.com/repos/vito/grafana-boshrelease/assignees{/user}","branches_url":"https://api.github.com/repos/vito/grafana-boshrelease/branches{/branch}","tags_url":"https://api.github.com/repos/vito/grafana-boshrelease/tags","blobs_url":"https://api.github.com/repos/vito/grafana-boshrelease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vito/grafana-boshrelease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vito/grafana-boshrelease/git/refs{/sha}","trees_url":"https://api.github.com/repos/vito/grafana-boshrelease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vito/grafana-boshrelease/statuses/{sha}","languages_url":"https://api.github.com/repos/vito/grafana-boshrelease/languages","stargazers_url":"https://api.github.com/repos/vito/grafana-boshrelease/stargazers","contributors_url":"https://api.github.com/repos/vito/grafana-boshrelease/contributors","subscribers_url":"https://api.github.com/repos/vito/grafana-boshrelease/subscribers","subscription_url":"https://api.github.com/repos/vito/grafana-boshrelease/subscription","commits_url":"https://api.github.com/repos/vito/grafana-boshrelease/commits{/sha}","git_commits_url":"https://api.github.com/repos/vito/grafana-boshrelease/git/commits{/sha}","comments_url":"https://api.github.com/repos/vito/grafana-boshrelease/comments{/number}","issue_comment_url":"https://api.github.com/repos/vito/grafana-boshrelease/issues/comments{/number}","contents_url":"https://api.github.com/repos/vito/grafana-boshrelease/contents/{+path}","compare_url":"https://api.github.com/repos/vito/grafana-boshrelease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vito/grafana-boshrelease/merges","archive_url":"https://api.github.com/repos/vito/grafana-boshrelease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vito/grafana-boshrelease/downloads","issues_url":"https://api.github.com/repos/vito/grafana-boshrelease/issues{/number}","pulls_url":"https://api.github.com/repos/vito/grafana-boshrelease/pulls{/number}","milestones_url":"https://api.github.com/repos/vito/grafana-boshrelease/milestones{/number}","notifications_url":"https://api.github.com/repos/vito/grafana-boshrelease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vito/grafana-boshrelease/labels{/name}","releases_url":"https://api.github.com/repos/vito/grafana-boshrelease/releases{/id}","deployments_url":"https://api.github.com/repos/vito/grafana-boshrelease/deployments","created_at":"2015-09-06T04:27:28Z","updated_at":"2016-09-03T19:11:52Z","pushed_at":"2016-09-26T05:05:42Z","git_url":"git://github.com/vito/grafana-boshrelease.git","ssh_url":"git@github.com:vito/grafana-boshrelease.git","clone_url":"https://github.com/vito/grafana-boshrelease.git","svn_url":"https://github.com/vito/grafana-boshrelease","homepage":null,"size":48,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16"},"html":{"href":"https://github.com/vito/grafana-boshrelease/pull/16"},"issue":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/issues/16"},"comments":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/vito/grafana-boshrelease/statuses/c500813e2096c80d5be23a12b03b0efb96ca7ee9"}}}}
{"actor":{"display_login":"m-richo"}}