Skip to content

Instantly share code, notes, and snippets.

View eahrend's full-sized avatar
💭
My code works, it's just a gemini

Erik Ahrend eahrend

💭
My code works, it's just a gemini
View GitHub Profile
@eahrend
eahrend / main.go
Created December 14, 2023 22:00
gmail filewatcher test
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"net/http/httptest"
"os/exec"
[2023-10-18T17:29:27.415] [DEBUG] default - Initializing error reporting
[2023-10-18T17:29:27.430] [DEBUG] default - {
"terraform_version": "1.5.3",
"platform": "darwin_arm64",
"provider_selections": {},
"terraform_outdated": true
}
[2023-10-18T17:29:27.430] [DEBUG] default - {
"terraform_version": "1.5.3",
@eahrend
eahrend / gist:63d6bf343d99a7b5486faf459d0c1c33
Created February 3, 2022 16:49
terraform debug output
Error: jsii compilation failed with non-zero exit code: 1
| [2022-02-03T11:42:56.493] [ERROR] jsii/compiler - Compilation errors prevented the JSII assembly from being created
| warning JSII6: A "peerDependency" on "constructs" at "10.0.45" means you should take a "devDependency" on "constructs" at "10.0.45" (found "undefined")"
| warning JSII6: A "peerDependency" on "cdktf" at "0.9.0" means you should take a "devDependency" on "cdktf" at "0.9.0" (found "undefined")"
| warning JSII3: There is no "README.md" file. It is required in order to generate valid PyPI (Python) packages.
| providers/harness/data-harness-current-user.ts:51:15 - error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
| 51 public get 2FaEnabled() {
| ~~~~~~~~~
+----------------------------------------------------------------------------------
| Command: /opt/homebrew/Cellar/cdktf/0.9.0/libexec/lib/node_modules/cdktf-cli/node_modules/jsii/bin/jsii --silence-warnings reserved-
@eahrend
eahrend / gist:80adb6026a4aafc7a63b0061c0ffe96a
Created October 3, 2021 21:53
terraform testing output
-----> Starting Test Kitchen (v2.7.2)
-----> Destroying <mysql-public-local>...
$$$$$$ Reading the Terraform client version...
Terraform v1.0.5
on linux_amd64
+ provider registry.terraform.io/hashicorp/google v3.86.0
+ provider registry.terraform.io/hashicorp/google-beta v3.86.0
+ provider registry.terraform.io/hashicorp/null v3.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
@eahrend
eahrend / gist:1fe291cb517559841852aa0256b3a0c3
Created September 8, 2021 15:53
terraform debug output
2021-09-08T11:49:52.794-0400 [DEBUG] Adding temp file log sink: /var/folders/fh/ljhv9frx4d79jqmxb25bvlj5t2f63d/T/terraform-log310075790
2021-09-08T11:49:52.794-0400 [INFO] Terraform version: 1.0.6
2021-09-08T11:49:52.794-0400 [INFO] Go runtime version: go1.16.4
2021-09-08T11:49:52.794-0400 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-var-file=variables.tfvars"}
2021-09-08T11:49:52.794-0400 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021-09-08T11:49:52.794-0400 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-09-08T11:49:52.795-0400 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021-09-08T11:49:52.795-0400 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-09-08T11:49:52.795-0400 [DEBUG] will search for provider plugins in /Users/erik.ahrend/.terraform.d/plugins
2021-09-08T11:49:52.796-0400 [DEBUG] ignoring non-existing provider search directory /Users/erik.ahrend/Library/Applica
@eahrend
eahrend / gist:7a73cc0c4c3ac6ea7f80417ff3b66226
Created April 5, 2021 18:43
terraform debug output sanitized
2021/04/05 14:36:08 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/04/05 14:36:08 [INFO] Terraform version: 0.14.6
2021/04/05 14:36:08 [INFO] Go runtime version: go1.15.6
2021/04/05 14:36:08 [INFO] CLI args: []string{"/usr/local/bin/terraform", "output", "-json"}
2021/04/05 14:36:08 [DEBUG] Attempting to open CLI config file: /Users/erik.ahrend/.terraformrc
2021/04/05 14:36:08 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/05 14:36:08 [DEBUG] checking for credentials in "/Users/erik.ahrend/.terraform.d/plugins"
2021/04/05 14:36:08 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins