2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

aws の備忘録

Last updated at Posted at 2020-04-24

概要

AWSを使うときによくハマるバグなどを自分用に書いて行く備忘録。

メモ

  • auth error
An error occurred (UnrecognizedClientException) when calling the GetAuthorizationToken operation: The security token included in the request is invalid.
Error: Cannot perform an interactive login from a non TTY device

https://teratail.com/questions/220857 で解決

export AWS_ACCESS_KEY_ID=***
export AWS_SECRET_ACCESS_KEY=*****
export AWS_DEFAULT_REGION=ap-northeast-1

これが定義されていると、aws configureしたものより優先される。

  • ecr ログイン
aws ecr get-login --no-include-email

を実行して、出てきたコマンドをそのまま実行。

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?