The codepipeline is good the codebuild imputs are missing the s3 bucket input or codecommit as an input. cache { type = "S3" location = aws_s3_bucket.example.bucket }