Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jq break line

vpcExists=$(aws ec2 describe-vpcs --profile $profile | jq -r --arg vpcId "$vpcId" '.[][] | 
 select(.VpcId == $vpcId) 
| .["State"]' 
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jq #break #line
ADD COMMENT
Topic
Name
2+4 =