I'm working with aws codebuild and it was working fine , i have just one branch master and build is taking code from that master branch of code-commit repo, but suddenly build is failing with error "CLIENT_ERROR: reference delta not found for primary source and source version ".
This is my buildspec file code
version: 0.2
phases:
install:
commands:
- python -V
- node -v
- npm install serverless -g
- sls plugin install -n serverless-python-requirements
- npm install serverless-pseudo-parameters
- npm install --save-dev serverless-step-functions
build:
commands:
- SLS_DEBUG=* sls deploy --stage dev --region us-east-2