2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
Hi,
I recently faced same issue and I was able to resolve it by doing the following :
- Open the IAM console at https://console.aws.amazon.com/iam/ and select your IAM role. (e.g SERVICE_ROLE)
- Click on the
Trusted Relationships
tab and verify that your IAM role has the correct trust policy for AWS CodeBuild. See example JSON below :
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "codebuild.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
For more information refer to this documentation: Create a CodeBuild service role
beantwortet vor einem Jahr
0
Hi jonwis, I am Yong from AWS CodeBuild team.
Do you still see this error? My suggestion is to follow this troubleshooting guide. https://docs.aws.amazon.com/codebuild/latest/userguide/troubleshooting.html#troubleshooting-assume-role
If you still see the same error, can you please run the command with debug logging turned on and private message me the entire response payload? I can then help troubleshoot on our side.
aws codebuild --debug create-project ...
beantwortet vor 5 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren