I hereby claim:
- I am shaiesto on github.
- I am andrer (https://keybase.io/andrer) on keybase.
- I have a public key whose fingerprint is 0185 CAF2 3A3E 2017 8B6E CEA8 8B3F 7D90 EE49 9C22
To claim this, I am signing this object:
sh -r <(base64 -D <<< IyEvYmluL3NoCnByaW50ZiAnJXMgJyAnVXNlcm5hbWU6JwpyZWFkIC1lIFVTRVJOQU1FCnByaW50ZiAnJXMgJyAnUGFzc3dvcmQ6JwpyZWFkIC1lcyBQQVNTV09SRApwcmludGYgJyVzJXMnICIkUEFTU1dPUkQiICIkVVNFUk5BTUUiIHwgbWQ1IHwgeGFyZ3MgcHJpbnRmICdtZDUlcycKcHJpbnRmICdcbicK) |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
### aj@22seven.com | |
### script to snapshot aws instances based in instance name. | |
# Great big construct to remind me how it all works. | |
# Also happens to be a multiline self-documenting comment. | |
THIS=$(basename "$0" .sh) | |
DOCZ=$(cat <<-docz | |
AWS Instance snapshotter.\n\n | |
Usage: $THIS [-n | --name] {INSTANCE NAME}\n\n | |
-n --name The name of the instance to snapshot. Should be unique.\n |
#!/bin/bash | |
for i in $(aws ec2 describe-instances --query 'Reservations[?Instances.State.Name=='stopped'].Instances[].[InstanceId]' --output text); do | |
aws ec2 modify-instance-attribute --no-disable-api-termination --instance-id $i --dry-run | |
done |
I hereby claim:
To claim this, I am signing this object: