Fixing two bugs in the ec2_elb_lb module

* the current state of the ELB was not reflected properly when checking
  the status after a change was made.
* invalid zones caused a traceback when enabling/disabling zones
This commit is contained in:
James Cammarata
2014-05-05 12:48:45 -05:00
parent faf733bc49
commit d6fc9f1dfc
2 changed files with 34 additions and 17 deletions

View File

@@ -59,8 +59,8 @@
- 'info.changed'
- '"failed" not in info'
- 'info.elb.status == "created"'
- 'info.elb.zones[0] == "us-east-1c"'
- 'info.elb.zones[1] == "us-east-1d"'
- '"us-east-1c" in info.elb.zones'
- '"us-east-1d" in info.elb.zones'
- 'info.elb.health_check.healthy_threshold == 10'
- 'info.elb.health_check.interval == 30'
- 'info.elb.health_check.target == "HTTP:80/index.html"'