AWS LAMBDA で AWS_ACCESS_KEY_ID の環境変数を使うとエラーになる
AWS LAMBDA で AWS_ACCESS_KEY_ID の環境変数を使うとエラーになる:
こちらのエラーがでて、時間無駄にしてしまったのでメモ
こちら README.md にも書いてありましたね。
こちらのエラーがでて、時間無駄にしてしまったのでメモ
An error occurred: ScreenshotLambdaFunction - Lambda was unable to configure your environment variables because the environment variables you have provided contains reserved keys that are currently not supported for modification. Reserved keys used in this request:AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: XXXX).
We recommend using a tool like AWS Vault to manage your AWS credentials.
Credentials
You must configure your AWS credentials either by definingAWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
environmental variables, or using an AWS profile. You can read more about this on the Serverless Credentials Guide.
```
コメント
コメントを投稿