File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,11 +57,7 @@ echo "*End creating EC2 instance"
5757PUBLIC_DNS=$( aws ec2 describe-instances --instance-ids $INSTACE_ID --query " Reservations[*].Instances[*].[PublicDnsName]" --output text)
5858PUBLIC_IP=$( aws ec2 describe-instances --instance-ids $INSTACE_ID --query " Reservations[*].Instances[*].[PublicIpAddress]" --output text)
5959
60- # echo $BRANCH_NAME > $DEPLOY_FILE
6160echo " Connecting to the instance. This may take a minute as it is being spun up"
62- # MAD: I'm a bit confused, this says its adding it to a file even though I don't think it should. At least its passing without me pressing enter
63- # scp -i devenv-key.pem -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile=/dev/null' $DEPLOY_FILE centos@${PUBLIC_DNS}:~
64- # rm -rf $DEPLOY_FILE
6561
6662echo " New EC2 instance created at $PUBLIC_DNS "
6763
You can’t perform that action at this time.
0 commit comments