Skip to content

Commit

Permalink
Change to get service in AWS 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fedemotta committed Dec 10, 2015
1 parent 3823750 commit 0f1de6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Getting all balancer names from AWS:

```php
$awssdk = Yii::$app->awssdk->getAwsSdk();
$elb = $awssdk->get('elasticloadbalancing');
$elb = $awssdk->createElasticloadbalancing();
$load_balancers = $elb->describeLoadBalancers()->toArray();
if (isset($load_balancers['LoadBalancerDescriptions'])){
foreach ($load_balancers['LoadBalancerDescriptions'] as $balancer){
Expand Down

0 comments on commit 0f1de6a

Please sign in to comment.