Created
February 27, 2015 01:30
-
-
Save tyler-ball/73d4ad8f08582a3982ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1] pry(#<Chef::Provisioning::AWSDriver::Driver>)> actual_elb.subnets | |
=> [<AWS::EC2::Subnet id:subnet-5bbda12f>, <AWS::EC2::Subnet id:subnet-eacb348f>, <AWS::EC2::Subnet id:subnet-fa1e21bc>] | |
[2] pry(#<Chef::Provisioning::AWSDriver::Driver>)> actual_elb.availability_zones.to_a | |
=> [<AWS::EC2::AvailabilityZone name:us-west-2a>, <AWS::EC2::AvailabilityZone name:us-west-2c>, <AWS::EC2::AvailabilityZone name:us-west-2b>] | |
[3] pry(#<Chef::Provisioning::AWSDriver::Driver>)> elb.client.detach_load_balancer_from_subnets(load_balancer_name: actual_elb.name, subnets: ['subnet-5bbda12f']) | |
=> {:subnets=>["subnet-fa1e21bc", "subnet-eacb348f"], :response_metadata=>{:request_id=>"1807c203-be20-11e4-b84f-7bbb914bda43"}} | |
[4] pry(#<Chef::Provisioning::AWSDriver::Driver>)> actual_elb = load_balancer_for(lb_spec) | |
=> <AWS::ELB::LoadBalancer name:tyler-test-lb> | |
[5] pry(#<Chef::Provisioning::AWSDriver::Driver>)> actual_elb.availability_zones.to_a | |
=> [<AWS::EC2::AvailabilityZone name:us-west-2a>, <AWS::EC2::AvailabilityZone name:us-west-2c>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment