Module: Eaglenube::Synchronizer::AWS::Loadbalancer::LbSyncMethods
- Defined in:
- lib/eaglenube/synchronizer/aws/loadbalancer.rb
Instance Method Summary collapse
Methods included from CloudObjectMapper::AWS
#cloud_obj_mapper, #cloud_obj_mapper_yml, #parse_provider_data
Methods included from ApiWrapper::AWS::Loadbalancer
Instance Method Details
#sync_resource(credential, region_code) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/eaglenube/synchronizer/aws/loadbalancer.rb', line 21 def sync_resource(credential, region_code) remote_load_balancers = describe_load_balancers(credential, region_code) remote_load_balancers.each do |remote_load_balancer| , optional_attributes = yield(remote_load_balancer) create_or_update(remote_load_balancer, , **optional_attributes) end end |