Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depends_on in data source causes upstream resources to reprovision #20484

Closed
sethvargo opened this issue Feb 26, 2019 · 2 comments
Closed

depends_on in data source causes upstream resources to reprovision #20484

sethvargo opened this issue Feb 26, 2019 · 2 comments

Comments

@sethvargo
Copy link
Contributor

Terraform Version

0.11.11

Terraform Configuration Files

resource "null_resource" "dep" {}

data "local_file" "foo" {
  filename = "${path.module}/file.txt"

  depends_on = ["null_resource.dep"]
}

resource "null_resource" "foo" {
  triggers {
    contents = "${data.local_file.foo.content}"
  }
}

Debug Output

2019/02/26 14:28:09 [INFO] Terraform version: 0.11.11
2019/02/26 14:28:09 [INFO] Go runtime version: go1.11.4
2019/02/26 14:28:09 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.11/bin/terraform", "apply"}
2019/02/26 14:28:09 [DEBUG] Attempting to open CLI config file: /Users/sethvargo/.terraformrc
2019/02/26 14:28:09 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/02/26 14:28:09 [INFO] CLI command args: []string{"apply"}
2019/02/26 14:28:09 [INFO] command: empty terraform config, returning nil
2019/02/26 14:28:09 [DEBUG] command: no data state file found for backend config
2019/02/26 14:28:09 [DEBUG] New state was assigned lineage "22c84acf-1d5b-0837-2082-2683ff4d9504"
2019/02/26 14:28:09 [INFO] command: backend initialized: <nil>
2019/02/26 14:28:09 [DEBUG] checking for provider in "."
2019/02/26 14:28:09 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.11/bin"
2019/02/26 14:28:09 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2019/02/26 14:28:09 [DEBUG] found provider "terraform-provider-local_v1.1.0_x4"
2019/02/26 14:28:09 [DEBUG] found provider "terraform-provider-null_v2.0.0_x4"
2019/02/26 14:28:09 [DEBUG] checking for provider in "/Users/sethvargo/.terraform.d/plugins"
2019/02/26 14:28:09 [WARN] found legacy provider "terraform-provider-filesystem"
2019/02/26 14:28:09 [WARN] found legacy provider "terraform-provider-google-sethvargo"
2019/02/26 14:28:09 [DEBUG] found valid plugin: "null", "2.0.0", "/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.0.0_x4"
2019/02/26 14:28:09 [DEBUG] found valid plugin: "filesystem", "0.0.0", "/Users/sethvargo/.terraform.d/plugins/terraform-provider-filesystem"
2019/02/26 14:28:09 [DEBUG] found valid plugin: "google-sethvargo", "0.0.0", "/Users/sethvargo/.terraform.d/plugins/terraform-provider-google-sethvargo"
2019/02/26 14:28:09 [DEBUG] found valid plugin: "local", "1.1.0", "/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-local_v1.1.0_x4"
2019/02/26 14:28:09 [DEBUG] checking for provisioner in "."
2019/02/26 14:28:09 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.11.11/bin"
2019/02/26 14:28:09 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2019/02/26 14:28:09 [DEBUG] checking for provisioner in "/Users/sethvargo/.terraform.d/plugins"
2019/02/26 14:28:09 [INFO] command: backend <nil> is not enhanced, wrapping in local
2019/02/26 14:28:09 [INFO] backend/local: starting Apply operation
2019/02/26 14:28:09 [TRACE] Preserving existing state lineage "c97bc422-5512-be25-f581-17a4fa7f046f"
2019/02/26 14:28:09 [TRACE] Preserving existing state lineage "c97bc422-5512-be25-f581-17a4fa7f046f"
2019/02/26 14:28:09 [INFO] terraform: building graph: GraphTypeInput
2019/02/26 14:28:09 [TRACE] ConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ConfigTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.LocalTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OutputTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanOutputTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Beginning...
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: data.local_file.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:1, Name:"foo", Type:"local_file", RawCount:(*config.RawConfig)(0xc000304a80), RawConfig:(*config.RawConfig)(0xc000304a10), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string{"null_resource.dep"}, Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.dep
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"dep", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003048c0), RawConfig:(*config.RawConfig)(0xc000304850), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"foo", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003049a0), RawConfig:(*config.RawConfig)(0xc000304930), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "data.local_file.foo": &terraform.ResourceState{Type:"local_file", Dependencies:[]string{"null_resource.dep"}, Primary:(*terraform.InstanceState)(0xc000328aa0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.local", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000328b40), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc000328b90), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootVariableTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [TRACE] ProviderConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderConfigTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
2019/02/26 14:28:09 [DEBUG] adding missing provider: local
2019/02/26 14:28:09 [DEBUG] adding missing provider: null
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.MissingProviderTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
null_resource.foo - *terraform.NodeAbstractResource
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] resource data.local_file.foo using provider provider.local
2019/02/26 14:28:09 [DEBUG] resource null_resource.dep using provider provider.null
2019/02/26 14:28:09 [DEBUG] resource null_resource.foo using provider provider.null
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.PruneProviderTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ParentProviderTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.graphTransformerMulti:

data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ModuleVariableTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RemovedModuleTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: [null_resource.dep]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: [data.local_file.foo]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.local" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.null" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CountBoundaryTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProviderTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProvisionerTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeAbstractResource
  null_resource.foo - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
  meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:

data.local_file.foo - *terraform.NodeAbstractResource
  null_resource.dep - *terraform.NodeAbstractResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  null_resource.foo - *terraform.NodeAbstractResource
null_resource.dep - *terraform.NodeAbstractResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeAbstractResource
  data.local_file.foo - *terraform.NodeAbstractResource
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeAbstractResource
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.foo - *terraform.NodeAbstractResource
root - terraform.graphNodeRoot
  meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [DEBUG] Starting graph walk: walkInput
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "root"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.null (close)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.dep" waiting on "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.foo" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.local (close)" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.dep", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.local (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.null (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "data.local_file.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': evaluating
2019/02/26 14:28:09 [TRACE] [walkInput] Entering eval tree: provider.local
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': evaluating
2019-02-26T14:28:09.380-0500 [DEBUG] plugin: starting plugin: path=/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-local_v1.1.0_x4 args=[/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-local_v1.1.0_x4]
2019/02/26 14:28:09 [TRACE] [walkInput] Entering eval tree: provider.null
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019-02-26T14:28:09.383-0500 [DEBUG] plugin: waiting for RPC address: path=/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-local_v1.1.0_x4
2019-02-26T14:28:09.394-0500 [DEBUG] plugin.terraform-provider-local_v1.1.0_x4: 2019/02/26 14:28:09 [DEBUG] plugin: plugin address: unix /var/folders/j5/_cj847193gs5cxn6qn3hkjcc00gy5b/T/plugin436060744
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019-02-26T14:28:09.396-0500 [DEBUG] plugin: starting plugin: path=/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.0.0_x4 args=[/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.0.0_x4]
2019-02-26T14:28:09.399-0500 [DEBUG] plugin: waiting for RPC address: path=/Users/sethvargo/Desktop/test/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.0.0_x4
2019-02-26T14:28:09.410-0500 [DEBUG] plugin.terraform-provider-null_v2.0.0_x4: plugin address: timestamp=2019-02-26T14:28:09.410-0500 address=/var/folders/j5/_cj847193gs5cxn6qn3hkjcc00gy5b/T/plugin904830261 network=unix
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInputProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInputProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] [walkInput] Exiting eval tree: provider.null
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] [walkInput] Exiting eval tree: provider.local
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2019/02/26 14:28:09 [TRACE] [walkInput] Entering eval tree: meta.count-boundary (count boundary fixup)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': walking
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "data.local_file.foo.0", replace "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': walking
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "null_resource.dep.0", replace "null_resource.dep"
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "null_resource.foo.0", replace "null_resource.foo"
2019/02/26 14:28:09 [TRACE] [walkInput] Exiting eval tree: meta.count-boundary (count boundary fixup)
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': evaluating
2019/02/26 14:28:09 [TRACE] [walkInput] Entering eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] [walkInput] Entering eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] [walkInput] Exiting eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] [walkInput] Exiting eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] dag/walk: walking "root"
2019/02/26 14:28:09 [TRACE] vertex 'root.root': walking
2019/02/26 14:28:09 [INFO] terraform: building graph: GraphTypeValidate
2019/02/26 14:28:09 [TRACE] ConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ConfigTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.LocalTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OutputTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanOutputTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Beginning...
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: data.local_file.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:1, Name:"foo", Type:"local_file", RawCount:(*config.RawConfig)(0xc000304a80), RawConfig:(*config.RawConfig)(0xc000304a10), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string{"null_resource.dep"}, Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.dep
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"dep", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003048c0), RawConfig:(*config.RawConfig)(0xc000304850), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"foo", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003049a0), RawConfig:(*config.RawConfig)(0xc000304930), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "data.local_file.foo": &terraform.ResourceState{Type:"local_file", Dependencies:[]string{"null_resource.dep"}, Primary:(*terraform.InstanceState)(0xc000328aa0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.local", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000328b40), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc000328b90), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootVariableTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [TRACE] ProviderConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderConfigTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
2019/02/26 14:28:09 [DEBUG] adding missing provider: local
2019/02/26 14:28:09 [DEBUG] adding missing provider: null
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.MissingProviderTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
null_resource.foo - *terraform.NodeValidatableResource
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] resource data.local_file.foo using provider provider.local
2019/02/26 14:28:09 [DEBUG] resource null_resource.dep using provider provider.null
2019/02/26 14:28:09 [DEBUG] resource null_resource.foo using provider provider.null
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.PruneProviderTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ParentProviderTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.graphTransformerMulti:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.MissingProvisionerTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProvisionerTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.graphTransformerMulti:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ModuleVariableTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RemovedModuleTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: [null_resource.dep]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: [data.local_file.foo]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.local" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.null" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CountBoundaryTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProviderTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProvisionerTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeValidatableResource
  null_resource.foo - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
  meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:

data.local_file.foo - *terraform.NodeValidatableResource
  null_resource.dep - *terraform.NodeValidatableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  null_resource.foo - *terraform.NodeValidatableResource
null_resource.dep - *terraform.NodeValidatableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeValidatableResource
  data.local_file.foo - *terraform.NodeValidatableResource
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeValidatableResource
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.foo - *terraform.NodeValidatableResource
root - terraform.graphNodeRoot
  meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [DEBUG] Starting graph walk: walkValidate
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "root"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.foo" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.null (close)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.dep" waiting on "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.local (close)" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.dep", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.local (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "data.local_file.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.null (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: provider.local
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: provider.null
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: provider.null
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: provider.local
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateCount
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

null_resource.dep - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000328b40), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

null_resource.dep - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

null_resource.dep - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

null_resource.dep - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

null_resource.dep - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResourceSelfRef
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResource
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateCount
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

data.local_file.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "data.local_file.foo": &terraform.ResourceState{Type:"local_file", Dependencies:[]string{"null_resource.dep"}, Primary:(*terraform.InstanceState)(0xc000328aa0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.local", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResourceSelfRef
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResource
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateCount
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

null_resource.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc000328b90), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

null_resource.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

null_resource.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

null_resource.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

null_resource.foo - *terraform.NodeValidatableResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResourceSelfRef
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResource
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: meta.count-boundary (count boundary fixup)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': evaluating
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "data.local_file.foo.0", replace "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] [walkValidate] Entering eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "null_resource.dep.0", replace "null_resource.dep"
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "null_resource.foo.0", replace "null_resource.foo"
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: meta.count-boundary (count boundary fixup)
2019/02/26 14:28:09 [TRACE] [walkValidate] Exiting eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] dag/walk: walking "root"
2019/02/26 14:28:09 [TRACE] vertex 'root.root': walking
2019/02/26 14:28:09 [INFO] backend/local: apply calling Refresh
2019/02/26 14:28:09 [INFO] terraform: building graph: GraphTypeRefresh
2019/02/26 14:28:09 [TRACE] ConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ConfigTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [TRACE] ConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ConfigTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000329450), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc0003294a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "data.local_file.foo": &terraform.ResourceState{Type:"local_file", Dependencies:[]string{"null_resource.dep"}, Primary:(*terraform.InstanceState)(0xc0003293b0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.local", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Beginning...
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.dep
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"dep", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003048c0), RawConfig:(*config.RawConfig)(0xc000304850), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"foo", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003049a0), RawConfig:(*config.RawConfig)(0xc000304930), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: data.local_file.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:1, Name:"foo", Type:"local_file", RawCount:(*config.RawConfig)(0xc000304a80), RawConfig:(*config.RawConfig)(0xc000304a10), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string{"null_resource.dep"}, Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootVariableTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [TRACE] ProviderConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderConfigTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
2019/02/26 14:28:09 [DEBUG] adding missing provider: null
2019/02/26 14:28:09 [DEBUG] adding missing provider: local
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.MissingProviderTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
null_resource.dep - *terraform.NodeRefreshableManagedResource
null_resource.foo - *terraform.NodeRefreshableManagedResource
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] resource null_resource.dep using provider provider.null
2019/02/26 14:28:09 [DEBUG] resource null_resource.foo using provider provider.null
2019/02/26 14:28:09 [DEBUG] resource data.local_file.foo using provider provider.local
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.PruneProviderTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ParentProviderTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.graphTransformerMulti:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.LocalTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OutputTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ModuleVariableTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: [data.local_file.foo]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: [null_resource.dep]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.null" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.local" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProviderTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeRefreshableDataResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  null_resource.foo - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResource
  null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodeRefreshableManagedResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodeRefreshableManagedResource
  data.local_file.foo - *terraform.NodeRefreshableDataResource
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodeRefreshableDataResource
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.foo - *terraform.NodeRefreshableManagedResource
root - terraform.graphNodeRoot
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [DEBUG] Starting graph walk: walkRefresh
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "root"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.local (close)" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.null (close)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.dep" waiting on "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.foo" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "data.local_file.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.local (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.null (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.dep", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: provider.local
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: provider.null
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalConfigProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalConfigProvider
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: provider.null
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: provider.local
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountCheckComputed
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Starting...
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Checking: null_resource.dep
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc000329450), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

