Skip to content

Commit

Permalink
Merge pull request #50 from Icinga/describeAutoScalingGroups-MaxRecords
Browse files Browse the repository at this point in the history
DescribeAutoScalingGroups: Increase MaxRecords to 100
  • Loading branch information
lippserd authored Jul 13, 2020
2 parents 45f8303 + 56630d1 commit 8e73dd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/Aws/AwsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public function getAutoscalingConfig()
{
$objects = array();
$client = $this->sdk()->createAutoScaling();
$res = $client->describeAutoScalingGroups();
$res = $client->describeAutoScalingGroups([
'MaxRecords' => 100
]);

foreach ($res->get('AutoScalingGroups') as $entry) {

Expand Down

0 comments on commit 8e73dd6

Please sign in to comment.