我已经使用代码流水线向导创建了一个代码构建项目,并选择了所有必要的选项和有效的IAM角色。我还添加了必要的IAM角色策略,以便访问并写入S3存储桶中的数据。下面列出的策略已被我考虑用于访问S3。
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Resource": [
"arn:aws:logs:aws/codebuild",
"arn:aws:logs:aws/codebuild:*"
],
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
]
},
{
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pipeline”,
"arn:aws:s3::: pipeline/*"
],
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:GetObjectVersion",
"s3:GetBucketAcl",
"s3:GetBucketLocation"
]
}
]
我发起了一个流水线,但代码构建失败了,并且我收到了下面提到的错误
DOWNLOAD_SOURCE Failed:
CLIENT_ERROR: symlink /codebuild/output/.../libcrypto.1.0.0.dylib: no such file or directory for primary source and source version arn:aws:s3:::codepipeline-bucketSource/Ap4g3sv.zip
我已经进行了大量研究,查看了各种AWS文档,但仍然找不到解决办法。