Abdalrahman Shatou
Abdalrahman Shatou

Reputation: 4758

CodeBuild Error: Trusted Principals Don't Belong to the Service

I am trying to edit an existing CodeBuild project's source. I have added an Actor ID in the filter group. When I try to save, I receive:

The trusted principals don't belong to the service.

I have tried other changes as well - I always receive the same error. I am an admin with full access to the project. What am I missing?

Upvotes: 1

Views: 2139

Answers (2)

Steven Burkett
Steven Burkett

Reputation: 106

I was seeing the same error, in my case unchecking the checkbox:

"Allow AWS CodeBuild to modify this service role so it can be used with this build project"

under "Service role permissions" allowed me to complete the edit from within the management console.

Upvotes: 8

Abdalrahman Shatou
Abdalrahman Shatou

Reputation: 4758

I ended up using the CLI. The command I used was aws codebuild update-webhook. It worked fine, don't know why it didn't using the console.

Upvotes: 0

Related Questions