1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Hello,
Looks like some issue with your credentials or configuration.
Below steps worked fine for me:
docker pull amazon/aws-glue-libs:glue_libs_1.0.0_image_01
docker run -it amazon/aws-glue-libs:glue_libs_1.0.0_image_01 bash
root@98c197939c1b:/# aws configure
root@98c197939c1b:/# aws sts get-caller-identity --no-cli-pager
root@98c197939c1b:/# python --version
Python 3.6.15
root@98c197939c1b:/# python
Python 3.6.15 (default, Dec 3 2021, 03:07:35)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import os,boto3
>>> print(boto3.__version__)
1.8.9
>>> client = boto3.client('sts')
>>> print(client.get_caller_identity())
Ref docs:
[1. Configuring AWS CLI ] (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)
[2. GetCallerIdentity api call] (https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html)
関連するコンテンツ
- 質問済み 9ヶ月前
- AWS公式更新しました 3年前
- AWS公式更新しました 3年前
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前