mirror of https://github.com/OpenVidu/openvidu.git
deployment: Use aws-cfn with python3 instead of legacy python 2
parent
0b6fb08022
commit
c6dac1ad4a
|
@ -154,9 +154,9 @@ Resources:
|
||||||
!Sub |
|
!Sub |
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
apt-get update && apt-get install -y pip \
|
apt-get update && apt-get install -y python-pip \
|
||||||
ec2-instance-connect
|
ec2-instance-connect
|
||||||
pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
|
pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz
|
||||||
|
|
||||||
cfn-init --region ${AWS::Region} --stack ${AWS::StackId} --resource OpenviduServerCE
|
cfn-init --region ${AWS::Region} --stack ${AWS::StackId} --resource OpenviduServerCE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue