Deployment: use pip3 command to install cfn-hub on all environments

pull/678/head
cruizba 2021-12-11 16:47:26 +01:00
parent 51e1348825
commit 9e7a073653
3 changed files with 6 additions and 5 deletions

View File

@ -154,9 +154,10 @@ Resources:
!Sub |
#!/bin/bash -x
set -eu -o pipefail
apt-get update && apt-get install -y python-pip \
apt-get update && apt-get install -y \
python-pip python3-pip \
ec2-instance-connect
pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz
pip3 install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz
cfn-init --region ${AWS::Region} --stack ${AWS::StackId} --resource OpenviduServerCE

View File

@ -150,7 +150,7 @@ Resources:
apt-get update && apt-get install -y \
python-pip python3-pip \
ec2-instance-connect
pip3 install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
pip3 install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz
cfn-init --region ${AWS::Region} --stack ${AWS::StackId} --resource KurentoMediaServer

View File

@ -134,9 +134,9 @@ Resources:
#!/bin/bash -x
set -eu -o pipefail
apt-get update && apt-get install -y \
python-pip \
python-pip python3-pip \
ec2-instance-connect
pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
pip3 install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz
cfn-init --region ${AWS::Region} --stack ${AWS::StackId} --resource OpenviduServerPro