I am trying to implement AWS CodePipeline to demonstrate continuous integration for my PHP project in Docker. Problem is when building source using CodeBuild I am getting this error:
CLIENT_ERROR: invalid S3 ARN for primary source and source version master
Thing is, I am not using S3 for my primary source, but rather CodeCommit repo, which I mirrored from my BitBucket. I have checked Troubleshooting CodeBuild article, but it doesn't have description for this error. My CodeBuild sevrvice role policy allows all actions to S3 too.
EDIT: CodeBuild project was created as part of CodePipeline and does work if it is run by pipeline, only gives me this message if I try to test it and run it in isolation.