Alexis Hernandez
7 years ago
5 changed files with 0 additions and 43 deletions
@ -1,5 +0,0 @@ |
|||
#!/bin/bash |
|||
BLOCK=$1 |
|||
QUEUE="https://sqs.us-east-2.amazonaws.com/984148963792/blocks.fifo" |
|||
DID=$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) |
|||
aws sqs send-message --message-body $BLOCK --queue-url $QUEUE --message-group-id none --message-deduplication-id $DID |
@ -1,11 +0,0 @@ |
|||
# Setup AWS |
|||
|
|||
## set up the locale |
|||
- `export LC_ALL="en_US.UTF-8"` |
|||
- `export LC_CTYPE="en_US.UTF-8"` |
|||
- `sudo dpkg-reconfigure locales` |
|||
|
|||
## install aws cli |
|||
- `sudo apt update && sudo apt install -y python-pip python-setuptools` |
|||
- `sudo pip install --upgrade pip` |
|||
- `sudo pip install awscli` |
Loading…
Reference in new issue