Skip to content

Instantly share code, notes, and snippets.

@backerman
Created July 21, 2019 23:29
Show Gist options
  • Save backerman/72b6606b513e7880e11c2043bc2c3266 to your computer and use it in GitHub Desktop.
Save backerman/72b6606b513e7880e11c2043bc2c3266 to your computer and use it in GitHub Desktop.
Debug log for Terraform Azure storage container naming bug
2019/07/21 19:27:57 [INFO] Terraform version: 0.12.4
2019/07/21 19:27:57 [INFO] Go runtime version: go1.12.7
2019/07/21 19:27:57 [INFO] CLI args: []string{"/usr/bin/terraform", "validate"}
2019/07/21 19:27:57 [DEBUG] Attempting to open CLI config file: /home/bsa3/.terraformrc
2019/07/21 19:27:57 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/07/21 19:27:57 [INFO] CLI command args: []string{"validate"}
2019/07/21 19:27:57 [DEBUG] checking for provider in "."
2019/07/21 19:27:57 [DEBUG] checking for provider in "/usr/bin"
2019/07/21 19:27:57 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2019/07/21 19:27:57 [DEBUG] found provider "terraform-provider-azurerm_v1.31.0_x4"
2019/07/21 19:27:57 [DEBUG] found valid plugin: "azurerm", "1.31.0", "/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4"
2019/07/21 19:27:57 [DEBUG] checking for provisioner in "."
2019/07/21 19:27:57 [DEBUG] checking for provisioner in "/usr/bin"
2019/07/21 19:27:57 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2019-07-21T19:27:57.797-0400 [INFO] plugin: configuring client automatic mTLS
2019-07-21T19:27:57.821-0400 [DEBUG] plugin: starting plugin: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4 args=[/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4]
2019-07-21T19:27:57.822-0400 [DEBUG] plugin: plugin started: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4 pid=10256
2019-07-21T19:27:57.822-0400 [DEBUG] plugin: waiting for RPC address: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4
2019-07-21T19:27:57.836-0400 [INFO] plugin.terraform-provider-azurerm_v1.31.0_x4: configuring server automatic mTLS: timestamp=2019-07-21T19:27:57.836-0400
2019-07-21T19:27:57.865-0400 [DEBUG] plugin.terraform-provider-azurerm_v1.31.0_x4: plugin address: address=/tmp/plugin291723039 network=unix timestamp=2019-07-21T19:27:57.865-0400
2019-07-21T19:27:57.865-0400 [DEBUG] plugin: using plugin: version=5
2019-07-21T19:27:57.944-0400 [DEBUG] plugin: plugin process exited: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4 pid=10256
2019-07-21T19:27:57.944-0400 [DEBUG] plugin: plugin exited
2019/07/21 19:27:57 [INFO] terraform: building graph: GraphTypeValidate
2019/07/21 19:27:57 [DEBUG] ProviderTransformer: "azurerm_resource_group.rg" (*terraform.NodeValidatableResource) needs provider.azurerm
2019/07/21 19:27:57 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: [var.location]
2019/07/21 19:27:57 [DEBUG] ReferenceTransformer: "azurerm_storage_account.sa" references: [var.location azurerm_resource_group.rg]
2019/07/21 19:27:57 [DEBUG] ReferenceTransformer: "azurerm_storage_container.website" references: [azurerm_resource_group.rg azurerm_storage_account.sa]
2019/07/21 19:27:57 [DEBUG] ReferenceTransformer: "var.location" references: []
2019/07/21 19:27:57 [DEBUG] ReferenceTransformer: "provider.azurerm" references: []
2019/07/21 19:27:57 [DEBUG] Starting graph walk: walkValidate
2019-07-21T19:27:57.946-0400 [INFO] plugin: configuring client automatic mTLS
2019-07-21T19:27:57.972-0400 [DEBUG] plugin: starting plugin: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4 args=[/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4]
2019-07-21T19:27:57.972-0400 [DEBUG] plugin: plugin started: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4 pid=10271
2019-07-21T19:27:57.972-0400 [DEBUG] plugin: waiting for RPC address: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4
2019-07-21T19:27:57.986-0400 [INFO] plugin.terraform-provider-azurerm_v1.31.0_x4: configuring server automatic mTLS: timestamp=2019-07-21T19:27:57.985-0400
2019-07-21T19:27:58.012-0400 [DEBUG] plugin: using plugin: version=5
2019-07-21T19:27:58.012-0400 [DEBUG] plugin.terraform-provider-azurerm_v1.31.0_x4: plugin address: address=/tmp/plugin928956331 network=unix timestamp=2019-07-21T19:27:58.012-0400
2019/07/21 19:27:58 [WARN] <root>: eval: *terraform.EvalValidateResource, non-fatal err: only lowercase alphanumeric characters and hyphens allowed in "name": "$web"
2019/07/21 19:27:58 [ERROR] <root>: eval: *terraform.EvalSequence, err: only lowercase alphanumeric characters and hyphens allowed in "name": "$web"
2019-07-21T19:27:58.115-0400 [DEBUG] plugin: plugin process exited: path=/home/bsa3/src/terraform/azure-poudriere/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.31.0_x4 pid=10271
2019-07-21T19:27:58.116-0400 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment