Skip to content

Instantly share code, notes, and snippets.

@robzr
Created May 4, 2021 18:20
Show Gist options
  • Save robzr/d788a443f2b950f648fe1a2cedfb3f79 to your computer and use it in GitHub Desktop.
Save robzr/d788a443f2b950f648fe1a2cedfb3f79 to your computer and use it in GitHub Desktop.
Terraform debug log demonstrating broken `base_rfc3339` attribute on `time_rotating` resource
2021-05-04T11:19:25.887-0700 [DEBUG] Adding temp file log sink: /var/folders/ks/qdjm0w8j2rn556v32lqqhqzc0000gn/T/terraform-log622136983
2021-05-04T11:19:25.887-0700 [INFO] Terraform version: 0.15.1
2021-05-04T11:19:25.887-0700 [INFO] Go runtime version: go1.16.3
2021-05-04T11:19:25.887-0700 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2021-05-04T11:19:25.887-0700 [DEBUG] Attempting to open CLI config file: /Users/robzr/.terraformrc
2021-05-04T11:19:25.887-0700 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-05-04T11:19:25.887-0700 [DEBUG] checking for credentials in "/Users/robzr/.terraform.d/plugins"
2021-05-04T11:19:25.887-0700 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021-05-04T11:19:25.887-0700 [DEBUG] will search for provider plugins in /Users/robzr/.terraform.d/plugins
2021-05-04T11:19:25.887-0700 [DEBUG] ignoring non-existing provider search directory /Users/robzr/Library/Application Support/io.terraform/plugins
2021-05-04T11:19:25.887-0700 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2021-05-04T11:19:25.888-0700 [INFO] CLI command args: []string{"apply"}
2021-05-04T11:19:25.888-0700 [DEBUG] New state was assigned lineage "97a2d2b6-675d-9bd1-8430-25e1c1aacae0"
2021-05-04T11:19:25.946-0700 [DEBUG] checking for provisioner in "."
2021-05-04T11:19:25.953-0700 [DEBUG] checking for provisioner in "/usr/local/bin"
2021-05-04T11:19:25.953-0700 [DEBUG] checking for provisioner in "/Users/robzr/.terraform.d/plugins"
2021-05-04T11:19:25.953-0700 [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
2021-05-04T11:19:25.953-0700 [INFO] backend/local: starting Apply operation
2021-05-04T11:19:25.955-0700 [DEBUG] created provider logger: level=debug
2021-05-04T11:19:25.955-0700 [INFO] provider: configuring client automatic mTLS
2021-05-04T11:19:25.980-0700 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5]
2021-05-04T11:19:25.983-0700 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5 pid=19570
2021-05-04T11:19:25.983-0700 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5
2021-05-04T11:19:25.991-0700 [INFO] provider.terraform-provider-time_v0.7.1_x5: configuring server automatic mTLS: timestamp=2021-05-04T11:19:25.990-0700
2021-05-04T11:19:26.016-0700 [DEBUG] provider.terraform-provider-time_v0.7.1_x5: plugin address: network=unix address=/var/folders/ks/qdjm0w8j2rn556v32lqqhqzc0000gn/T/plugin894656849 timestamp=2021-05-04T11:19:26.016-0700
2021-05-04T11:19:26.016-0700 [DEBUG] provider: using plugin: version=5
2021-05-04T11:19:26.050-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-05-04T11:19:26.051-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5 pid=19570
2021-05-04T11:19:26.051-0700 [DEBUG] provider: plugin exited
2021-05-04T11:19:26.051-0700 [DEBUG] created provider logger: level=debug
2021-05-04T11:19:26.051-0700 [INFO] provider: configuring client automatic mTLS
2021-05-04T11:19:26.076-0700 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5]
2021-05-04T11:19:26.078-0700 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=19571
2021-05-04T11:19:26.079-0700 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5
2021-05-04T11:19:26.087-0700 [INFO] provider.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-05-04T11:19:26.087-0700
2021-05-04T11:19:26.113-0700 [DEBUG] provider.terraform-provider-null_v3.1.0_x5: plugin address: address=/var/folders/ks/qdjm0w8j2rn556v32lqqhqzc0000gn/T/plugin438106030 network=unix timestamp=2021-05-04T11:19:26.113-0700
2021-05-04T11:19:26.113-0700 [DEBUG] provider: using plugin: version=5
2021-05-04T11:19:26.145-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-05-04T11:19:26.146-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/darwin_amd64/terraform-provider-null_v3.1.0_x5 pid=19571
2021-05-04T11:19:26.146-0700 [DEBUG] provider: plugin exited
2021-05-04T11:19:26.146-0700 [INFO] terraform: building graph: GraphTypeValidate
2021-05-04T11:19:26.146-0700 [DEBUG] ProviderTransformer: "time_rotating.this" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/time"]
2021-05-04T11:19:26.147-0700 [DEBUG] ReferenceTransformer: "time_rotating.this" references: []
2021-05-04T11:19:26.147-0700 [DEBUG] ReferenceTransformer: "output.rotation_rfc3339" references: [time_rotating.this]
2021-05-04T11:19:26.147-0700 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/time\"]" references: []
2021-05-04T11:19:26.147-0700 [DEBUG] Starting graph walk: walkValidate
2021-05-04T11:19:26.147-0700 [DEBUG] created provider logger: level=debug
2021-05-04T11:19:26.147-0700 [INFO] provider: configuring client automatic mTLS
2021-05-04T11:19:26.172-0700 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5]
2021-05-04T11:19:26.175-0700 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5 pid=19572
2021-05-04T11:19:26.175-0700 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5
2021-05-04T11:19:26.183-0700 [INFO] provider.terraform-provider-time_v0.7.1_x5: configuring server automatic mTLS: timestamp=2021-05-04T11:19:26.183-0700
2021-05-04T11:19:26.208-0700 [DEBUG] provider.terraform-provider-time_v0.7.1_x5: plugin address: address=/var/folders/ks/qdjm0w8j2rn556v32lqqhqzc0000gn/T/plugin055474611 network=unix timestamp=2021-05-04T11:19:26.208-0700
2021-05-04T11:19:26.208-0700 [DEBUG] provider: using plugin: version=5
╷
│ Error: Unsupported argument
│ 
│  on main.tf line 19, in resource "time_rotating" "this":
│  19: base_rfc3339 = "2021-05-04T17:42:13Z"
│ 
│ An argument named "base_rfc3339" is not expected here.
╵
2021-05-04T11:19:26.241-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-05-04T11:19:26.242-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/time/0.7.1/darwin_amd64/terraform-provider-time_v0.7.1_x5 pid=19572
2021-05-04T11:19:26.242-0700 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment