Skip to content

Instantly share code, notes, and snippets.

execute = function test( data ) {
console.log( data );
}
{
"dependencies": {
"graceful-fs": {
"version": "4.2.2"
}
}
}
@jonathansd1
jonathansd1 / main.tf
Created November 8, 2018 04:24
Terraform templates which result in crash
provider "azurerm" {
environment = "public"
}
terraform {
backend "azurerm" {
storage_account_name = "tfstate"
resource_group_name = "tfstate-rg"
container_name = "tfstate"
key = "terraform.tfstate"
@jonathansd1
jonathansd1 / crash.log
Created November 8, 2018 04:17
Crash log from Terraform
This file has been truncated, but you can view the full file.
2018/11/07 23:10:19 [INFO] Terraform version: 0.12.0 alpha2
2018/11/07 23:10:19 [INFO] Go runtime version: go1.11.1
2018/11/07 23:10:19 [INFO] CLI args: []string{"/home/jdubs/bin/terraform", "apply", "-auto-approve"}
2018/11/07 23:10:19 [DEBUG] Attempting to open CLI config file: /home/jdubs/.terraformrc
2018/11/07 23:10:19 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/11/07 23:10:19 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2018/11/07 23:10:19 [TRACE] Preserving existing state lineage "57c6e8de-4ebf-88d2-074c-1907011f2843"
2018/11/07 23:10:19 [TRACE] Preserving existing state lineage "57c6e8de-4ebf-88d2-074c-1907011f2843"
2018/11/07 23:10:22 [INFO] command: backend initialized: *azure.Backend
2018/11/07 23:10:22 [DEBUG] checking for provider in "."
@jonathansd1
jonathansd1 / debug.log
Created November 8, 2018 04:15
Debug output showing Terraform crash
This file has been truncated, but you can view the full file.
2018/11/07 23:10:19 [INFO] Terraform version: 0.12.0 alpha2
2018/11/07 23:10:19 [INFO] Go runtime version: go1.11.1
2018/11/07 23:10:19 [INFO] CLI args: []string{"/home/jdubs/bin/terraform", "apply", "-auto-approve"}
2018/11/07 23:10:19 [DEBUG] Attempting to open CLI config file: /home/jdubs/.terraformrc
2018/11/07 23:10:19 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/11/07 23:10:19 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2018/11/07 23:10:19 [TRACE] Preserving existing state lineage "57c6e8de-4ebf-88d2-074c-1907011f2843"
2018/11/07 23:10:19 [TRACE] Preserving existing state lineage "57c6e8de-4ebf-88d2-074c-1907011f2843"
2018/11/07 23:10:22 [INFO] command: backend initialized: *azure.Backend
2018/11/07 23:10:22 [DEBUG] checking for provider in "."