{"action":"created","issue":{"url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/91","repository_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl","labels_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/91/comments","events_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/91/events","html_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91","id":169937359,"number":91,"title":"Updated profile definition with usage the environment variables","user":{"login":"ssuprun","id":3648394,"avatar_url":"https://avatars.githubusercontent.com/u/3648394?v=3","gravatar_id":"","url":"https://api.github.com/users/ssuprun","html_url":"https://github.com/ssuprun","followers_url":"https://api.github.com/users/ssuprun/followers","following_url":"https://api.github.com/users/ssuprun/following{/other_user}","gists_url":"https://api.github.com/users/ssuprun/gists{/gist_id}","starred_url":"https://api.github.com/users/ssuprun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssuprun/subscriptions","organizations_url":"https://api.github.com/users/ssuprun/orgs","repos_url":"https://api.github.com/users/ssuprun/repos","events_url":"https://api.github.com/users/ssuprun/events{/privacy}","received_events_url":"https://api.github.com/users/ssuprun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-08T14:30:19Z","updated_at":"2016-08-09T17:06:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/pulls/91","html_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91","diff_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91.diff","patch_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91.patch"},"body":"The **shared_credential** and **shared_config** functionality still under development - aws/aws-sdk-ruby@133c252 (less then 1 day ago), but usage the environment variables looks stable. So the profile definition was updated with environment variables."},"comment":{"url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/comments/238620886","html_url":"https://github.com/bazaarvoice/cloudformation-ruby-dsl/pull/91#issuecomment-238620886","issue_url":"https://api.github.com/repos/bazaarvoice/cloudformation-ruby-dsl/issues/91","id":238620886,"user":{"login":"rparkhunovsky","id":6543422,"avatar_url":"https://avatars.githubusercontent.com/u/6543422?v=3","gravatar_id":"","url":"https://api.github.com/users/rparkhunovsky","html_url":"https://github.com/rparkhunovsky","followers_url":"https://api.github.com/users/rparkhunovsky/followers","following_url":"https://api.github.com/users/rparkhunovsky/following{/other_user}","gists_url":"https://api.github.com/users/rparkhunovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/rparkhunovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rparkhunovsky/subscriptions","organizations_url":"https://api.github.com/users/rparkhunovsky/orgs","repos_url":"https://api.github.com/users/rparkhunovsky/repos","events_url":"https://api.github.com/users/rparkhunovsky/events{/privacy}","received_events_url":"https://api.github.com/users/rparkhunovsky/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T17:06:49Z","updated_at":"2016-08-09T17:06:49Z","body":"Currently, with aws-sdk-ruby 2.5.1 and cloudformation-ruby-dsl 1.2.1-1.2.2 if you need to launch stacks with the _assumed-profile_ that is configured in your ~/.aws/credentials as below\r\n```\r\n[default]\r\naws_access_key_id = foo\r\naws_secret_access_key = bar\r\n\r\n[assumed-profile]\r\nrole_arn = arn:aws:iam::123456789012:role/group/username\r\nsource_profile = default\r\nregion=us-east-1\r\n```\r\nyou must `export AWS_PROFILE=assumed-profile` environment variable and unset any `AWS_ACCESS_KEY` before executing cloudformation-ruby-dsl templates to get it launched under the chosen profile.\r\nSergey's changes allow passing `--profile assumed-profile` option to do that."}}
{"actor":{"display_login":"rparkhunovsky"}}