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).
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.