null_resource.dep - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalReadState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalRefresh
null_resource.dep: Refreshing state... (ID: 8104024030368248921)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteState
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountCheckComputed
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResourceInstance
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Starting...
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Checking: data.local_file.foo
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "data.local_file.foo": &terraform.ResourceState{Type:"local_file", Dependencies:[]string{"null_resource.dep"}, Primary:(*terraform.InstanceState)(0xc0003293b0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.local", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodeRefreshableDataResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf, err: early exit
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence, err: early exit
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': walking
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountCheckComputed
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

null_resource.foo - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Starting...
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Checking: null_resource.foo
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:

null_resource.foo - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc0003294a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

null_resource.foo - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

null_resource.foo - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

null_resource.foo - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

null_resource.foo - *terraform.NodeRefreshableManagedResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalReadState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalRefresh
null_resource.foo: Refreshing state... (ID: 3568275512839256473)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteState
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': evaluating
2019/02/26 14:28:09 [TRACE] [walkRefresh] Entering eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] [walkRefresh] Exiting eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] dag/walk: walking "root"
2019/02/26 14:28:09 [TRACE] vertex 'root.root': walking
2019/02/26 14:28:09 [INFO] backend/local: apply calling Plan
2019/02/26 14:28:09 [INFO] terraform: building graph: GraphTypePlan
2019/02/26 14:28:09 [TRACE] ConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ConfigTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.LocalTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OutputTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanOutputTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Beginning...
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.dep
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"dep", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003048c0), RawConfig:(*config.RawConfig)(0xc000304850), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: null_resource.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"foo", Type:"null_resource", RawCount:(*config.RawConfig)(0xc0003049a0), RawConfig:(*config.RawConfig)(0xc000304930), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] AttachResourceConfigTransformer: Attach resource config request: data.local_file.foo
2019/02/26 14:28:09 [TRACE] Attaching resource config: &config.Resource{Mode:1, Name:"foo", Type:"local_file", RawCount:(*config.RawConfig)(0xc000304a80), RawConfig:(*config.RawConfig)(0xc000304a10), Provisioners:[]*config.Provisioner{}, Provider:"", DependsOn:[]string{"null_resource.dep"}, Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [DEBUG] Resource state not found for "data.local_file.foo": data.local_file.foo
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc0002b0550), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc0002b05a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootVariableTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [TRACE] ProviderConfigTransformer: Starting for path: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderConfigTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
2019/02/26 14:28:09 [DEBUG] adding missing provider: local
2019/02/26 14:28:09 [DEBUG] adding missing provider: null
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.MissingProviderTransformer:

