我的aws Codebuild任务失败,因为无法从S3存储桶下载并出现以下错误消息。
The AWS Access Key Id you provided does not exist in our records.
(Service: Amazon S3; Status Code: 403;
Error Code: InvalidAccessKeyId; Request ID: ***; S3 Extended Request ID: *** )
我已经为该职位附加了政策
{
"Effect":"Allow",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion",
"s3:GetBucketVersioning"
],
"Resource": "ARN: arn:aws:s3:::***",
}
我在这里想念什么?