<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>jq on Ivan Villareal</title><link>https://ivanvillareal.com/tags/jq/</link><description>Recent content in jq on Ivan Villareal</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 21 Aug 2019 17:00:38 -0700</lastBuildDate><atom:link href="https://ivanvillareal.com/tags/jq/index.xml" rel="self" type="application/rss+xml"/><item><title>Export a list of AWS EC2 Instances as CSV</title><link>https://ivanvillareal.com/2019-08-21-list-aws-ec2-instances-as-csv/</link><pubDate>Wed, 21 Aug 2019 17:00:38 -0700</pubDate><guid>https://ivanvillareal.com/2019-08-21-list-aws-ec2-instances-as-csv/</guid><description>AWS does not provide a way to export a list of ec2 instances to a csv format, recently there was a need to create such a list to identify what servers were being shared in different projects.
In order to create a excel file with such a list I had to use aws-shell you just need the aws_access_key_id and aws_secret_access_key, we also need jq and sed to process the output which is comming in json.</description></item></channel></rss>