start new:
tmux
start new with session name:
tmux new -s myname
# Stop on error | |
set -e | |
# Is brew needed? | |
if [ -x "$(which brew)" ]; then | |
echo Skipping brew | |
else | |
echo Installing brew | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
fi |
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
Set up a cross-account IAM role in the destination account
Create a lambda in the calling account.
import cdk = require("@aws-cdk/core"); | |
import { Vpc, Port } from "@aws-cdk/aws-ec2"; | |
import { | |
Cluster, | |
ContainerImage, | |
AwsLogDriver, | |
FargatePlatformVersion, | |
NetworkMode, | |
CfnService, | |
} from "@aws-cdk/aws-ecs"; |