{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/403","labels_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/403/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/403/events","html_url":"https://github.com/chef/chef-provisioning-aws/pull/403","id":117677517,"number":403,"title":"Applying chef_server and managed_entry_store to all Provisioning.inline_resources","user":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/labels/Reviewing","name":"Reviewing","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-18T20:44:43Z","updated_at":"2015-11-18T21:41:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/403","html_url":"https://github.com/chef/chef-provisioning-aws/pull/403","diff_url":"https://github.com/chef/chef-provisioning-aws/pull/403.diff","patch_url":"https://github.com/chef/chef-provisioning-aws/pull/403.patch"},"body":"This finishes the changes started in https://github.com/chef/chef-provisioning-aws/pull/373 and applies them to `Provisioning.inline_resources` blocks in driver.rb\r\n\r\nBesides the notes in https://github.com/chef/chef-provisioning-aws/pull/373, `Provisioning.inline_resources` [sets up a new](https://github.com/chef/cheffish/blob/3e2f428c17b7b64b82822e986c036ced4e71b08e/lib/cheffish/basic_chef_client.rb#L38) `run_context` so when the resource is [initialized](https://github.com/chef/chef-provisioning-aws/blob/4ce5e5f866462abb5353ee9880f0f1f419e6a3a8/lib/chef/provisioning/aws_driver/aws_resource.rb#L18-L21) it copies the driver and chef_server from the new empty `run_context`.\r\n\r\n\\cc @oferrigni @stephenlauck @jkeiser @randomcamel "},"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/comments/157873933","html_url":"https://github.com/chef/chef-provisioning-aws/pull/403#issuecomment-157873933","issue_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/403","id":157873933,"user":{"login":"stephenlauck","id":183293,"avatar_url":"https://avatars.githubusercontent.com/u/183293?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenlauck","html_url":"https://github.com/stephenlauck","followers_url":"https://api.github.com/users/stephenlauck/followers","following_url":"https://api.github.com/users/stephenlauck/following{/other_user}","gists_url":"https://api.github.com/users/stephenlauck/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenlauck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenlauck/subscriptions","organizations_url":"https://api.github.com/users/stephenlauck/orgs","repos_url":"https://api.github.com/users/stephenlauck/repos","events_url":"https://api.github.com/users/stephenlauck/events{/privacy}","received_events_url":"https://api.github.com/users/stephenlauck/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:41:43Z","updated_at":"2015-11-18T21:41:43Z","body":":+1: Confirmed working. \r\n\r\n```\r\nRecipe: delivery-cluster::destroy_builders\r\n  * machine_batch[Destroying Build Nodes] action destroy\r\n    - [build-node-lauckaws-1] delete instance aws_instance[build-node-lauckaws-1] (i-475f3583) in VPC vpc-2229ff47 in us-west-2\r\n    - [build-node-lauckaws-1] waited 0/300s for i-475f3583 status to terminate...\r\n    - [build-node-lauckaws-1] waited 5/300s for i-475f3583 status to terminate...\r\n    - [build-node-lauckaws-1] waited 10/300s for i-475f3583 status to terminate...\r\n    - [build-node-lauckaws-1] waited 15/300s for i-475f3583 status to terminate...\r\n    - [build-node-lauckaws-1] waited 20/300s for i-475f3583 status to terminate...\r\n    - [build-node-lauckaws-1] waited 25/300s for i-475f3583 status to terminate...\r\n    - [build-node-lauckaws-1] waited until instance aws_instance[build-node-lauckaws-1] (i-475f3583) is :terminated\r\n    - [build-node-lauckaws-1] delete node build-node-lauckaws-1 at https://10.194.10.132/organizations/lauckaws\r\n    - [build-node-lauckaws-1] delete client build-node-lauckaws-1 at clients\r\n```"}}