Skip to content

Instantly share code, notes, and snippets.

View fprimex's full-sized avatar

Brent Woodruff fprimex

View GitHub Profile
@fprimex
fprimex / tfe-push.sh
Last active February 17, 2018 16:34 — forked from skierkowski/tfe-push.sh
#!/bin/bash
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Usage: $0 <path_to_content_directory> <organization>/<workspace>"
exit 0
fi
CONTENT_DIRECTORY=$1
ORG_NAME="$(cut -d'/' -f1 <<<"$2")"
WORKSPACE_NAME="$(cut -d'/' -f2 <<<"$2")"
#!/bin/bash
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Usage: $0 <path_to_content_directory> <organization>/<workspace>"
exit 0
fi
CONTENT_DIRECTORY=$1
ORG_NAME="$(cut -d'/' -f1 <<<"$2")"
WORKSPACE_NAME="$(cut -d'/' -f2 <<<"$2")"
Host hermes-1
hostname ec2-23-22-173-151.compute-1.amazonaws.com
user ubuntu
Host hermes-2
hostname ec2-184-72-170-25.compute-1.amazonaws.com
user ubuntu
Host hermes-3
hostname ec2-107-21-179-43.compute-1.amazonaws.com
user ubuntu
Host hermes-4