mercredi 21 janvier 2015

How can I export existing AWS ELB policies? undefined method 'reduce'

We want to export our ELB configurations for re-use. I can get the ELB configs with: all_elbs = Fog::AWS::ELB.load_balancers.all()


But this returns a failure: all_policies = Fog::AWS::ELB.policies.all()


returns:


/Library/Ruby/Gems/2.0.0/gems/fog-aws-0.0.6/lib/fog/aws/models/elb/policies.rb:20:in munged_data': undefined methodreduce' for nil:NilClass (NoMethodError)


Any suggestions are helpful. Ultimately, I want to be able to recreate a ELB based on an existing ELB.


Thanks





Aucun commentaire:

Enregistrer un commentaire