I execute the command
aws cloudformation deploy
on templates that create an AWS::CodeBuild::Project
resource to be used in a AWS::CodePipeline::Pipeline
resource in the same template BUT I get the following error:
CREATE_FAILED AWS::CloudFormation::Stack xyz Template format error: Unrecognized resource types: [AWS::CodeBuild::Project]
If I switch regions to eu-west-1 which has had CodeBuild for a while now, templates work without any issues. I have run them many times.
I've posted to AWS Dev Forums but have not had any answers yet.
Any help that can be provided would be appreciated. Thanks.