xxxxxxxxxx
vpcExists=$(aws ec2 describe-vpcs --profile $profile | jq -r --arg vpcId "$vpcId" '.[][] | \
select(.VpcId == $vpcId) \
| .["State"]' \
)
xxxxxxxxxx
vpcExists=$(aws ec2 describe-vpcs --profile $profile |
jq -r --arg vpcId "$vpcId" '
.[][]
| select(.VpcId == $vpcId)
| .["State"]'
)