Skip to content

Instantly share code, notes, and snippets.

View doherty100's full-sized avatar

Roger Doherty (MSFT) doherty100

View GitHub Profile
@doherty100
doherty100 / terraform.tracelog
Created July 1, 2021 22:47
azurerm_storage_share refresh state fails with "context deadline exceeded"
This file has been truncated, but you can view the full file.
2021-07-01T18:38:48.567-0400 [DEBUG] Adding temp file log sink: /tmp/terraform-log852248895
2021-07-01T18:38:48.568-0400 [INFO] Terraform version: 1.0.1
2021-07-01T18:38:48.568-0400 [INFO] Go runtime version: go1.16.4
2021-07-01T18:38:48.568-0400 [INFO] CLI args: []string{"/usr/bin/terraform", "refresh"}
2021-07-01T18:38:48.568-0400 [TRACE] Stdout is a terminal of width 120
2021-07-01T18:38:48.568-0400 [TRACE] Stderr is a terminal of width 120
2021-07-01T18:38:48.568-0400 [TRACE] Stdin is a terminal
2021-07-01T18:38:48.568-0400 [DEBUG] Attempting to open CLI config file: /home/rdoherty/.terraformrc
2021-07-01T18:38:48.568-0400 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-07-01T18:38:48.568-0400 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
@doherty100
doherty100 / terraform.tracelog
Created June 30, 2021 13:23
Issue: Refresh state for azurerm_private_dns_a_record resource fails
This file has been truncated, but you can view the full file.
2021-06-30T09:07:18.005-0400 [DEBUG] Adding temp file log sink: /tmp/terraform-log379282853
2021-06-30T09:07:18.005-0400 [INFO] Terraform version: 1.0.1
2021-06-30T09:07:18.005-0400 [INFO] Go runtime version: go1.16.4
2021-06-30T09:07:18.005-0400 [INFO] CLI args: []string{"/usr/bin/terraform", "refresh"}
2021-06-30T09:07:18.005-0400 [TRACE] Stdout is a terminal of width 138
2021-06-30T09:07:18.005-0400 [TRACE] Stderr is a terminal of width 138
2021-06-30T09:07:18.005-0400 [TRACE] Stdin is a terminal
2021-06-30T09:07:18.005-0400 [DEBUG] Attempting to open CLI config file: /home/roger/.terraformrc
2021-06-30T09:07:18.005-0400 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021-06-30T09:07:18.005-0400 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
@doherty100
doherty100 / deployment.json
Created May 1, 2021 12:24
rd/Microsoft.Resources/EntScale-DiagSec-eastusd575beb4-6510-5fbd-91e6-239d2bbd8d9d
{
"id": "/providers/Microsoft.Management/managementGroups/rd/providers/Microsoft.Resources/deployments/EntScale-DiagSec-eastusd575beb4-6510-5fbd-91e6-239d2bbd8d9d",
"name": "EntScale-DiagSec-eastusd575beb4-6510-5fbd-91e6-239d2bbd8d9d",
"type": "Microsoft.Resources/deployments",
"location": "eastus",
"properties": {
"templateLink": {
"uri": "https://raw.githubusercontent.com/Azure/Enterprise-Scale/main/docs/reference/wingtip/armTemplates/auxiliary/diagnosticsAndSecurity.json",
"contentVersion": "1.0.0.0"
},
2021/04/13 22:57:34 [INFO] Terraform version: 0.14.10
2021/04/13 22:57:34 [INFO] Go runtime version: go1.15.6
2021/04/13 22:57:34 [INFO] CLI args: []string{"/usr/local/terraform/terraform", "apply", "--auto-approve"}
2021/04/13 22:57:34 [DEBUG] Attempting to open CLI config file: /home/roger/.terraformrc
2021/04/13 22:57:34 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/13 22:57:34 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/13 22:57:34 [DEBUG] ignoring non-existing provider search directory /home/roger/.terraform.d/plugins
2021/04/13 22:57:34 [DEBUG] ignoring non-existing provider search directory /home/roger/.local/share/terraform/plugins
2021/04/13 22:57:34 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/04/13 22:57:34 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
This file has been truncated, but you can view the full file.
2021/04/13 15:55:45 [INFO] Terraform version: 0.14.10
2021/04/13 15:55:45 [INFO] Go runtime version: go1.15.6
2021/04/13 15:55:45 [INFO] CLI args: []string{"/usr/bin/terraform", "apply", "--auto-approve"}
2021/04/13 15:55:45 [DEBUG] Attempting to open CLI config file: /home/roger/.terraformrc
2021/04/13 15:55:45 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/04/13 15:55:45 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/04/13 15:55:45 [DEBUG] ignoring non-existing provider search directory /home/roger/.terraform.d/plugins
2021/04/13 15:55:45 [DEBUG] ignoring non-existing provider search directory /home/roger/.local/share/terraform/plugins
2021/04/13 15:55:45 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/04/13 15:55:45 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
@doherty100
doherty100 / terraformtrace.log
Created April 29, 2020 16:34
Trace for issue 6694
This file has been truncated, but you can view the full file.
2020/04/29 12:10:44 [INFO] Terraform version: 0.12.24
2020/04/29 12:10:44 [INFO] Go runtime version: go1.12.13
2020/04/29 12:10:44 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"}
2020/04/29 12:10:44 [DEBUG] Attempting to open CLI config file: /home/roger/.terraformrc
2020/04/29 12:10:44 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020/04/29 12:10:44 [INFO] CLI command args: []string{"apply"}
2020/04/29 12:10:44 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2020/04/29 12:10:44 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2020/04/29 12:10:44 [DEBUG] New state was assigned lineage "41595aa4-3a4f-ea05-7a10-76bee5510b87"
2020/04/29 12:10:44 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
@doherty100
doherty100 / tfdebuglog.txt
Created February 9, 2019 01:43
Terraform debug output (doherty100)
This file has been truncated, but you can view the full file.
2019/02/08 20:22:03 [INFO] Terraform version: 0.11.11 ac4fff416318bf0915a0ab80e062a99ef3724334
2019/02/08 20:22:03 [INFO] Go runtime version: go1.11.1
2019/02/08 20:22:03 [INFO] CLI args: []string{"C:\\Tools\\terraform.exe", "init"}
2019/02/08 20:22:03 [DEBUG] Attempting to open CLI config file: C:\Users\rdoherty\AppData\Roaming\terraform.rc
2019/02/08 20:22:03 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/02/08 20:22:03 [INFO] CLI command args: []string{"init"}
2019/02/08 20:22:03 [DEBUG] command: loading backend config file: C:\Users\rdoherty\OneDrive - Microsoft\Scripts\Terraform\hdi-secure-vnet
2019/02/08 20:22:03 [INFO] command: empty terraform config, returning nil
2019/02/08 20:22:03 [DEBUG] command: no data state file found for backend config
2019/02/08 20:22:03 [DEBUG] New state was assigned lineage "1548b520-c2eb-45d6-b1d3-479dcd777e3e"