3
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 5 years have passed since last update.

lambdaでエラー

Last updated at Posted at 2019-04-09

AWSのリソースからlambdaで引っかかったところ

test.py
support_client = boto3.client('support')
An error occurred (AccessDeniedException) when calling the DescribeTrustedAdvisorChecks operation

AccessDeniedExceptionだから普通に権限ないって怒られているみたいですね…

FireShot Capture 162 - IAM Management Console_ - https___console.aws.amazon.com_iam.jpg

なのでIAM Roleから実行対象のlambdaのロールにPolicyをアタッチすればよい

3
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
3
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?