commit
ff350ecda9
@ -1,7 +1,8 @@ |
||||
#!/bin/bash |
||||
REGION=$(curl 169.254.169.254/latest/meta-data/placement/availability-zone/ | sed 's/[a-z]$//') |
||||
yum -y update |
||||
yum install -y ruby |
||||
cd /home/ec2-user |
||||
curl -O https://aws-codedeploy-us-west-2.s3.amazonaws.com/latest/install |
||||
curl -O https://aws-codedeploy-$REGION.s3.amazonaws.com/latest/install |
||||
chmod +x ./install |
||||
./install auto |
Loading…
Reference in new issue