LoginSignup
0
0

More than 1 year has passed since last update.

Amazon Personalize の --role-arn オプションがちょっと意地悪な件

Posted at

Amazon Personalize を導入しようとしたところ、
--role-arn オプションが上手く付けられなくて、しばらく詰みました...結論、エラーをよく読みましょうということではあるのですが、これはちょっと難しい...。

状況としては、
1, Amazon Personalize CLIでデータセット作成のコマンドを投げたかった。
2, やってみた
3, roleの設定(= --role-arn というオプションで設定する)がエラーを吐き続けた。

roleは必須項目なので、逃げられない...ということでしばし格闘したところ、下記のことがわかりました。↓

qiita.rb
 --role-arn  arn:xxx:iam::000000000000:user/xxxxxxxxxxx

とかなってると動かない。

qiita.rb
--role-arn arn:xxx:iam::000000000000:role/user/xxxxxxxxxxx

て感じにroleを足しましょう。この文字が大切よ!!!

吐いてるエラーにも書いてはあったのですが...ちょっとわかりにくかった...

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0