Skip to content

Instantly share code, notes, and snippets.

View hamshif's full-sized avatar

Gideon Bar hamshif

View GitHub Profile
2018/01/30 00:34:17 [INFO] Terraform version: 0.11.0
2018/01/30 00:34:17 [INFO] Go runtime version: go1.9.2
2018/01/30 00:34:17 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.0/bin/terraform", "apply"}
2018/01/30 00:34:17 [DEBUG] Attempting to open CLI config file: /Users/gbar/.terraformrc
2018/01/30 00:34:17 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/01/30 00:34:17 [INFO] CLI command args: []string{"apply"}
2018/01/30 00:34:17 [INFO] command: empty terraform config, returning nil
2018/01/30 00:34:17 [DEBUG] command: no data state file found for backend config
2018/01/30 00:34:17 [DEBUG] New state was assigned lineage "e679b9d8-c009-47eb-905a-c41fcf5bcf24"
2018/01/30 00:34:17 [INFO] command: backend initialized: <nil>
@hamshif
hamshif / gist:f0ca4ad95b9c1f71b620a92c7dc10f15
Created January 29, 2018 22:12
Terraform Google plugin GKE provision fail apply log
2018/01/30 00:06:00 [INFO] Terraform version: 0.11.0
2018/01/30 00:06:00 [INFO] Go runtime version: go1.9.2
2018/01/30 00:06:00 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.0/bin/terraform", "apply"}
2018/01/30 00:06:00 [DEBUG] Attempting to open CLI config file: /Users/gbar/.terraformrc
2018/01/30 00:06:00 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/01/30 00:06:00 [INFO] CLI command args: []string{"apply"}
2018/01/30 00:06:00 [INFO] command: empty terraform config, returning nil
2018/01/30 00:06:00 [DEBUG] command: no data state file found for backend config
2018/01/30 00:06:00 [DEBUG] New state was assigned lineage "e5206202-eaf3-4590-9448-ab8de7cfb1d7"
2018/01/30 00:06:00 [INFO] command: backend initialized: <nil>
@hamshif
hamshif / debug.txt
Created January 29, 2018 19:23
GKE Terraform Google Plugin 1.5 Debug
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
@hamshif
hamshif / gist:b2c655349cb23aebe9241a2386d43d06
Created January 26, 2018 14:41
Output of terraform with 1.4 google plugin file
Error: Error applying plan:
1 error(s) occurred:
* google_container_cluster.rtp_container_cluster: 1 error(s) occurred:
* google_container_cluster.rtp_container_cluster: Error reading
instance group manager returned as an instance group URL: Get
https://www.googleapis.com/compute/v1/projects/rtp-gcp-
poc/zones/europe-west1-b/instanceGroupManagers/gke-rtp-container-
@hamshif
hamshif / gist:2307fdae8cbad4ba3195e61abb3837c3
Created January 26, 2018 14:33
Terraform Google plugin 1.5 Error
Error: Error applying plan:
1 error(s) occurred:
* google_container_cluster.primary: 1 error(s) occurred:
* google_container_cluster.primary: Post
https://container.googleapis.com/v1/projects/...-gcp-poc/zones/europe-
west1-d/clusters?alt=json: dial tcp: i/o timeout