This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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] |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |