Skip to content

Instantly share code, notes, and snippets.

@kglee79
kglee79 / exec_example_test.go
Last active March 9, 2017 19:56
Test Helper for exec.Command in Go
package testutils
import (
"bytes"
"fmt"
"os/exec"
"testing"
"github.com/mycompany/myproject/testutils"
"github.com/stretchr/testify/assert"
@kglee79
kglee79 / tf_debug.log
Created August 4, 2016 22:52
Terraform Null Variable Bug - nat-sg
This file has been truncated, but you can view the full file.
2016/08/04 15:49:52 [INFO] Terraform version: 0.7.0 e822a79165dbc06bbf8271ee349fe256867d53dc
2016/08/04 15:49:52 [DEBUG] Detected home directory from env var: /Users/kglee79
2016/08/04 15:49:52 [DEBUG] Detected home directory from env var: /Users/kglee79
2016/08/04 15:49:52 [DEBUG] Attempting to open CLI config file: /Users/kglee79/.terraformrc
2016/08/04 15:49:52 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2016/08/04 15:49:52 [DEBUG] Detected home directory from env var: /Users/kglee79
remote_tmp_dir - *terraform.GraphNodeConfigVariable
var.s3_bucket - *terraform.GraphNodeConfigVariable
var.vpn_ssh_user - *terraform.GraphNodeConfigVariable
module.consul_encryption_setup - *terraform.GraphNodeConfigModule

Keybase proof

I hereby claim:

  • I am kglee79 on github.
  • I am kglee79 (https://keybase.io/kglee79) on keybase.
  • I have a public key whose fingerprint is ABA5 8428 4344 7D99 F098 8040 80D3 ACA6 3D20 79AD

To claim this, I am signing this object: