0

I cannot use any of the change set operations in the AWS Ruby SDK. All other create/list/update/delete operations appear to work correctly, but any change set operation gives an error like NoMethodError: undefined method 'list_change_sets' for #<Aws::CloudFormation::Client>

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
specs
  • 11
  • 2
  • That shouldn't be happening, the method is there: https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-core/apis/cloudformation/2010-05-15/api-2.json#L233. I would pull the latest version from Github and try again. – Sergey Kovalev Dec 14 '16 at 18:52

1 Answers1

0

The Change Sets feature was added in v2.2.31 of the AWS Ruby SDK, so you will need to make sure that your current version is greater than or equal to this (using Aws::VERSION, or checking your Gemfile.lock if using Bundler).

If using Bundler, you can run bundle update aws-sdk to update the SDK to the latest version (make sure that the constraint in your Gemfile is appropriate), or if you're just using RubyGems directly run gem update aws-sdk.

wjordan
  • 19,770
  • 3
  • 85
  • 98