Skip to content

Instantly share code, notes, and snippets.

@marinsalinas
Created May 4, 2020 20:20
Show Gist options
  • Save marinsalinas/8dea55ed182bc9b6991739bf27c5c7a6 to your computer and use it in GitHub Desktop.
Save marinsalinas/8dea55ed182bc9b6991739bf27c5c7a6 to your computer and use it in GitHub Desktop.
Module with count test debug output
2020/05/04 15:19:25 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/04 15:19:25 [INFO] Terraform version: 0.13.0 dev
2020/05/04 15:19:25 [INFO] Go runtime version: go1.14
2020/05/04 15:19:25 [INFO] CLI args: []string{"/Users/marinsalinas/go/bin/terraform", "plan"}
2020/05/04 15:19:25 [DEBUG] Attempting to open CLI config file: /Users/marinsalinas/.terraformrc
2020/05/04 15:19:25 Loading CLI configuration from /Users/marinsalinas/.terraformrc
2020/05/04 15:19:25 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/05/04 15:19:25 [DEBUG] ignoring non-existing provider search directory /Users/marinsalinas/Library/Application Support/io.terraform/plugins
2020/05/04 15:19:25 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2020/05/04 15:19:25 [INFO] CLI command args: []string{"plan"}
2020/05/04 15:19:25 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2020/05/04 15:19:25 [DEBUG] New state was assigned lineage "6b0e1354-ce83-3163-eeca-24fd8d65e631"
2020/05/04 15:19:25 [DEBUG] checking for provisioner in "."
2020/05/04 15:19:25 [DEBUG] checking for provisioner in "/Users/marinsalinas/go/bin"
2020/05/04 15:19:25 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory
2020/05/04 15:19:25 [INFO] backend/local: starting Plan operation
2020-05-04T15:19:25.906-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-04T15:19:25.932-0500 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 args=[.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4]
2020-05-04T15:19:25.946-0500 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 pid=30172
2020-05-04T15:19:25.946-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4
2020-05-04T15:19:27.136-0500 [INFO] plugin.terraform-provider-aws_v2.59.0_x4: configuring server automatic mTLS: timestamp=2020-05-04T15:19:27.136-0500
2020-05-04T15:19:27.161-0500 [DEBUG] plugin.terraform-provider-aws_v2.59.0_x4: plugin address: address=/var/folders/g9/7dp3sdk54xg53vt96g6yv3700000gn/T/plugin920554163 network=unix timestamp=2020-05-04T15:19:27.160-0500
2020-05-04T15:19:27.161-0500 [DEBUG] plugin: using plugin: version=5
2020-05-04T15:19:27.259-0500 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 pid=30172
2020-05-04T15:19:27.259-0500 [DEBUG] plugin: plugin exited
2020/05/04 15:19:27 [INFO] terraform: building graph: GraphTypeValidate
2020/05/04 15:19:27 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/aws"], implied first by module.test.data.aws_region.current
2020/05/04 15:19:27 [DEBUG] ProviderTransformer: "module.test.data.aws_region.current" (*terraform.NodeValidatableResource) needs module.test.provider["registry.terraform.io/hashicorp/aws"].this
2020/05/04 15:19:27 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/aws"]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test (close)" references: []
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test.data.aws_region.current" references: []
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "local.secondary_clusters" references: []
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "var.secondary_cluster" references: []
2020/05/04 15:19:27 [WARN] ReferenceTransformer: reference not found: "count.index"
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test.var.region" references: [local.secondary_clusters]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test.provider[\"registry.terraform.io/hashicorp/aws\"].this" references: [module.test.var.region]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test" references: [local.secondary_clusters]
2020/05/04 15:19:27 [DEBUG] Starting graph walk: walkValidate
2020-05-04T15:19:27.262-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-04T15:19:27.285-0500 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 args=[.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4]
2020-05-04T15:19:27.298-0500 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 pid=30173
2020-05-04T15:19:27.298-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4
2020-05-04T15:19:27.324-0500 [INFO] plugin.terraform-provider-aws_v2.59.0_x4: configuring server automatic mTLS: timestamp=2020-05-04T15:19:27.324-0500
2020-05-04T15:19:27.355-0500 [DEBUG] plugin: using plugin: version=5
2020-05-04T15:19:27.355-0500 [DEBUG] plugin.terraform-provider-aws_v2.59.0_x4: plugin address: network=unix address=/var/folders/g9/7dp3sdk54xg53vt96g6yv3700000gn/T/plugin205600944 timestamp=2020-05-04T15:19:27.355-0500
2020-05-04T15:19:27.509-0500 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 pid=30173
2020-05-04T15:19:27.509-0500 [DEBUG] plugin: plugin exited
2020/05/04 15:19:27 [INFO] backend/local: plan calling Refresh
2020/05/04 15:19:27 [INFO] terraform: building graph: GraphTypeRefresh
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
2020/05/04 15:19:27 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/aws"], implied first by module.test.data.aws_region.current
persisted to local or remote state storage.
2020/05/04 15:19:27 [DEBUG] ProviderTransformer: "module.test.data.aws_region.current" (*terraform.nodeExpandRefreshableDataResource) needs module.test.provider["registry.terraform.io/hashicorp/aws"].this
2020/05/04 15:19:27 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/aws"]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test.data.aws_region.current" references: []
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "var.secondary_cluster" references: []
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "local.secondary_clusters" references: []
2020/05/04 15:19:27 [WARN] ReferenceTransformer: reference not found: "count.index"
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test.var.region" references: [local.secondary_clusters]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test.provider[\"registry.terraform.io/hashicorp/aws\"].this" references: [module.test.var.region]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test" references: [local.secondary_clusters]
2020/05/04 15:19:27 [DEBUG] ReferenceTransformer: "module.test (close)" references: []
2020/05/04 15:19:27 [DEBUG] Starting graph walk: walkRefresh
2020-05-04T15:19:27.511-0500 [INFO] plugin: configuring client automatic mTLS
2020-05-04T15:19:27.537-0500 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 args=[.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4]
2020-05-04T15:19:27.551-0500 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 pid=30177
2020-05-04T15:19:27.551-0500 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4
2020-05-04T15:19:27.580-0500 [INFO] plugin.terraform-provider-aws_v2.59.0_x4: configuring server automatic mTLS: timestamp=2020-05-04T15:19:27.579-0500
2020-05-04T15:19:27.613-0500 [DEBUG] plugin: using plugin: version=5
2020-05-04T15:19:27.613-0500 [DEBUG] plugin.terraform-provider-aws_v2.59.0_x4: plugin address: address=/var/folders/g9/7dp3sdk54xg53vt96g6yv3700000gn/T/plugin279505868 network=unix timestamp=2020-05-04T15:19:27.613-0500
2020-05-04T15:19:27.715-0500 [DEBUG] plugin.terraform-provider-aws_v2.59.0_x4: 2020/05/04 15:19:27 [INFO] No assume_role block read from configuration
2020/05/04 15:19:27 [ERROR] eval: *terraform.EvalConfigProvider, err: Invalid AWS Region:
2020/05/04 15:19:27 [ERROR] eval: *terraform.EvalSequence, err: Invalid AWS Region:
2020/05/04 15:19:27 [ERROR] eval: *terraform.EvalOpFilter, err: Invalid AWS Region:
2020/05/04 15:19:27 [ERROR] eval: *terraform.EvalSequence, err: Invalid AWS Region:
Error: Invalid AWS Region:
on modules/test/main.tf line 3, in provider "aws":
3: provider "aws" {
2020-05-04T15:19:27.720-0500 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.59.0/darwin_amd64/terraform-provider-aws_v2.59.0_x4 pid=30177
2020-05-04T15:19:27.720-0500 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment