Skip to content

Instantly share code, notes, and snippets.

@BigTexasDork
BigTexasDork / debug.log
Created April 13, 2022 04:02
invalid github_repository configuration causes panic
2022-04-12T20:59:23.787-0700 [INFO] Terraform version: 1.1.8
2022-04-12T20:59:23.787-0700 [INFO] Go runtime version: go1.17.2
2022-04-12T20:59:23.787-0700 [INFO] CLI args: []string{"terraform-1.1.18", "apply", "-no-color"}
2022-04-12T20:59:23.787-0700 [DEBUG] Attempting to open CLI config file: /Users/joefranklin/.terraformrc
2022-04-12T20:59:23.787-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-04-12T20:59:23.787-0700 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-04-12T20:59:23.787-0700 [DEBUG] ignoring non-existing provider search directory /Users/joefranklin/.terraform.d/plugins
2022-04-12T20:59:23.787-0700 [DEBUG] ignoring non-existing provider search directory /Users/joefranklin/Library/Application Support/io.terraform/plugins
2022-04-12T20:59:23.787-0700 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2022-04-12T20:59:23.788-0700 [INFO] CLI command args: []string{"apply", "-no-color"}
@BigTexasDork
BigTexasDork / get_chrome_driver.sh
Created August 18, 2019 02:51
Download ChromeDriver - WebDriver for Chrome
#!/bin/bash
# from https://chromedriver.chromium.org/downloads/version-selection
# First, find out which version of Chrome you are using. Let's say you have Chrome 72.0.3626.81.
# Take the Chrome version number, remove the last part, and append the result to URL
# "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_". For example, with Chrome version 72.0.3626.81,
# you'd get a URL "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_72.0.3626".
# Use the URL created in the last step to retrieve a small file containing the version of ChromeDriver to use.
# For example, the above URL will get your a file containing "72.0.3626.69". (The actual number may change in the future,
# of course.)