Skip to content

Instantly share code, notes, and snippets.

View maguro's full-sized avatar

Alan D. Cabrera maguro

  • San Francisco, CA
View GitHub Profile
@maguro
maguro / gist:c37f8dca83326304821497fdf789d188
Created September 11, 2019 17:37
TF_LOG=debug terraform destroy
10:31 $ TF_LOG=debug terraform destroy
2019/09/11 10:31:26 [INFO] Terraform version: 0.12.8
2019/09/11 10:31:26 [INFO] Go runtime version: go1.12.9
2019/09/11 10:31:26 [INFO] CLI args: []string{"/usr/local/bin/terraform", "destroy"}
2019/09/11 10:31:26 [DEBUG] Attempting to open CLI config file: /Users/acabrera/.terraformrc
2019/09/11 10:31:26 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/09/11 10:31:26 [INFO] CLI command args: []string{"destroy"}
2019/09/11 10:31:26 [DEBUG] checking for provider in "."
2019/09/11 10:31:26 [DEBUG] checking for provider in "/usr/local/bin"
2019/09/11 10:31:26 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
@maguro
maguro / gist:6b2be345ae9662c953c92b773f92059c
Created June 6, 2019 16:46
TF_LOG=debug terraform plan
foo2019/06/06 09:40:51 [INFO] Terraform version: 0.12.1
2019/06/06 09:40:51 [INFO] Go runtime version: go1.12.5
2019/06/06 09:40:51 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/06/06 09:40:51 [DEBUG] Attempting to open CLI config file: /Users/acabrera/.terraformrc
2019/06/06 09:40:51 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/06/06 09:40:51 [INFO] CLI command args: []string{"plan"}
2019/06/06 09:40:51 [DEBUG] checking for provider in "."
2019/06/06 09:40:51 [DEBUG] checking for provider in "/usr/local/bin"
2019/06/06 09:40:51 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/06/06 09:40:51 [DEBUG] found provider "terraform-provider-google-beta_v2.8.0_x4"
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.foo.google_container_cluster.foo-cluster will be updated in-place
~ resource "google_container_cluster" "foo-cluster" {