Hi all,
I am following the steps mentioned in https://confluence.atlassian.com/bitbucket/deploy-to-amazon-aws-875304040.html
But I have multiple branches and separate EBS application for each branch.
Assuming I have two branch. I will add two set of configuration in bitbucket-pipelines.yml but how to configure separate set of AWS environment variables for each branch.
Many Thanks
Abhishek Upadhyay
I found the answer and steps are simple: Create separate beanstalk_deploy_<branch>.py file for each branch. Mention the file name in bitbucket-pipelines.yml for corresponding branch. Add branch specific AWS environment variables in bitbucket online. Use the AWS env variables in beanstalk_deploy_<branch>.py
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.