image: node:10.15.0
clone:
depth: full
pipelines:
default:
- step:
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.2.1
variables:
AWS_ACCESS_KEY_ID: "$AWS_ACCESS_KEY_ID"
AWS_SECRET_ACCESS_KEY: "$AWS_SECRET_ACCESS_KEY"
AWS_DEFAULT_REGION: "ap-south-1"
APPLICATION_NAME: "NIKA"
ENVIRONMENT_NAME: "NIKA-Worker"
ZIP_FILE: "nika-worker.zip"
VERSION_LABEL: "${ENVIRONMENT_NAME}_${BITBUCKET_COMMIT:0:8}_YYYY-mm-dd_HHMMSS)"
DEBUG: true
Hi Sedhuraja,
It's a bit hard to be sure due to the lack of indenting, but my best guess is that you are trying to define a pipe variable (DEBUG) with a boolean value (true). All pipe variables must have string values. Try this instead:
DEBUG: 'true'
If that doesn't fix the problem, please post the yaml again, formatted as a "Code block" (in the "Format" drop-down menu in the editor) so that we can see the indenting. You should also include the error message you get when you try to run the pipeline (or the error message shown in the yaml editor in the UI).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.