The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

22 satır
612 B

  1. #!/bin/bash
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. #
  5. #
  6. # Terminate EC2 test compute cloud instances
  7. #
  8. SCRIPT="${0}"
  9. SCRIPT_DIR=$(cd $(dirname ${SCRIPT}) && pwd)
  10. . ${SCRIPT_DIR}/list_test_instances.sh
  11. if [[ ${INSTANCES_COUNT} -gt 0 ]] ; then
  12. echo "Terminating ${INSTANCES_COUNT} test instances..."
  13. aws ec2 terminate-instances --instance-ids "$INSTANCES"
  14. echo "Now instances are terminated and will be deleted after few hours"
  15. else
  16. echo "No instances contains tag \"${TEST_TAG}\" to delete"
  17. fi