Skip to content

Instantly share code, notes, and snippets.

@fillup
Created April 20, 2017 15:17
Show Gist options
  • Save fillup/f57874134bd4031790200e2edcbb2c5f to your computer and use it in GitHub Desktop.
Save fillup/f57874134bd4031790200e2edcbb2c5f to your computer and use it in GitHub Desktop.
debug log output from terraform destroy
2017/04/20 10:13:24 [INFO] Terraform version: 0.9.3
2017/04/20 10:13:24 [INFO] Go runtime version: go1.8.1
2017/04/20 10:13:24 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.9.3/bin/terraform", "destroy", "-force"}
2017/04/20 10:13:24 [DEBUG] Detected home directory from env var: /Users/shipley
2017/04/20 10:13:24 [DEBUG] Detected home directory from env var: /Users/shipley
2017/04/20 10:13:24 [DEBUG] Attempting to open CLI config file: /Users/shipley/.terraformrc
2017/04/20 10:13:24 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/20 10:13:24 [INFO] CLI command args: []string{"destroy", "-force"}
2017/04/20 10:13:24 [DEBUG] Detected home directory from env var: /Users/shipley
2017/04/20 10:13:24 [DEBUG] command: loading backend config file: /Users/shipley/code/terraform-test
2017/04/20 10:13:24 [INFO] Building AWS region structure
2017/04/20 10:13:24 [INFO] Building AWS auth structure
2017/04/20 10:13:25 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2017/04/20 10:13:25 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
2017/04/20 10:13:25 [DEBUG] [aws-sdk-go] DEBUG: Request sts/GetCallerIdentity Details:
...trimmed...
-----------------------------------------------------
2017/04/20 10:13:26 [DEBUG] [aws-sdk-go] DEBUG: Response s3/GetObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: close
Content-Length: 2005
Accept-Ranges: bytes
Content-Type: application/json
Date: Thu, 20 Apr 2017 15:13:27 GMT
Etag: "cd1eb8e55554eabc2f8db627dd7c5ed5"
Last-Modified: Thu, 20 Apr 2017 15:08:40 GMT
Server: AmazonS3
{
"version": 3,
"terraform_version": "0.9.3",
"serial": 0,
"lineage": "f180927e-b77b-4405-9211-6f0067f849fc",
"modules": [
{
"path": [
"root"
],
"outputs": {},
"resources": {
"logentries_log.log": {
"type": "logentries_log",
"depends_on": [
"logentries_logset.logset"
],
"primary": {
"id": "c3332e12-ed0d-4ce5-b4a8-168dbf17de2a",
"attributes": {
"filename": "",
"id": "c3332e12-ed0d-4ce5-b4a8-168dbf17de2a",
"logset_id": "69126ca9-d768-407b-b161-e73e140dfce6",
"name": "test-log",
"retention_period": "ACCOUNT_DEFAULT",
"source": "token",
"token": "b6adb0c9-76f5-48c9-bb04-e5121bdac564"
},
"meta": {},
"tainted": false
},
"deposed": [],
"provider": ""
},
"logentries_logset.logset": {
"type": "logentries_logset",
"depends_on": [],
"primary": {
"id": "69126ca9-d768-407b-b161-e73e140dfce6",
"attributes": {
"id": "69126ca9-d768-407b-b161-e73e140dfce6",
"location": "nonlocation",
"name": "testing-terraform-destroy"
},
"meta": {},
"tainted": false
},
"deposed": [],
"provider": ""
}
},
"depends_on": []
}
]
}
-----------------------------------------------------
2017/04/20 10:13:26 [INFO] terraform: building graph: GraphTypeInput
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_logset.logset": &terraform.ResourceState{Type:"logentries_logset", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420882d70), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_log.log": &terraform.ResourceState{Type:"logentries_log", Dependencies:[]string{"logentries_logset.logset"}, Primary:(*terraform.InstanceState)(0xc420a1e000), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_logset.logset" references: []
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_log.log" references: [logentries_logset.logset]
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "var.logentries_account_key" references: []
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "provider.logentries" references: [var.logentries_account_key]
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "provider.logentries"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "logentries_logset.logset" waiting on "provider.logentries"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "logentries_log.log" waiting on "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "provider.logentries" waiting on "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "logentries_logset.logset", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "logentries_log.log", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "provider.logentries", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] vertex 'root.var.logentries_account_key': walking
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "provider.logentries"
2017/04/20 10:13:26 [DEBUG] vertex 'root.provider.logentries': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.provider.logentries': evaluating
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/20 10:13:26 [DEBUG] plugin: starting plugin: /usr/local/Cellar/terraform/0.9.3/bin/terraform []string{"/usr/local/Cellar/terraform/0.9.3/bin/terraform", "internal-plugin", "provider", "logentries"}
2017/04/20 10:13:26 [DEBUG] plugin: waiting for RPC address for: /usr/local/Cellar/terraform/0.9.3/bin/terraform
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [INFO] Terraform version: 0.9.3
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [INFO] Go runtime version: go1.8.1
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.9.3/bin/terraform", "internal-plugin", "provider", "logentries"}
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [DEBUG] Detected home directory from env var: /Users/shipley
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [DEBUG] Detected home directory from env var: /Users/shipley
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [DEBUG] Attempting to open CLI config file: /Users/shipley/.terraformrc
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [DEBUG] Detected home directory from env var: /Users/shipley
2017/04/20 10:13:26 [DEBUG] plugin: terraform: 2017/04/20 10:13:26 [INFO] CLI command args: []string{"internal-plugin", "provider", "logentries"}
2017/04/20 10:13:26 [DEBUG] plugin: terraform: logentries-provider (internal) 2017/04/20 10:13:26 [INFO] Starting provider plugin logentries
2017/04/20 10:13:26 [DEBUG] plugin: terraform: logentries-provider (internal) 2017/04/20 10:13:26 [DEBUG] plugin: plugin address: unix /var/folders/w6/r3jzw_yx1292lxq71nw6jpvw0000gn/T/plugin550977668
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInputProvider
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [TRACE] [walkInput] Exiting eval tree: provider.logentries
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_logset.logset': walking
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_log.log': walking
2017/04/20 10:13:26 [INFO] terraform: building graph: GraphTypeValidate
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_logset.logset": &terraform.ResourceState{Type:"logentries_logset", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420882d70), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_log.log": &terraform.ResourceState{Type:"logentries_log", Dependencies:[]string{"logentries_logset.logset"}, Primary:(*terraform.InstanceState)(0xc420a1e000), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_logset.logset" references: []
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_log.log" references: [logentries_logset.logset]
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "var.logentries_account_key" references: []
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "provider.logentries" references: [var.logentries_account_key]
2017/04/20 10:13:26 [DEBUG] Starting graph walk: walkValidate
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "provider.logentries"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "provider.logentries" waiting on "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "logentries_logset.logset" waiting on "provider.logentries"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "logentries_log.log" waiting on "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "provider.logentries", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "logentries_logset.logset", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "logentries_log.log", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] vertex 'root.var.logentries_account_key': walking
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "provider.logentries"
2017/04/20 10:13:26 [DEBUG] vertex 'root.provider.logentries': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.provider.logentries': evaluating
2017/04/20 10:13:26 [TRACE] [walkValidate] Entering eval tree: provider.logentries
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateProvider
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [TRACE] [walkValidate] Exiting eval tree: provider.logentries
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_logset.logset': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_logset.logset': evaluating
2017/04/20 10:13:26 [TRACE] [walkValidate] Entering eval tree: logentries_logset.logset
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalIf
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_logset.logset': expanding/walking dynamic subgraph
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_logset.logset": &terraform.ResourceState{Type:"logentries_logset", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc420882d70), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_logset.logset" references: []
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_logset.logset': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_logset.logset': evaluating
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_log.log': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_log.log': evaluating
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalIf
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateCount
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalCountFixZeroOneBoundary
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_log.log": &terraform.ResourceState{Type:"logentries_log", Dependencies:[]string{"logentries_logset.logset"}, Primary:(*terraform.InstanceState)(0xc420a1e000), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_log.log" references: []
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_log.log': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.logentries_log.log': evaluating
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateResourceSelfRef
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalValidateResource
2017/04/20 10:13:26 [INFO] backend/local: apply calling Refresh
2017/04/20 10:13:26 [INFO] terraform: building graph: GraphTypeRefresh
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_logset.logset": &terraform.ResourceState{Type:"logentries_logset", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc4208130e0), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] Attaching resource state to "logentries_log.log": &terraform.ResourceState{Type:"logentries_log", Dependencies:[]string{"logentries_logset.logset"}, Primary:(*terraform.InstanceState)(0xc420813180), Deposed:[]*terraform.InstanceState{}, Provider:"", mu:sync.Mutex{state:0, sema:0x0}}
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_logset.logset" references: []
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "logentries_log.log" references: [logentries_logset.logset]
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "var.logentries_account_key" references: []
2017/04/20 10:13:26 [DEBUG] ReferenceTransformer: "provider.logentries" references: [var.logentries_account_key]
2017/04/20 10:13:26 [DEBUG] Starting graph walk: walkRefresh
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "logentries_log.log"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] dag/walk: added new vertex: "provider.logentries"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "provider.logentries" waiting on "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "logentries_logset.logset" waiting on "provider.logentries"
2017/04/20 10:13:26 [DEBUG] dag/walk: added edge: "logentries_log.log" waiting on "logentries_logset.logset"
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "provider.logentries", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "logentries_logset.logset", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: dependencies changed for "logentries_log.log", sending new deps
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "var.logentries_account_key"
2017/04/20 10:13:26 [DEBUG] vertex 'root.var.logentries_account_key': walking
2017/04/20 10:13:26 [DEBUG] dag/walk: walking "provider.logentries"
2017/04/20 10:13:26 [DEBUG] vertex 'root.provider.logentries': walking
2017/04/20 10:13:26 [DEBUG] vertex 'root.provider.logentries': evaluating
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [DEBUG] root: eval: terraform.EvalNoop
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalGetProvider
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSetProviderConfig
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalOpFilter
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/20 10:13:26 [DEBUG] root: eval: *terraform.EvalConfigProvider
2017/04/20 10:13:27 [DEBUG] root: eval: *terraform.EvalWriteState
2017/04/20 10:13:27 [DEBUG] vertex 'root.logentries_log.log': evaluating
2017/04/20 10:13:27 [DEBUG] root: eval: *terraform.EvalRefresh
2017/04/20 10:13:28 [ERROR] root: eval: *terraform.EvalRefresh, err: logentries_log.log: failed to get log c3332e12-ed0d-4ce5-b4a8-168dbf17de2a: Log with key "c3332e12-ed0d-4ce5-b4a8-168dbf17de2a" not found.
2017/04/20 10:13:28 [ERROR] root: eval: *terraform.EvalSequence, err: logentries_log.log: failed to get log c3332e12-ed0d-4ce5-b4a8-168dbf17de2a: Log with key "c3332e12-ed0d-4ce5-b4a8-168dbf17de2a" not found.
2017/04/20 10:13:28 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/04/20 10:13:28 [DEBUG] plugin: terraform: logentries-provider (internal) 2017/04/20 10:13:28 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/04/20 10:13:28 [DEBUG] plugin: /usr/local/Cellar/terraform/0.9.3/bin/terraform: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment