k1LoW / awspec

RSpec tests for your AWS resources.
MIT License
1.17k stars 192 forks source link

Change select_all_rds_db_cluster_parameters #450

Closed htnosm closed 5 years ago

htnosm commented 5 years ago

"rds_db_cluster_parameter_group" will failed from a few days ago.

  1) rds_db_cluster_parameter_group 'my-rds-db-cluster-parameter-group' timezone
     Failure/Error: its(key) { should eq value }

     NoMethodError:
       undefined method `members' for #<Hash:0x00009f99eeeee9e9>
     # ./vendor/bundle/ruby/2.4.0/gems/awspec-1.15.1/lib/awspec/type/base.rb:45:in `method_missing'
     # ./vendor/bundle/ruby/2.4.0/gems/awspec-1.15.1/lib/awspec/type/rds_db_cluster_parameter_group.rb:17:in `method_missing'
     # ./spec/rds_db_cluster_parameter_group_spec.rb:16:in `block (5 levels) in <top (required)>'

Perhaps it seems because the parameter has exceeded MaxRecords (100). (It seems that "describe_db_cluster_parameters" does not correspond to Paging Response Data.)

I modified that it replace by marker. Incidentally, rds_db_parameter_group had no problem.

inokappa commented 5 years ago

Thank you for your PR!! 🙇

inokappa commented 5 years ago

Released as v1.15.2.