{"action":"created","issue":{"url":"https://api.github.com/repos/opscode-cookbooks/aws/issues/104","labels_url":"https://api.github.com/repos/opscode-cookbooks/aws/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/opscode-cookbooks/aws/issues/104/comments","events_url":"https://api.github.com/repos/opscode-cookbooks/aws/issues/104/events","html_url":"https://github.com/opscode-cookbooks/aws/issues/104","id":57338956,"number":104,"title":"\"uninitialized constant Aws\" error in version 2.6.0","user":{"login":"serebrov","id":597640,"avatar_url":"https://avatars.githubusercontent.com/u/597640?v=3","gravatar_id":"","url":"https://api.github.com/users/serebrov","html_url":"https://github.com/serebrov","followers_url":"https://api.github.com/users/serebrov/followers","following_url":"https://api.github.com/users/serebrov/following{/other_user}","gists_url":"https://api.github.com/users/serebrov/gists{/gist_id}","starred_url":"https://api.github.com/users/serebrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serebrov/subscriptions","organizations_url":"https://api.github.com/users/serebrov/orgs","repos_url":"https://api.github.com/users/serebrov/repos","events_url":"https://api.github.com/users/serebrov/events{/privacy}","received_events_url":"https://api.github.com/users/serebrov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-02-11T16:25:07Z","updated_at":"2015-05-26T21:17:03Z","closed_at":null,"body":"Today our deployment start failing and the reason seems to be the recently released 2.6.0 version.\r\nThe error in aws opsworks log is this:\r\n\r\n```\r\n================================================================================\r\nError executing action `update` on resource 'aws_resource_tag[i-540be0b9]'\r\n================================================================================\r\n \r\n \r\nNameError\r\n---------\r\nuninitialized constant Aws\r\n \r\n \r\nCookbook Trace:\r\n---------------\r\n/var/lib/aws/opsworks/cache.stage2/cookbooks/aws/libraries/ec2.rb:43:in `ec2'\r\n/var/lib/aws/opsworks/cache.stage2/cookbooks/aws/providers/resource_tag.rb:89:in `load_current_resource'\r\n```\r\nI see the recent change in the [line](https://github.com/opscode-cookbooks/aws/commit/757ddaa3ad83d35a87e49c625baa6c2dede44c00#diff-7be4cd6ebd09c170768d51983b8c7d44L43) mentioned in the error text.\r\n\r\nReverting to version 2.5.0 fixed the issue with our deployment.\r\n\r\nUpdate:\r\n\r\nJust for the case here is a custom recipe code:\r\n```ruby\r\ninclude_recipe \"aws\"\r\ntags_data = {\r\n  \"MakeSnapshot\" => \"True\"\r\n}\r\naws_resource_tag node['ec2']['instance_id'] do\r\n    tags(tags_data)\r\n    action :update\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/opscode-cookbooks/aws/issues/comments/105667618","html_url":"https://github.com/opscode-cookbooks/aws/issues/104#issuecomment-105667618","issue_url":"https://api.github.com/repos/opscode-cookbooks/aws/issues/104","id":105667618,"user":{"login":"mapoulin","id":6945088,"avatar_url":"https://avatars.githubusercontent.com/u/6945088?v=3","gravatar_id":"","url":"https://api.github.com/users/mapoulin","html_url":"https://github.com/mapoulin","followers_url":"https://api.github.com/users/mapoulin/followers","following_url":"https://api.github.com/users/mapoulin/following{/other_user}","gists_url":"https://api.github.com/users/mapoulin/gists{/gist_id}","starred_url":"https://api.github.com/users/mapoulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapoulin/subscriptions","organizations_url":"https://api.github.com/users/mapoulin/orgs","repos_url":"https://api.github.com/users/mapoulin/repos","events_url":"https://api.github.com/users/mapoulin/events{/privacy}","received_events_url":"https://api.github.com/users/mapoulin/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T21:17:03Z","updated_at":"2015-05-26T21:17:03Z","body":"I faced this issue with version 2.7.0. Downgrading worked for me as well.\r\n\r\n@mausch Any update following the support ticket ?"}}