You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2019. It is now read-only.
Because no version is specified of the
aws-sdk-rubygem here: https://github.com/JonathanSerafini/chef-cfn/blob/master/recipes/ohai.rb#L3, the newer version 3 is going to be installed.Therefore this fails:
https://github.com/JonathanSerafini/chef-cfn/blob/master/files/default/ohai_plugins/cfn.rb#L38
with
[2017-12-01T10:36:11+00:00] ERROR: cfn: failed to fetch instance: uninitialized constant Aws::EC2As far as I can tell there's 2 different ways of fixing this. I don't know which solution you prefer otherwise I would've created a PR ;-)
aws-ruby-sdkgem to < 3Or according to https://github.com/aws/aws-sdk-ruby#upgrading-guide:
require 'aws-sdk'require 'aws-sdk-ec2'