data.local_file.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
null_resource.foo - *terraform.NodePlannableResource
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] resource null_resource.dep using provider provider.null
2019/02/26 14:28:09 [DEBUG] resource null_resource.foo using provider provider.null
2019/02/26 14:28:09 [DEBUG] resource data.local_file.foo using provider provider.local
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ProviderTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.PruneProviderTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ParentProviderTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.graphTransformerMulti:

data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ModuleVariableTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RemovedModuleTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: [null_resource.dep]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: [data.local_file.foo]
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.local" references: []
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "provider.null" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CountBoundaryTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProviderTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.CloseProvisionerTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
  provider.null - *terraform.NodeApplyableProvider
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.dep - *terraform.NodePlannableResource
  null_resource.foo - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
  meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:

data.local_file.foo - *terraform.NodePlannableResource
  null_resource.dep - *terraform.NodePlannableResource
  provider.local - *terraform.NodeApplyableProvider
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  null_resource.foo - *terraform.NodePlannableResource
null_resource.dep - *terraform.NodePlannableResource
  provider.null - *terraform.NodeApplyableProvider
null_resource.foo - *terraform.NodePlannableResource
  data.local_file.foo - *terraform.NodePlannableResource
provider.local - *terraform.NodeApplyableProvider
provider.local (close) - *terraform.graphNodeCloseProvider
  data.local_file.foo - *terraform.NodePlannableResource
provider.null - *terraform.NodeApplyableProvider
provider.null (close) - *terraform.graphNodeCloseProvider
  null_resource.foo - *terraform.NodePlannableResource
root - terraform.graphNodeRoot
  meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
  provider.local (close) - *terraform.graphNodeCloseProvider
  provider.null (close) - *terraform.graphNodeCloseProvider
2019/02/26 14:28:09 [DEBUG] Starting graph walk: walkPlan
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "root"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.null (close)" waiting on "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.foo" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.local (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "provider.null (close)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "null_resource.dep" waiting on "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "provider.local (close)" waiting on "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] dag/walk: added edge: "data.local_file.foo" waiting on "provider.local"
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.dep", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.local (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "data.local_file.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "provider.null (close)", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: dependencies changed for "null_resource.foo", sending new deps
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: provider.null
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: provider.local
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInitProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalConfigProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalOpFilter
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalConfigProvider
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: provider.local
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: provider.null
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountCheckComputed
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

null_resource.dep - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Starting...
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Checking: null_resource.dep
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:

null_resource.dep - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.dep": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{}, Primary:(*terraform.InstanceState)(0xc0002b0550), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

null_resource.dep - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

null_resource.dep - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.dep" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

null_resource.dep - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

null_resource.dep - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.dep"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.dep"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.dep': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResource
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalReadState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalDiff
2019-02-26T14:28:09.440-0500 [DEBUG] plugin.terraform-provider-null_v2.0.0_x4: 2019/02/26 14:28:09 [DEBUG] Instance Diff is nil in Diff()
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCheckPreventDestroy
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteDiff
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: null_resource.dep
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountCheckComputed
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

data.local_file.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Starting...
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:

data.local_file.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [DEBUG] Resource state not found for "data.local_file.foo": data.local_file.foo
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

data.local_file.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

data.local_file.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "data.local_file.foo" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

data.local_file.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

data.local_file.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "data.local_file.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.data.local_file.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalReadState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: terraform.EvalNoop
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalReadDataDiff
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteDiff
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: data.local_file.foo
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.local (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.local (close)': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: provider.local (close)
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountCheckComputed
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalIf
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': expanding/walking dynamic subgraph
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ResourceCountTransformer:

null_resource.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Starting...
2019/02/26 14:28:09 [TRACE] OrphanResourceCount: Checking: null_resource.foo
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.OrphanResourceCountTransformer:

null_resource.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [DEBUG] Attaching resource state to "null_resource.foo": &terraform.ResourceState{Type:"null_resource", Dependencies:[]string{"data.local_file.foo"}, Primary:(*terraform.InstanceState)(0xc0002b05a0), Deposed:[]*terraform.InstanceState{}, Provider:"provider.null", mu:sync.Mutex{state:0, sema:0x0}}
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.AttachStateTransformer:

null_resource.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.TargetsTransformer:

null_resource.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [DEBUG] ReferenceTransformer: "null_resource.foo" references: []
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.ReferenceTransformer:

null_resource.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] Graph after step *terraform.RootTransformer:

