Skip to content

Instantly share code, notes, and snippets.

@dvishniakov
Created April 13, 2018 18:32
Show Gist options
  • Save dvishniakov/58ab1fef3126665d85c63f13803b3b05 to your computer and use it in GitHub Desktop.
Save dvishniakov/58ab1fef3126665d85c63f13803b3b05 to your computer and use it in GitHub Desktop.
Running an empty destroy with an interpolated output in module fails
2018/04/13 18:25:25 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
2018/04/13 18:25:25 [INFO] Go runtime version: go1.10.1
2018/04/13 18:25:25 [INFO] CLI args: []string{"/bin/terraform", "apply", "-input=false", "terraform.plan"}
2018/04/13 18:25:25 [DEBUG] Attempting to open CLI config file: EDITED
2018/04/13 18:25:25 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/04/13 18:25:25 [INFO] CLI command args: []string{"apply", "-input=false", "terraform.plan"}
2018/04/13 18:25:25 [INFO] command: initializing local backend from plan (not set)
2018/04/13 18:25:25 [DEBUG] checking for provider in "."
2018/04/13 18:25:25 [DEBUG] checking for provider in "/bin"
2018/04/13 18:25:25 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2018/04/13 18:25:25 [DEBUG] found provider "terraform-provider-aws_v1.14.1_x4"
2018/04/13 18:25:25 [DEBUG] found valid plugin: "aws", "1.14.1", "EDITED"
2018/04/13 18:25:25 [DEBUG] checking for provisioner in "."
2018/04/13 18:25:25 [DEBUG] checking for provisioner in "/bin"
2018/04/13 18:25:25 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2018/04/13 18:25:25 [TRACE] Preserving existing state lineage "51745822-073b-a186-187f-5d4e51221413"
2018/04/13 18:25:25 [INFO] command: backend initialized: *local.Local
2018/04/13 18:25:25 [DEBUG] checking for provider in "."
2018/04/13 18:25:25 [DEBUG] checking for provider in "/bin"
2018/04/13 18:25:25 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2018/04/13 18:25:25 [DEBUG] found provider "terraform-provider-aws_v1.14.1_x4"
2018/04/13 18:25:25 [DEBUG] found valid plugin: "aws", "1.14.1", "EDITED"
2018/04/13 18:25:25 [DEBUG] checking for provisioner in "."
2018/04/13 18:25:25 [DEBUG] checking for provisioner in "/bin"
2018/04/13 18:25:25 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2018/04/13 18:25:25 [INFO] backend/local: starting Apply operation
2018/04/13 18:25:25 [TRACE] Preserving existing state lineage "51745822-073b-a186-187f-5d4e51221413"
2018/04/13 18:25:25 [TRACE] Preserving existing state lineage "51745822-073b-a186-187f-5d4e51221413"
2018/04/13 18:25:25 [INFO] terraform: building graph: GraphTypeApply
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.DiffTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.OrphanOutputTransformer:
2018/04/13 18:25:25 [TRACE] AttachResourceConfigTransformer: Beginning...
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.AttachStateTransformer:
2018/04/13 18:25:25 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/04/13 18:25:25 [TRACE] ProviderConfigTransformer: Starting for path: [cluster]
2018/04/13 18:25:25 [TRACE] Attach provider request: []string{} aws
2018/04/13 18:25:25 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"aws", Alias:"", Version:"~> 1.14", RawConfig:(*config.RawConfig)(0xc42041ab60)}
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.ProviderConfigTransformer:
provider.aws - *terraform.NodeApplyableProvider
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.MissingProviderTransformer:
provider.aws - *terraform.NodeApplyableProvider
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.ProviderTransformer:
provider.aws - *terraform.NodeApplyableProvider
2018/04/13 18:25:25 [DEBUG] pruning unused provider provider.aws
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.PruneProviderTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.ParentProviderTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.graphTransformerMulti:
2018/04/13 18:25:25 [TRACE] DestroyEdgeTransformer: Beginning destroy edge transformation...
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.DestroyEdgeTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.MissingProvisionerTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.ProvisionerTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.RootVariableTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.LocalTransformer:
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.OutputTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Module []string{"cluster"} has no variables, skipping.
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.RemovedModuleTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [DEBUG] ReferenceTransformer: "module.cluster.output.cluster_output" references: []
2018/04/13 18:25:25 [DEBUG] ReferenceTransformer: "module.cluster.output.app_output" references: []
2018/04/13 18:25:25 [DEBUG] ReferenceTransformer: "output.main_cluster_output" references: [module.cluster.output.cluster_output]
2018/04/13 18:25:25 [DEBUG] ReferenceTransformer: "output.main_app_output" references: [module.cluster.output.app_output]
2018/04/13 18:25:25 [DEBUG] ReferenceTransformer: "output.cluster_output" references: []
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.ReferenceTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.DestroyValueReferenceTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] creating module.cluster.output.cluster_output (destroy)
2018/04/13 18:25:25 [TRACE] module.cluster.output.cluster_output (destroy) depends on output.main_cluster_output
2018/04/13 18:25:25 [TRACE] module.cluster.output.cluster_output (destroy) depends on module.cluster.output.cluster_output
2018/04/13 18:25:25 [TRACE] creating module.cluster.output.app_output (destroy)
2018/04/13 18:25:25 [TRACE] module.cluster.output.app_output (destroy) depends on output.main_app_output
2018/04/13 18:25:25 [TRACE] module.cluster.output.app_output (destroy) depends on module.cluster.output.app_output
2018/04/13 18:25:25 [TRACE] creating output.main_cluster_output (destroy)
2018/04/13 18:25:25 [TRACE] output.main_cluster_output (destroy) depends on module.cluster.output.cluster_output (destroy)
2018/04/13 18:25:25 [TRACE] output.main_cluster_output (destroy) depends on output.main_cluster_output
2018/04/13 18:25:25 [TRACE] creating output.main_app_output (destroy)
2018/04/13 18:25:25 [TRACE] output.main_app_output (destroy) depends on module.cluster.output.app_output (destroy)
2018/04/13 18:25:25 [TRACE] output.main_app_output (destroy) depends on output.main_app_output
2018/04/13 18:25:25 [TRACE] creating output.cluster_output (destroy)
2018/04/13 18:25:25 [TRACE] output.cluster_output (destroy) depends on output.cluster_output
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.DestroyOutputTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.cluster_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.PruneUnusedValuesTransformer:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.graphTransformerMulti:
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.CountBoundaryTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.TargetsTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.CloseProviderTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.CloseProvisionerTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.RootTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
2018/04/13 18:25:25 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
output.main_app_output - *terraform.NodeApplyableOutput
module.cluster.output.app_output - *terraform.NodeApplyableOutput
output.main_app_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.app_output (destroy) - *terraform.NodeDestroyableOutput
output.main_cluster_output - *terraform.NodeApplyableOutput
module.cluster.output.cluster_output - *terraform.NodeApplyableOutput
output.main_cluster_output (destroy) - *terraform.NodeDestroyableOutput
module.cluster.output.cluster_output (destroy) - *terraform.NodeDestroyableOutput
2018/04/13 18:25:25 [DEBUG] Starting graph walk: walkDestroy
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "output.cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "module.cluster.output.cluster_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "module.cluster.output.app_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "output.main_app_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "output.main_app_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "output.main_cluster_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "module.cluster.output.cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "output.main_cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added new vertex: "module.cluster.output.app_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "output.main_app_output" waiting on "module.cluster.output.app_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "module.cluster.output.cluster_output (destroy)" waiting on "output.main_cluster_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "module.cluster.output.app_output (destroy)" waiting on "output.main_app_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "output.cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "output.main_app_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "output.main_cluster_output" waiting on "module.cluster.output.cluster_output"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "output.main_app_output (destroy)" waiting on "module.cluster.output.app_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "output.main_cluster_output (destroy)" waiting on "module.cluster.output.cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "output.main_cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "output.main_cluster_output", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "output.main_app_output (destroy)", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "output.main_cluster_output (destroy)", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "output.main_app_output", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "module.cluster.output.cluster_output (destroy)", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: dependencies changed for "module.cluster.output.app_output (destroy)", sending new deps
2018/04/13 18:25:25 [TRACE] dag/walk: walking "module.cluster.output.cluster_output"
2018/04/13 18:25:25 [TRACE] vertex 'root.module.cluster.output.cluster_output': walking
2018/04/13 18:25:25 [TRACE] dag/walk: walking "output.cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: walking "module.cluster.output.app_output"
2018/04/13 18:25:25 [TRACE] vertex 'root.module.cluster.output.app_output': walking
2018/04/13 18:25:25 [TRACE] vertex 'root.module.cluster.output.app_output': evaluating
2018/04/13 18:25:25 [TRACE] [walkDestroy] Entering eval tree: module.cluster.output.app_output
2018/04/13 18:25:25 [TRACE] root.cluster: eval: *terraform.EvalSequence
2018/04/13 18:25:25 [TRACE] root.cluster: eval: terraform.EvalNoop
2018/04/13 18:25:25 [TRACE] root.cluster: eval: *terraform.EvalOpFilter
2018/04/13 18:25:25 [TRACE] root.cluster: eval: *terraform.EvalWriteOutput
2018/04/13 18:25:25 [ERROR] root.cluster: eval: *terraform.EvalWriteOutput, err: variable "default_ecr" is nil, but no error was reported
2018/04/13 18:25:25 [ERROR] root.cluster: eval: *terraform.EvalOpFilter, err: variable "default_ecr" is nil, but no error was reported
2018/04/13 18:25:25 [ERROR] root.cluster: eval: *terraform.EvalSequence, err: variable "default_ecr" is nil, but no error was reported
2018/04/13 18:25:25 [TRACE] [walkDestroy] Exiting eval tree: module.cluster.output.app_output
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "output.main_app_output"
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "module.cluster.output.app_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "output.main_app_output (destroy)"
2018/04/13 18:25:25 [TRACE] vertex 'root.output.cluster_output (destroy)': walking
2018/04/13 18:25:25 [TRACE] vertex 'root.output.cluster_output (destroy)': evaluating
2018/04/13 18:25:25 [TRACE] [walkDestroy] Entering eval tree: output.cluster_output (destroy)
2018/04/13 18:25:25 [TRACE] root: eval: *terraform.EvalDeleteOutput
2018/04/13 18:25:25 [TRACE] vertex 'root.module.cluster.output.cluster_output': evaluating
2018/04/13 18:25:25 [TRACE] [walkDestroy] Entering eval tree: module.cluster.output.cluster_output
2018/04/13 18:25:25 [TRACE] root.cluster: eval: *terraform.EvalSequence
2018/04/13 18:25:25 [TRACE] root.cluster: eval: terraform.EvalNoop
2018/04/13 18:25:25 [TRACE] root.cluster: eval: *terraform.EvalOpFilter
2018/04/13 18:25:25 [TRACE] root.cluster: eval: *terraform.EvalWriteOutput
2018/04/13 18:25:25 [ERROR] root.cluster: eval: *terraform.EvalWriteOutput, err: variable "default_cluster" is nil, but no error was reported
2018/04/13 18:25:25 [ERROR] root.cluster: eval: *terraform.EvalOpFilter, err: variable "default_cluster" is nil, but no error was reported
2018/04/13 18:25:25 [ERROR] root.cluster: eval: *terraform.EvalSequence, err: variable "default_cluster" is nil, but no error was reported
2018/04/13 18:25:25 [TRACE] [walkDestroy] Exiting eval tree: module.cluster.output.cluster_output
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "output.main_cluster_output"
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "module.cluster.output.cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "output.main_cluster_output (destroy)"
2018/04/13 18:25:25 [TRACE] [walkDestroy] Exiting eval tree: output.cluster_output (destroy)
2018/04/13 18:25:25 [TRACE] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2018/04/13 18:25:25 [TRACE] Preserving existing state lineage "51745822-073b-a186-187f-5d4e51221413"
2018/04/13 18:25:25 [TRACE] Preserving existing state lineage "51745822-073b-a186-187f-5d4e51221413"
2018/04/13 18:25:25 [TRACE] Preserving existing state lineage "51745822-073b-a186-187f-5d4e51221413"

Error: Error applying plan:
2018/04/13 18:25:25 [DEBUG] plugin: waiting for all plugin processes to complete...
2 error(s) occurred:
* module.cluster.output.cluster_output: variable "default_cluster" is nil, but no error was reported
* module.cluster.output.app_output: variable "default_ecr" is nil, but no error was reported
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment