From d285e30c9a7ca2a69ae862943690e619d4905304 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 22 Nov 2024 16:55:27 +0400 Subject: [PATCH] updated aws_info_ec2_csv.sh --- aws/aws_info_ec2_csv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/aws_info_ec2_csv.sh b/aws/aws_info_ec2_csv.sh index bd36bbf8405..49eb15e36a1 100755 --- a/aws/aws_info_ec2_csv.sh +++ b/aws/aws_info_ec2_csv.sh @@ -106,7 +106,7 @@ json="$( timestamp "Generating CSV output with AMI images IDs resolved to names" echo >&2 -echo '"Instance_ID","Instance_Name","State","Instance Type","AMI","Architecture","PrivateDNS","PublicDNS"' +echo '"Instance_ID","Instance_Name","State","Instance_Type","AMI","Architecture","PrivateDNS","PublicDNS"' jq -r ' .[][] | [ .ID, .Name, .State, .InstanceType, .Platform, .AMI, .Architecture, .PrivateDNS, .PublicDNS ] |