Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
import json
import requests
import urllib3
import sys
urllib3.disable_warnings()
cookie = open("cookie.txt").readline().strip()
csrf_token = [x.split("=") for x in cookie.split(";") if "csrf" in x][0][1]
@craiggenner
craiggenner / crash.log
Created January 18, 2019 12:29
terraform crash.log
This file has been truncated, but you can view the full file.
2019/01/18 12:07:25 [INFO] Terraform version: 0.11.11 ac4fff416318bf0915a0ab80e062a99ef3724334
2019/01/18 12:07:25 [INFO] Go runtime version: go1.11.1
2019/01/18 12:07:25 [INFO] CLI args: []string{"/home/craig/source/git/tfenv/versions/0.11.11/terraform", "apply", "-var-file=etc/env_eu-west-2_mgmt.tfvars", "--var", "environment=mgmt"}
2019/01/18 12:07:25 [DEBUG] Attempting to open CLI config file: /home/craig/.terraformrc
2019/01/18 12:07:25 Loading CLI configuration from /home/craig/.terraformrc
2019/01/18 12:07:25 [INFO] CLI command args: []string{"apply", "-var-file=etc/env_eu-west-2_mgmt.tfvars", "--var", "environment=mgmt"}
2019/01/18 12:07:25 [TRACE] Preserving existing state lineage "ba90d664-dd04-35bf-4966-f7ad632e3af3"
2019/01/18 12:07:25 [TRACE] Preserving existing state lineage "ba90d664-dd04-35bf-4966-f7ad632e3af3"
2019/01/18 12:07:25 [INFO] Building AWS region structure
2019/01/18 12:07:25 [INFO] Building AWS auth structure
Error: Error running plan: 5 error(s) occurred:
* aws_s3_bucket.prod_loadbalancer_logging: 1 error(s) occurred:
* aws_s3_bucket.prod_loadbalancer_logging: unexpected EOF
* aws_key_pair.bootstrap_test: 1 error(s) occurred:
* aws_key_pair.bootstrap_test: unexpected EOF
* aws_s3_bucket.dev_flow_logs: 1 error(s) occurred: