diff --git a/.github/tvarit/conf/prod/lightsail.sh b/.github/tvarit/conf/prod/lightsail.sh index 79eee5093b..762d226300 100644 --- a/.github/tvarit/conf/prod/lightsail.sh +++ b/.github/tvarit/conf/prod/lightsail.sh @@ -11,8 +11,8 @@ sleep 300 rm -rf awscliv2.zip #with only ECR pull access. TODO: update -AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID_016} -AWS_SECRET_ACCESS_KEY=${AWS_SECRET_KEY_ID_016} +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= AWS_REGION="eu-central-1" aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID diff --git a/.github/tvarit/deploy_to_dev_16.sh b/.github/tvarit/deploy_to_dev_16.sh index 26c3a67ec0..cb80cbb075 100644 --- a/.github/tvarit/deploy_to_dev_16.sh +++ b/.github/tvarit/deploy_to_dev_16.sh @@ -166,8 +166,8 @@ fi echo "Creating lightsail instance!!!!!!" cp lightsail.sh userdata.sh -sed -i "s##${AWS_ACCESS_KEY}#g" userdata.sh -sed -i "s##${AWS_SECRET_KEY}#g" userdata.sh +sed -i "s##${AWS_ACCESS_KEY_ID_016}#g" userdata.sh +sed -i "s##${AWS_SECRET_KEY_ID_016}#g" userdata.sh aws lightsail create-instances --instance-names grafana-${PREFIX} --availability-zone eu-central-1a --blueprint-id ubuntu_22_04 --bundle-id nano_2_0 --user-data file://userdata.sh echo "waiting for user data to be executed in the instance"