DEV Community

Discussion on: Bitbucket Pipeline deployment with AWS ECR on EC2

Collapse
socialmediatester profile image
socialmediatester

Hi,
First of all thank you for this informative post.

in you code as you mention:
pipe: "atlassian/ssh-run:0.2.4"
variables:
SSH_USER: ec2-user
SERVER: $SERVER_IP
SSH_KEY: $SSH_KEY
MODE: script
COMMAND: demo-repo-container-script.sh

in server variable can we pass multiple server IP so we can deploy code to multiple server at once?

Thank you again