<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kabegiwakun</author_name>
  <author_url>https://blog.hatena.ne.jp/kabegiwakun/</author_url>
  <blog_title>かべぎわブログ</blog_title>
  <blog_url>https://www.kabegiwablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Python</anon>
  </categories>
  <description>概要 PythonとAWSCLIをいったりきたりしていて、profileのわたしかたに統一性がなくて(特にPythonは作った人によって全然違ったりして)めんどくさいなあと思っていたのでそれらを解決できるようなものを書いた。 Pythonでも--profileをわたして実行させることができる。 AWSCLIの方に寄せるアプローチなのです。 コード こんなかんじ。 profileが渡せているよという例としてget_caller_identityしている。 実行してみる こんなかんじ。 --profileでわたしたconfigの値のロールでget_caller_identityしていることがわかる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kabegiwablog.com%2Fentry%2F2019%2F09%2F24%2F224155&quot; title=&quot;Python(boto3)でAWSCLIとおなじかんじでprofileをわたしてあげる - かべぎわブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kabegiwakun/20180115/20180115220028.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-24 22:41:55</published>
  <title>Python(boto3)でAWSCLIとおなじかんじでprofileをわたしてあげる</title>
  <type>rich</type>
  <url>https://www.kabegiwablog.com/entry/2019/09/24/224155</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
