(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| wget http://stedolan.github.io/jq/download/linux64/jq | |
| aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \ | |
| "Name=instance-state-name,Values=running" \ | |
| | jq -r \ | |
| ".Reservations[] | .Instances[] | .InstanceId" \ | |
| aws ec2 describe-volumes --filters \ | |
| "Name=status,Values=available" \ | |
| | jq -r ".Volumes[] | .VolumeId" \ |
| # Procedure is for Ubuntu 14.04 LTS. | |
| # Using these guides: | |
| # http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/ | |
| # https://turboflash.wordpress.com/2009/06/23/curl-adding-installing-trusting-new-self-signed-certificate/ | |
| # https://jamielinux.com/articles/2013/08/act-as-your-own-certificate-authority/ | |
| # Generate the root (GIVE IT A PASSWORD IF YOU'RE NOT AUTOMATING SIGNING!): | |
| openssl genrsa -aes256 -out ca.key 2048 | |
| openssl req -new -x509 -days 7300 -key ca.key -sha256 -extensions v3_ca -out ca.crt |
| time_namelookup: %{time_namelookup}\n | |
| time_connect: %{time_connect}\n | |
| time_appconnect: %{time_appconnect}\n | |
| time_pretransfer: %{time_pretransfer}\n | |
| time_redirect: %{time_redirect}\n | |
| time_starttransfer: %{time_starttransfer}\n | |
| ----------\n | |
| time_total: %{time_total}\n | |
| \n |
| module.consul.aws_iam_role_policy.consul_role_policy: Destroying... | |
| module.consul.aws_iam_role_policy.consul_role_policy: Destruction complete | |
| Error applying plan: | |
| 1 error(s) occurred: | |
| * aws_iam_role.consul_role: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue. | |
| Please include the following information in your report: |