<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a3no</author_name>
  <author_url>https://blog.hatena.ne.jp/a3no/</author_url>
  <blog_title>ほわいとぼーど</blog_title>
  <blog_url>https://a3no.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Golang</anon>
  </categories>
  <description>pecoでsshする際に組み合わせるためのEC2をリストアップするコマンドラインをGolangで書いた。 前職でもec2-ls-hostsを使って同じことをしていたのだが、 現職で使うには機能が合っていなかったのでGolang手習い的な意味も込めて新たに書いてみた。 こういうのをサクッと書くのにGolang便利。 できたもの ec2ls-cache Why 再車輪 現職ではMFAを設定しているので毎回うたなくて済むようにキャッシュを入れたかった。 後は、aws-sdk-goでのcredentials設定周りがpythonほど簡単ではないと思いこんでいて、 実際は書いてみたら自分が望む環境設定は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa3no.hatenablog.com%2Fentry%2F2017%2F08%2F05%2F155205&quot; title=&quot;peco+sshのためのEC2DescribeInstancesなツールをGolangで再車輪した - ほわいとぼーど&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-05 15:52:05</published>
  <title>peco+sshのためのEC2DescribeInstancesなツールをGolangで再車輪した</title>
  <type>rich</type>
  <url>https://a3no.hatenablog.com/entry/2017/08/05/155205</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
