Deployment: remove unnecessary template yamls from S3 at the end

pull/797/head
pabloFuente 2023-03-24 13:43:29 +01:00
parent da32a74ff9
commit 1a6a998fea
2 changed files with 3 additions and 0 deletions

View File

@ -124,3 +124,4 @@ fi
rm $TEMPJSON rm $TEMPJSON
rm cfn-mkt-ov-ce-ami.yaml rm cfn-mkt-ov-ce-ami.yaml
aws s3api delete-object --bucket aws.openvidu.io --key cfn-mkt-ov-ce-ami.yaml

View File

@ -204,6 +204,8 @@ fi
rm $TEMPJSON rm $TEMPJSON
rm cfn-mkt-kms-ami.yaml rm cfn-mkt-kms-ami.yaml
rm cfn-mkt-ov-ami.yaml rm cfn-mkt-ov-ami.yaml
aws s3api delete-object --bucket aws.openvidu.io --key cfn-mkt-kms-ami.yaml
aws s3api delete-object --bucket aws.openvidu.io --key cfn-mkt-ov-ami.yaml
# Return the KMS AMI identifier to the standard output # Return the KMS AMI identifier to the standard output
echo ${KMS_RAW_AMI_ID} >>${OUTPUT_FILE} echo ${KMS_RAW_AMI_ID} >>${OUTPUT_FILE}