Skip to content

Commit

Permalink
Remove a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed May 3, 2018
1 parent 48d3839 commit 1556b0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bref
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ $app->command('cli [arguments]*', function (array $arguments, SymfonyStyle $io)
throw new Exception('Unable to parse the output of `serverless info`');
}

// TODO run using `serverless` instead to avoid coupling to AWS
// We cannot use the `serverless` CLI command here because it
// mangles the lambda response (JSON data) with logs on stdout.
// Using the AWS SDK allows to collect those data separately and properly.
$lambda = new \Aws\Lambda\LambdaClient([
'version' => 'latest',
'region' => $region,
Expand Down

0 comments on commit 1556b0e

Please sign in to comment.