Skip to content

Instantly share code, notes, and snippets.

View seano-vs's full-sized avatar
💭
why would I set my status

Sean seano-vs

💭
why would I set my status
View GitHub Profile
@seano-vs
seano-vs / aws_RDS_wait.sh
Last active March 10, 2021 15:58 — forked from sgnn7/aws_ec2_wait.sh
Wait for AWS RDS snapshot or volume for longer than 20 mins
#!/bin/bash -e
RDS_REGION="us-east-1"
DEFAULT_PROGRESS_WAIT=30
# ========== SNAPSHOT WAIT ==============
snapshot_id=$1
while [ "$snapshot_progress" != "100" ]; do
sleep "$DEFAULT_PROGRESS_WAIT"