null_resource.foo - *terraform.NodePlannableResourceInstance
2019/02/26 14:28:09 [TRACE] dag/walk: added new vertex: "null_resource.foo"
2019/02/26 14:28:09 [TRACE] dag/walk: walking "null_resource.foo"
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': walking
2019/02/26 14:28:09 [TRACE] vertex 'root.null_resource.foo': evaluating
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalSequence
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalInterpolate
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalGetProvider
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalValidateResource
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalReadState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalDiff
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCheckPreventDestroy
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteState
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalWriteDiff
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: null_resource.foo
2019/02/26 14:28:09 [TRACE] dag/walk: walking "meta.count-boundary (count boundary fixup)"
2019/02/26 14:28:09 [TRACE] vertex 'root.meta.count-boundary (count boundary fixup)': walking
2019/02/26 14:28:09 [TRACE] dag/walk: walking "provider.null (close)"
2019/02/26 14:28:09 [TRACE] vertex 'root.meta.count-boundary (count boundary fixup)': evaluating
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': walking
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: meta.count-boundary (count boundary fixup)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundaryGlobal
2019/02/26 14:28:09 [TRACE] vertex 'root.provider.null (close)': evaluating
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "null_resource.dep.0", replace "null_resource.dep"
2019/02/26 14:28:09 [TRACE] EvalCountFixZeroOneBoundaryGlobal: count 1, search "null_resource.foo.0", replace "null_resource.foo"
2019/02/26 14:28:09 [TRACE] [walkPlan] Entering eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: meta.count-boundary (count boundary fixup)
2019/02/26 14:28:09 [TRACE] root: eval: *terraform.EvalCloseProvider
2019/02/26 14:28:09 [TRACE] [walkPlan] Exiting eval tree: provider.null (close)
2019/02/26 14:28:09 [TRACE] dag/walk: walking "root"
2019/02/26 14:28:09 [TRACE] vertex 'root.root': walking

An execution plan has been generated and is shown below.
2019/02/26 14:28:09 [DEBUG] command: asking for input: "Do you want to perform these actions?"
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
 <= read (data resources)

Terraform will perform the following actions:

 <= data.local_file.foo
      id:                <computed>
      content:           <computed>
      filename:          "/Users/sethvargo/Desktop/test/file.txt"

-/+ null_resource.foo (new resource required)
      id:                "3568275512839256473" => <computed> (forces new resource)
      triggers.%:        "1" => <computed> (forces new resource)
      triggers.contents: "" => ""


Plan: 1 to add, 0 to change, 1 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

Expected Behavior

The upstream resource should not detect changes since the data source has not changed.

Actual Behavior

The upstream resource is reprovisioned because it thinks the data source has changed (even though it hasn't).

Steps to Reproduce

  1. touch file.txt
  2. terraform apply -auto-approve
  3. terraform plan (see changes)

Additional Context

I expect data sources to be read each iteration, but if the contents of the data source haven't changed, dependent resources should remain as-is. Also, removing the depends_on clause from the local_file resource in this example stops the issue.

@apparentlymart
Copy link
Contributor

Hi @sethvargo,

This is describing the same problem as #11806, so I'm going to close this to consolidate the discussion over there.

The summary is that depends_on is not currently compatible with reasonable use of data resources because it forces the data source to always be read during the apply phase, not during the plan phase. Because Terraform doesn't yet know that the values haven't changed during planning, it must conservatively assume that they will change when it plans changes elsewhere.

For now, the answer is unfortunately to never use depends_on with data resources. Implicit dependencies via references work as expected because Terraform can see that the referenced values haven't changed, but depends_on doesn't give enough information for Terraform to determine what aspect of null_resource.dep is the dependency in order to verify that it hasn't changed.

There's some discussion in the other issue (linking to #17034, the latest proposal) about how this situation might improve in future, with a combination of changing some of the underlying assumptions and also removing refresh as a workflow step separate from planning so that there is more information available when deciding how to handle depends_on.

@ghost
Copy link

ghost commented Mar 29, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants