amazon rds - RDS instance script -
can me how should bash script check if rds instance running, , if are, stop them, like. , if not running, script should exit message:
no instances running.
i have used aws cli start , stop instances, not sure how collaborate them in 1 single script.
aws rds stop-db-instance --db-instance-identifier mydbinstance
Comments
Post a Comment