From 8fcdece968b8cc0c2ff665902cc4f10fd4a66b1b Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 18 Oct 2019 10:49:44 +0200 Subject: [PATCH] better handle aws cli debug --- cloud/aws/custom/awscli.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/aws/custom/awscli.pm b/cloud/aws/custom/awscli.pm index 9e19db096..b72f5e346 100644 --- a/cloud/aws/custom/awscli.pm +++ b/cloud/aws/custom/awscli.pm @@ -140,7 +140,7 @@ sub execute { command => $self->{option_results}->{command}, command_path => $self->{option_results}->{command_path}, command_options => $cmd_options, - redirect_stderr => 1 + redirect_stderr => ($self->{output}->is_debug()) ? 0 : 1 ); my $raw_results;