<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dekuo-03</author_name>
  <author_url>https://blog.hatena.ne.jp/dekuo-03/</author_url>
  <blog_title>工作と競馬2</blog_title>
  <blog_url>https://dekuo-03.hatenablog.jp/</blog_url>
  <categories>
    <anon>技術メモ</anon>
    <anon>技術メモ#AWS</anon>
    <anon>技術メモ#Python</anon>
  </categories>
  <description>背景 SageMaker Python SDKを使用 ローカルのJupyter Notebookを使用 SageMaker組み込みアルゴリズム randomcutforestを使用 学習済みモデルアーティファクトはS3に格納済み モデルイメージのリージョンとモデルアーティファクトの格納先リージョンは同じ 上記の条件において、 docs.aws.amazon.com を参考に、以下のようなコードでモデルをデプロイしようとした。 roleArn = SageMakerFullAccessとS3FullAccessポリシーをアタッチしたもの image_uri = sagemaker.image_u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdekuo-03.hatenablog.jp%2Fentry%2F2023%2F03%2F14%2F224756&quot; title=&quot;SageMaker Python SDKで、 &amp;quot;ClientError: An error occurred (ValidationException) when calling the CreateModel operation: RoleArn: Cross-account pass role is not allowed.&amp;quot; となるとき - 工作と競馬2&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>2023-03-14 22:47:56</published>
  <title>SageMaker Python SDKで、 &quot;ClientError: An error occurred (ValidationException) when calling the CreateModel operation: RoleArn: Cross-account pass role is not allowed.&quot; となるとき</title>
  <type>rich</type>
  <url>https://dekuo-03.hatenablog.jp/entry/2023/03/14/224756</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
