I have a single repository hosted in AWS CodeCommit with a buildspec.yml in the root that is used by AWS CodeBuild to build from the source.
Is it possible to pass in a variable / read the source (AWS Pipeline arn?) or something similar, such that I can determine in AWS CodeBuild whether to do a Dev, Test or Prod build?
If not, is there another way to accomplish this in AWS CodePipeline that I'm missing?