Skip to content

Instantly share code, notes, and snippets.

@ralacher
Last active March 3, 2021 18:21
Show Gist options
  • Save ralacher/8e59b8b4daa9f47746f3e691be68737f to your computer and use it in GitHub Desktop.
Save ralacher/8e59b8b4daa9f47746f3e691be68737f to your computer and use it in GitHub Desktop.
Terraform v0.14.7 crash.log
2021/03/03 17:06:12 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 17:06:12 [INFO] Go runtime version: go1.16
2021/03/03 17:06:12 [INFO] CLI args: []string{"/usr/bin/terraform", "apply"}
2021/03/03 17:06:12 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 17:06:12 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 17:06:12 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 17:06:12 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 17:06:12 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 17:06:12 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 17:06:12 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 17:06:12 [INFO] CLI command args: []string{"apply"}
2021/03/03 17:06:12 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/03 17:06:12 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/03 17:06:12 [DEBUG] New state was assigned lineage "00fba944-1346-5cd5-7131-786754ff538f"
2021/03/03 17:06:12 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2021/03/03 17:06:12 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/03 17:06:12 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 17:06:12 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 17:06:12 [TRACE] providercache.fillMetaCache: error while scanning directory .terraform/providers: cannot search .terraform/providers/registry.terraform.io: readdirent .terraform/providers/registry.terraform.io: no such file or directory
2021/03/03 17:06:12 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 17:06:12 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 17:06:12 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/azuread v1.4.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/azuread/1.4.0/linux_amd64
2021/03/03 17:06:12 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/azurerm v2.49.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64
2021/03/03 17:06:12 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/azuread/1.4.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/azuread 1.4.0
2021/03/03 17:06:12 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/azurerm 2.49.0
2021/03/03 17:06:18 [WARN] Failed to determine selected providers: 1 error occurred:
* there is no package for registry.terraform.io/hashicorp/azuread 1.4.0 cached in .terraform/providers
2021/03/03 17:06:18 [DEBUG] checking for provisioner in "."
2021/03/03 17:06:18 [DEBUG] checking for provisioner in "/usr/bin"
2021/03/03 17:06:18 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/03 17:06:18 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/03 17:06:18 [INFO] backend/local: starting Apply operation
2021/03/03 17:06:18 [TRACE] backend/local: requesting state manager for workspace "default"
2021/03/03 17:06:18 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/03 17:06:18 [TRACE] backend/local: requesting state lock for workspace "default"
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: no previously-stored snapshot exists
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2021/03/03 17:06:18 [TRACE] backend/local: reading remote state for workspace "default"
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 17:06:18 [TRACE] statemgr.Filesystem: read nil snapshot
2021/03/03 17:06:18 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2021/03/03 17:06:18 [TRACE] backend/local: building context for current working directory
2021/03/03 17:06:18 [DEBUG] backend/local: will prompt for input of unset required variables [location name domain tenant]
2021/03/03 17:06:18 [DEBUG] command: asking for input: "var.domain"
2021/03/03 17:06:28 [DEBUG] command: asking for input: "var.location"
2021/03/03 17:06:30 [DEBUG] command: asking for input: "var.name"
2021/03/03 17:06:33 [DEBUG] command: asking for input: "var.tenant"
2021/03/03 17:06:39 [TRACE] terraform.NewContext: starting
2021/03/03 17:06:39 [TRACE] terraform.NewContext: loading provider schemas
2021/03/03 17:06:39 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/azuread"
2021/03/03 17:06:39 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/azurerm"
2021-03-03T17:06:39.464Z [INFO] plugin: configuring client automatic mTLS
2021-03-03T17:06:39.560Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64/terraform-provider-azurerm_v2.49.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64/terraform-provider-azurerm_v2.49.0_x5]
2021-03-03T17:06:39.571Z [DBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64/terraform-provider-azurerm_v2.49.0_x5 pid=528
2021-03-03T17:06:39.571Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64/terraform-provider-azurerm_v2.49.0_x5
2021-03-03T17:06:42.289Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: unexpected fault address 0xccc640
2021-03-03T17:06:42.290Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: fatal error: fault
2021-03-03T17:06:42.291Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: [signal SIGBUS: bus error code=0x2 addr=0xccc640 pc=0xccc640]
2021-03-03T17:06:42.291Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5:
2021-03-03T17:06:42.291Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: goroutine 1 [running, locked to thread]:
2021-03-03T17:06:42.315Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.throw(0x5710349, 0x5)
2021-03-03T17:06:42.315Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/panic.go:1117 +0x72 fp=0xc000547a08 sp=0xc0005479d8 pc=0x436692
2021-03-03T17:06:42.315Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.sigpanic()
2021-03-03T17:06:42.315Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/signal_unix.go:731 +0x2c8 fp=0xc000547a40 sp=0xc000547a08 pc=0x44d0e8
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: github.com/hashicorp/terraform-plugin-sdk/internal/configs/configschema.init()
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/configs/configschema/internal_validate.go:12 fp=0xc000547a48 sp=0xc000547a40 pc=0xccc640
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.doInit(0x8eb03a0)
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/proc.go:6265 +0xec fp=0xc000547b98 sp=0xc000547a48 pc=0x4469ec
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.doInit(0x8eacf00)
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/proc.go:6242 +0x72 fp=0xc000547ce8 sp=0xc000547b98 pc=0x446972
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.doInit(0x8eb9440)
2021-03-03T17:06:42.322Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/proc.go:6242 +0x72 fp=0xc000547e38 sp=0xc000547ce8 pc=0x446972
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.doInit(0x8ea28c0)
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/proc.go:6242 +0x72 fp=0xc000547f88 sp=0xc000547e38 pc=0x446972
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.main()
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/proc.go:208 +0x205 fp=0xc000547fe0 sp=0xc000547f88 pc=0x438e85
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: runtime.goexit()
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/goenv/versions/1.16.0/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000547fe8 sp=0xc000547fe0 pc=0x46ce61
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5:
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: goroutine 6 [select]:
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: go.opencensus.io/stats/view.(*worker).start(0xc0000f6480)
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/go.opencensus.io/stats/view/worker.go:276 +0xcd
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: created by go.opencensus.io/stats/view.init.0
2021-03-03T17:06:42.323Z [DEBUG] plugin.terraform-provider-azurerm_v2.49.0_x5: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/go.opencensus.io/stats/view/worker.go:34 +0x68
2021/03/03 17:06:42 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2021-03-03T17:06:42.328Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/azurerm/2.49.0/linux_amd64/terraform-provider-azurerm_v2.49.0_x5 pid=528 error="exit status 2"
2021/03/03 17:06:42 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
2021-03-03T17:06:42.390Z [WARN] plugin: plugin failed to exit gracefully
bash-5.0# terraform apply
2021/03/03 18:18:24 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 18:18:24 [INFO] Go runtime version: go1.16
2021/03/03 18:18:24 [INFO] CLI args: []string{"/usr/bin/terraform", "apply"}
2021/03/03 18:18:24 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 18:18:24 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 18:18:24 [INFO] CLI command args: []string{"apply"}
2021/03/03 18:18:24 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/03 18:18:24 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/03 18:18:24 [DEBUG] New state was assigned lineage "f4ebbf73-0b59-fa6a-376a-8271b1fe9781"
2021/03/03 18:18:24 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized
backend)
2021/03/03 18:18:24 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/03 18:18:24 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:18:24 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 18:18:24 [TRACE] providercache.fillMetaCache: error while scanning directory .terraform/providers: cannot search .te
rraform/providers/registry.terraform.io/hashicorp: readdirent .terraform/providers/registry.terraform.io/hashicorp: no such fil
e or directory
2021/03/03 18:18:24 [WARN] Failed to determine selected providers: 1 error occurred:
* there is no package for registry.terraform.io/hashicorp/null 3.1.0 cached in .terraform/providers
2021/03/03 18:18:24 [DEBUG] checking for provisioner in "."
2021/03/03 18:18:24 [DEBUG] checking for provisioner in "/usr/bin"
2021/03/03 18:18:24 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/03 18:18:24 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/03 18:18:24 [INFO] backend/local: starting Apply operation
2021/03/03 18:18:24 [TRACE] backend/local: requesting state manager for workspace "default"
2021/03/03 18:18:24 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/03 18:18:24 [TRACE] backend/local: requesting state lock for workspace "default"
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: no previously-stored snapshot exists
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2021/03/03 18:18:24 [TRACE] backend/local: reading remote state for workspace "default"
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: read nil snapshot
2021/03/03 18:18:24 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2021/03/03 18:18:24 [TRACE] backend/local: building context for current working directory
2021/03/03 18:18:25 [TRACE] terraform.NewContext: starting
2021/03/03 18:18:25 [TRACE] terraform.NewContext: loading provider schemas
2021/03/03 18:18:25 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/null"
2021/03/03 18:18:25 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2021/03/03 18:18:25 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
Error: Could not load plugin
Plugin reinitialization required. Please run "terraform init".
Plugins are external binaries that Terraform uses to access and manipulate
resources. The configuration provided requires plugins which can't be located,
don't satisfy the version constraints, or are otherwise incompatible.
Terraform automatically discovers provider requirements from your
configuration, including providers used in child modules. To see the
requirements and constraints, run "terraform providers".
Failed to instantiate provider "registry.terraform.io/hashicorp/null" to
obtain schema: there is no package for registry.terraform.io/hashicorp/null
3.1.0 cached in .terraform/providers
bash-5.0# terraform apply
2021/03/03 18:18:24 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 18:18:24 [INFO] Go runtime version: go1.16
2021/03/03 18:18:24 [INFO] CLI args: []string{"/usr/bin/terraform", "apply"}
2021/03/03 18:18:24 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 18:18:24 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 18:18:24 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 18:18:24 [INFO] CLI command args: []string{"apply"}
2021/03/03 18:18:24 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/03 18:18:24 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/03 18:18:24 [DEBUG] New state was assigned lineage "f4ebbf73-0b59-fa6a-376a-8271b1fe9781"
2021/03/03 18:18:24 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized
backend)
2021/03/03 18:18:24 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/03 18:18:24 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:18:24 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 18:18:24 [TRACE] providercache.fillMetaCache: error while scanning directory .terraform/providers: cannot search .te
rraform/providers/registry.terraform.io/hashicorp: readdirent .terraform/providers/registry.terraform.io/hashicorp: no such fil
e or directory
2021/03/03 18:18:24 [WARN] Failed to determine selected providers: 1 error occurred:
* there is no package for registry.terraform.io/hashicorp/null 3.1.0 cached in .terraform/providers
2021/03/03 18:18:24 [DEBUG] checking for provisioner in "."
2021/03/03 18:18:24 [DEBUG] checking for provisioner in "/usr/bin"
2021/03/03 18:18:24 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/03 18:18:24 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/03 18:18:24 [INFO] backend/local: starting Apply operation
2021/03/03 18:18:24 [TRACE] backend/local: requesting state manager for workspace "default"
2021/03/03 18:18:24 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/03 18:18:24 [TRACE] backend/local: requesting state lock for workspace "default"
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: no previously-stored snapshot exists
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2021/03/03 18:18:24 [TRACE] backend/local: reading remote state for workspace "default"
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 18:18:24 [TRACE] statemgr.Filesystem: read nil snapshot
2021/03/03 18:18:24 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2021/03/03 18:18:24 [TRACE] backend/local: building context for current working directory
2021/03/03 18:18:25 [TRACE] terraform.NewContext: starting
2021/03/03 18:18:25 [TRACE] terraform.NewContext: loading provider schemas
2021/03/03 18:18:25 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/null"
2021/03/03 18:18:25 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2021/03/03 18:18:25 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
Error: Could not load plugin
Plugin reinitialization required. Please run "terraform init".
Plugins are external binaries that Terraform uses to access and manipulate
resources. The configuration provided requires plugins which can't be located,
don't satisfy the version constraints, or are otherwise incompatible.
Terraform automatically discovers provider requirements from your
configuration, including providers used in child modules. To see the
requirements and constraints, run "terraform providers".
Failed to instantiate provider "registry.terraform.io/hashicorp/null" to
obtain schema: there is no package for registry.terraform.io/hashicorp/null
3.1.0 cached in .terraform/providers
bash-5.0# terraform apply
2021/03/03 18:19:27 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 18:19:27 [INFO] Go runtime version: go1.16
2021/03/03 18:19:27 [INFO] CLI args: []string{"/usr/bin/terraform", "apply"}
2021/03/03 18:19:27 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 18:19:27 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 18:19:27 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 18:19:27 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 18:19:27 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 18:19:27 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 18:19:27 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 18:19:27 [INFO] CLI command args: []string{"apply"}
2021/03/03 18:19:27 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/03 18:19:27 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/03 18:19:27 [DEBUG] New state was assigned lineage "a2947c83-9afc-ae5a-ab19-f48a56a49231"
2021/03/03 18:19:27 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2021/03/03 18:19:27 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/03 18:19:27 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:19:27 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 18:19:27 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.1.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64
2021/03/03 18:19:27 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.1.0
2021/03/03 18:19:28 [DEBUG] checking for provisioner in "."
2021/03/03 18:19:28 [DEBUG] checking for provisioner in "/usr/bin"
2021/03/03 18:19:28 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/03 18:19:28 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/03 18:19:28 [INFO] backend/local: starting Apply operation
2021/03/03 18:19:28 [TRACE] backend/local: requesting state manager for workspace "default"
2021/03/03 18:19:28 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/03 18:19:28 [TRACE] backend/local: requesting state lock for workspace "default"
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: no previously-stored snapshot exists
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2021/03/03 18:19:28 [TRACE] backend/local: reading remote state for workspace "default"
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 18:19:28 [TRACE] statemgr.Filesystem: read nil snapshot
2021/03/03 18:19:28 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2021/03/03 18:19:28 [TRACE] backend/local: building context for current working directory
2021/03/03 18:19:28 [TRACE] terraform.NewContext: starting
2021/03/03 18:19:28 [TRACE] terraform.NewContext: loading provider schemas
2021/03/03 18:19:28 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/null"
2021-03-03T18:19:28.703Z [INFO] plugin: configuring client automatic mTLS
2021-03-03T18:19:28.808Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5]
2021-03-03T18:19:28.867Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=982
2021-03-03T18:19:28.867Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5
2021-03-03T18:19:30.200Z [INFO] plugin.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-03-03T18:19:30.200Z
2021-03-03T18:19:30.285Z [DEBUG] plugin.terraform-provider-null_v3.1.0_x5: plugin address: address=/tmp/plugin434315757 network=unix timestamp=2021-03-03T18:19:30.285Z
2021-03-03T18:19:30.285Z [DEBUG] plugin: using plugin: version=5
2021/03/03 18:19:30 [TRACE] GRPCProvider: GetSchema
2021-03-03T18:19:30.406Z [TRACE] plugin.stdio: waiting for stdio data
2021/03/03 18:19:30 [TRACE] GRPCProvider: Close
2021-03-03T18:19:30.413Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-03T18:19:30.421Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=982
2021-03-03T18:19:30.421Z [DEBUG] plugin: plugin exited
2021/03/03 18:19:30 [TRACE] terraform.NewContext: complete
2021/03/03 18:19:30 [TRACE] backend/local: finished building terraform.Context
2021/03/03 18:19:30 [TRACE] backend/local: requesting interactive input, if necessary
2021/03/03 18:19:30 [TRACE] Context.Input: Prompting for provider arguments
2021/03/03 18:19:30 [TRACE] Context.Input: Provider provider.null declared at main.tf:1,1-16
2021/03/03 18:19:30 [TRACE] Context.Input: Input for provider.null: map[string]cty.Value{}
2021/03/03 18:19:30 [TRACE] backend/local: running validation operation
2021/03/03 18:19:30 [INFO] terraform: building graph: GraphTypeValidate
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/03/03 18:19:30 [TRACE] ConfigTransformer: Starting for path:
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
null_resource.cluster - *terraform.NodeValidatableResource
------
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.StateTransformer
2021/03/03 18:19:30 [TRACE] StateTransformer: state is empty, so nothing to do
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/03/03 18:19:30 [TRACE] AttachResourceConfigTransformer: attaching to "null_resource.cluster" (*terraform.NodeValidatableResource) config from main.tf:3,1-35
2021/03/03 18:19:30 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to null_resource.cluster
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/03/03 18:19:30 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/hashicorp/null\"]" provider configuration from main.tf:1,1-16
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/03/03 18:19:30 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/null"] serving null_resource.cluster
2021/03/03 18:19:30 [DEBUG] ProviderTransformer: "null_resource.cluster" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/03/03 18:19:30 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/03/03 18:19:30 [TRACE] AttachSchemaTransformer: attaching resource schema to null_resource.cluster
2021/03/03 18:19:30 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/03/03 18:19:30 [DEBUG] ReferenceTransformer: "null_resource.cluster" references: []
2021/03/03 18:19:30 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021/03/03 18:19:30 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/03/03 18:19:30 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeValidatableResource
null_resource.cluster - *terraform.NodeValidatableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster - *terraform.NodeValidatableResource
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021/03/03 18:19:30 [DEBUG] Starting graph walk: walkValidate
2021/03/03 18:19:30 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/null\"]"
2021/03/03 18:19:30 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": starting visit (*terraform.NodeApplyableProvider)
2021-03-03T18:19:30.494Z [INFO] plugin: configuring client automatic mTLS
2021-03-03T18:19:30.589Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5]
2021-03-03T18:19:30.601Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=995
2021-03-03T18:19:30.601Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5
2021-03-03T18:19:31.526Z [INFO] plugin.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-03-03T18:19:31.526Z
2021-03-03T18:19:31.618Z [DEBUG] plugin.terraform-provider-null_v3.1.0_x5: plugin address: address=/tmp/plugin470420906 network=unix timestamp=2021-03-03T18:19:31.618Z
2021-03-03T18:19:31.618Z [DEBUG] plugin: using plugin: version=5
2021/03/03 18:19:31 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/null\"]" provider for provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:31 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/null"]: using explicit config only
2021/03/03 18:19:31 [TRACE] GRPCProvider: GetSchema
2021-03-03T18:19:31.735Z [TRACE] plugin.stdio: waiting for stdio data
2021/03/03 18:19:31 [TRACE] GRPCProvider: PrepareProviderConfig
2021/03/03 18:19:31 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": visit complete
2021/03/03 18:19:31 [TRACE] dag/walk: visiting "null_resource.cluster"
2021/03/03 18:19:31 [TRACE] vertex "null_resource.cluster": starting visit (*terraform.NodeValidatableResource)
2021/03/03 18:19:31 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/03/03 18:19:31 [TRACE] vertex "null_resource.cluster": visit complete
2021/03/03 18:19:31 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2021/03/03 18:19:31 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2021/03/03 18:19:31 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2021/03/03 18:19:31 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/null\"] (close)"
2021/03/03 18:19:31 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021/03/03 18:19:31 [TRACE] GRPCProvider: Close
2021-03-03T18:19:31.747Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-03T18:19:31.758Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=995
2021-03-03T18:19:31.758Z [DEBUG] plugin: plugin exited
2021/03/03 18:19:31 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": visit complete
2021/03/03 18:19:31 [TRACE] dag/walk: visiting "root"
2021/03/03 18:19:31 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2021/03/03 18:19:31 [TRACE] vertex "root": visit complete
2021/03/03 18:19:31 [INFO] backend/local: apply calling Plan
2021/03/03 18:19:31 [INFO] terraform: building graph: GraphTypePlan
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/03/03 18:19:31 [TRACE] ConfigTransformer: Starting for path:
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
------
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.StateTransformer
2021/03/03 18:19:31 [TRACE] StateTransformer: state is empty, so nothing to do
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.StateTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/03/03 18:19:31 [TRACE] AttachResourceConfigTransformer: attaching to "null_resource.cluster (expand)" (*terraform.nodeExpandPlannableResource) config from main.tf:3,1-35
2021/03/03 18:19:31 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to null_resource.cluster (expand)
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/03/03 18:19:31 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/hashicorp/null\"]" provider configuration from main.tf:1,1-16
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/0303 18:19:31 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/03/03 18:19:31 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/null"] serving null_resource.cluster (expand)
2021/03/03 18:19:31 [DEBUG] ProviderTransformer: "null_resource.cluster (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/03/03 18:19:31 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/03/03 18:19:31 [TRACE] AttachSchemaTransformer: attaching resource schema to null_resource.cluster (expand)
2021/03/03 18:19:31 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/03/03 18:19:31 [DEBUG] ReferenceTransformer: "null_resource.cluster (expand)" references: []
2021/03/03 18:19:31 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/03/03 18:19:31 [TRACE] AttachDependenciesTransformer: null_resource.cluster depends on []
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.attachDataResourceDependenciesTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.attachDataResourceDependenciesTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/03/03 18:19:31 [TRACE] ForcedCBDTransformer: "null_resource.cluster (expand)" (*terraform.nodeExpandPlannableResource) has no CBD descendent, so skipping
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer(no changes)
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021/03/03 18:19:31 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/03/03 18:19:31 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster (expand) - *terraform.nodeExpandPlannableResource
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021/03/03 18:19:31 [DEBUG] Starting graph walk: walkPlan
2021/03/03 18:19:31 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/null\"]"
2021/03/03 18:19:31 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": startingvisit (*terraform.NodeApplyableProvider)
2021-03-03T18:19:31.830Z [INFO] plugin: configuring client automatic mTLS
2021-03-03T18:19:31.922Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5]
2021-03-03T18:19:31.932Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=1002
2021-03-03T18:19:31.932Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5
2021-03-03T18:19:32.799Z [INFO] plugin.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-03-03T18:19:32.799Z
2021-03-03T18:19:32.889Z [DEBUG] plugin: using plugin: version=5
2021-03-03T18:19:32.893Z [DEBUG] plugin.terraform-provider-null_v3.1.0_x5: plugin address: address=/tmp/plugin844566729 network=unix timestamp=2021-03-03T18:19:32.889Z
2021/03/03 18:19:33 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/null\"]" provider for provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:33 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/null"]: using explicit config only
2021/03/03 18:19:33 [TRACE] GRPCProvider: GetSchema
2021-03-03T18:19:33.014Z [TRACE] plugin.stdio: waiting for stdio data
2021/03/03 18:19:33 [TRACE] GRPCProvider: Configure
2021/03/03 18:19:33 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": visit complete
2021/03/03 18:19:33 [TRACE] dag/walk: visiting "null_resource.cluster (expand)"
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster (expand)": starting visit (*terraform.nodeExpandPlannableResource)
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster (expand)": expanding dynamic subgraph
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster (expand)": entering dynamic subgraph
2021/03/03 18:19:33 [TRACE] dag/walk: visiting "null_resource.cluster"
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": starting visit (*terraform.NodePlannableResource)
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": expanding dynamic subgraph
2021/03/03 18:19:33 [TRACE] Executing graph transform *terraform.ResourceCountTransformer
2021/03/03 18:19:33 [TRACE] ResourceCountTransformer: adding null_resource.cluster as *terraform.NodePlannableResourceInstance
2021/03/03 18:19:33 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph:
null_resource.cluster - *terraform.NodePlannableResourceInstance
------
2021/03/03 18:19:33 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer
2021/03/03 18:19:33 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes)
2021/03/03 18:19:33 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/03/03 18:19:33 [DEBUG] Resource instance state not found for node "null_resource.cluster", instance null_resource.cluster
2021/03/03 18:19:33 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/03/03 18:19:33 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/03/03 18:19:33 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/03/03 18:19:33 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2021/03/03 18:19:33 [DEBUG] ReferenceTransformer: "null_resource.cluster" references: []
2021/03/03 18:19:33 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/03/03 18:19:33 [TRACE] Executing graph transform *terraform.RootTransformer
2021/03/03 18:19:33 [TRACE] Completed graph transform *terraform.RootTransformer (no changes)
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": entering dynamic subgraph
2021/03/03 18:19:33 [TRACE] dag/walk: visiting "null_resource.cluster"
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": starting visit (*terraform.NodePlannableResourceInstance)
2021/03/03 18:19:33 [TRACE] ReadResourceInstanceState: reading state for null_resource.cluster
2021/03/03 18:19:33 [TRACE] ReadResourceInstanceState: no state present for null_resource.cluster
2021/03/03 18:19:33 [DEBUG] refresh: null_resource.cluster: no state, so not refreshing
2021/03/03 18:19:33 [TRACE] EvalWriteState: using RefreshState for null_resource.cluster
2021/03/03 18:19:33 [TRACE] EvalWriteState: removing state object for null_resource.cluster
2021/03/03 18:19:33 [TRACE] Re-validating config for "null_resource.cluster"
2021/03/03 18:19:33 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/03/03 18:19:33 [TRACE] GRPCProvider: PlanResourceChange
2021/03/03 18:19:33 [TRACE] EvalWriteState: writing current state object for null_resource.cluster
2021/03/03 18:19:33 [TRACE] EvalWriteDiff: recorded Create change for null_resource.cluster
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": visit complete
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": dynamic subgraph completed successfully
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster": visit complete
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster (expand)": dynamic subgraph completed successfully
2021/03/03 18:19:33 [TRACE] vertex "null_resource.cluster (expand)": visit complete
2021/03/03 18:19:33 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2021/03/03 18:19:33 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2021/03/03 18:19:33 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/null\"] (close)"
2021/03/03 18:19:33 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2021/03/03 18:19:33 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021/03/03 18:19:33 [TRACE] GRPCProvider: Close
2021-03-03T18:19:33.032Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-03T18:19:33.039Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=1002
2021-03-03T18:19:33.039Z [DEBUG] plugin: plugin exited
2021/03/03 18:19:33 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": visit complete
2021/03/03 18:19:33 [TRACE] dag/walk: visiting "root"
2021/03/03 18:19:33 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2021/03/03 18:19:33 [TRACE] vertex "root": visit complete
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# null_resource.cluster will be created
+ resource "null_resource" "cluster" {
2021/03/03 18:19:33 [DEBUG] command: asking for input: "Do you want to perform these actions?"
+ id = (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2021/03/03 18:19:34 [INFO] backend/local: apply calling Apply
2021/03/03 18:19:34 [INFO] terraform: building graph: GraphTypeApply
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.ConfigTransformer
2021/03/03 18:19:34 [TRACE] ConfigTransformer: Starting for path:
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
------
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.RootVariableTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.LocalTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.OutputTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.DiffTransformer
2021/03/03 18:19:34 [TRACE] DiffTransformer starting
2021/03/03 18:19:34 [TRACE] DiffTransformer: found Create change for null_resource.cluster
2021/03/03 18:19:34 [TRACE] DiffTransformer: null_resource.cluster will be represented by null_resource.cluster
2021/03/03 18:19:34 [TRACE] DiffTransformer complete
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph:
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
------
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2021/03/03 18:19:34 [DEBUG] Resource state not found for node "null_resource.cluster", instance null_resource.cluster
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2021/03/03 18:19:34 [TRACE] AttachResourceConfigTransformer: attaching to "null_resource.cluster (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:3,1-35
2021/03/03 18:19:34 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to null_resource.cluster (expand)
2021/03/03 18:19:34 [TRACE] AttachResourceConfigTransformer: attaching to "null_resource.cluster" (*terraform.NodeApplyableResourceInstance) config from main.tf:3,1-35
2021/03/03 18:19:34 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to null_resource.cluster
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.MissingProvisionerTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.MissingProvisionerTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.ProvisionerTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.ProvisionerTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.graphTransformerMulti
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2021/03/03 18:19:34 [TRACE] ProviderConfigTransformer: attaching to "provider[\"registry.terraform.io/hashicorp/null\"]" provider configuration from main.tf:1,1-16
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Completed graph transform *trraform.ProviderConfigTransformer with new graph:
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2021/03/03 18:19:34 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/null"] serving null_resource.cluster (expand)
2021/03/03 18:19:34 [DEBUG] ProviderTransformer: "null_resource.cluster (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:34 [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/null"] serving null_resource.cluster
2021/03/03 18:19:34 [DEBUG] ProviderTransformer: "null_resource.cluster" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ParentProviderTransformer
2021/03/03 18:19:34 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ParentProviderTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2021/03/03 18:19:34 [TRACE] AttachSchemaTransformer: attaching resource schema to null_resource.cluster (expand)
2021/03/03 18:19:34 [TRACE] AttachSchemaTransformer: attaching resource schema to null_resource.cluster
2021/03/03 18:19:34 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.ReerenceTransformer
2021/03/03 18:19:34 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2021/03/03 18:19:34 [DEBUG] ReferenceTransformer: "null_resource.cluster (expand)" references: []
2021/03/03 18:19:34 [DEBUG] ReferenceTransformer: "null_resource.cluster" references: []
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2021/03/03 18:19:34 [TRACE] AttachDependenciesTransformer: null_resource.cluster depends on []
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2021/03/03 18:19:34 [TRACE] ForcedCBDTransformer: "null_resource.cluster" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.TargetsTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.CountBoundaryTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.CountBoundaryTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
------
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.CloseProvisionerTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.CloseProvisionerTransformer (no changes)
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021/03/03 18:19:34 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2021/03/03 18:19:34 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster - *terraform.NodeApplyableResourceInstance
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
null_resource.cluster (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
null_resource.cluster - *terraform.NodeApplyableResourceInstance
root - *terraform.nodeCloseModule
meta.count-boundary (EachMode fixup) - *terraform.NodeCountBoundary
provider["registry.terraform.io/hashicorp/null"] (close) - *terraform.graphNodeCloseProvider
------
2021/03/03 18:19:34 [DEBUG] Starting graph walk: walkApply
2021/03/03 18:19:34 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/null\"]"
2021/03/03 18:19:34 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": starting visit (*terraform.NodeApplyableProvider)
2021-03-03T18:19:35.314Z [INFO] plugin: configuring client automatic mTLS
2021-03-03T18:19:35.408Z [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5]
2021-03-03T18:19:35.422Z [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=1009
2021-03-03T18:19:35.422Z [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5
2021-03-03T18:19:36.384Z [INFO] plugin.terraform-provider-null_v3.1.0_x5: configuring server automatic mTLS: timestamp=2021-03-03T18:19:36.384Z
2021-03-03T18:19:36.466Z [DEBUG] plugin: using plugin: version=5
2021-03-03T18:19:36.467Z [DEBUG] plugin.terraform-provider-null_v3.1.0_x5: plugin address: network=unix address=/tmp/plugin394518108 timestamp=2021-03-03T18:19:36.466Z
2021/03/03 18:19:36 [TRACE] BuiltinEvalContext: Initialized "provider[\"registry.terraform.io/hashicorp/null\"]" provider for provider["registry.terraform.io/hashicorp/null"]
2021/03/03 18:19:36 [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/null"]: using explicit config only
2021/03/03 18:19:36 [TRACE] GRPCProvider: GetSchema
2021-03-03T18:19:36.577Z [TRACE] plugin.stdio: waiting for stdio data
2021/03/03 18:19:36 [TRACE] GRPCProvider: Configure
2021/03/03 18:19:36 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"]": visit complete
2021/03/03 18:19:36 [TRACE] dag/walk: visiting "null_resource.cluster (expand)"
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster (expand)": expanding dynamic subgraph
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster (expand)": entering dynamic subgraph
2021/03/03 18:19:36 [TRACE] dag/walk: visiting "null_resource.cluster"
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster": starting visit (*terraform.NodeApplyableResource)
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster": visit complete
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster (expand)": dynamic subgraph completed successfully
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster (expand)": visit complete
2021/03/03 18:19:36 [TRACE] dag/walk: visiting "null_resource.cluster"
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster": starting visit (*terraform.NodeApplyableResourceInstance)
2021/03/03 18:19:36 [TRACE] EvalReadDiff: Read Create change from plan for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalReadState: reading state for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalReadState: no state present for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalReadDiff: Read Create change from plan for null_resource.cluster
2021/03/03 18:19:36 [TRACE] Re-validating config for "null_resource.cluster"
2021/03/03 18:19:36 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2021/03/03 18:19:36 [TRACE] GRPCProvider: PlanResourceChange
2021/03/03 18:19:36 [TRACE] EvalCheckPlannedChange: Verifying that actual change (action Create) matches planned change (action Create)
2021/03/03 18:19:36 [TRACE] EvalReadState: reading state for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalReadState: no state present for null_resource.cluster
null_resource.cluster: Creating...
2021/03/03 18:19:36 [DEBUG] EvalApply: ProviderMeta config value set
2021/03/03 18:19:36 [DEBUG] null_resource.cluster: applying the planned Create change
2021/03/03 18:19:36 [TRACE] GRPCProvider: ApplyResourceChange
null_resource.cluster: Creation complete after 0s [id=6431262219280654268]
2021/03/03 18:19:36 [TRACE] EvalWriteState: recording 0 dependencies for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalWriteState: writing current state object for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalWriteState: recording 0 dependencies for null_resource.cluster
2021/03/03 18:19:36 [TRACE] EvalWriteState: writing current state object for null_resource.cluster
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: read nil snapshot
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: no original state snapshot to back up
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 1
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2021/03/03 18:19:36 [TRACE] vertex "null_resource.cluster": visit complete
2021/03/03 18:19:36 [TRACE] dag/walk: visiting "provider[\"registry.terraform.io/hashicorp/null\"] (close)"
2021/03/03 18:19:36 [TRACE] dag/walk: visiting "meta.count-boundary (EachMode fixup)"
2021/03/03 18:19:36 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2021/03/03 18:19:36 [TRACE] vertex "meta.count-boundary (EachMode fixup)": starting visit (*terraform.NodeCountBoundary)
2021/03/03 18:19:36 [TRACE] GRPCProvider: Close
2021/03/03 18:19:36 [TRACE] vertex "meta.count-boundary (EachMode fixup)": visit complete
2021-03-03T18:19:36.717Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-03-03T18:19:36.723Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64/terraform-provider-null_v3.1.0_x5 pid=1009
2021-03-03T18:19:36.723Z [DEBUG] plugin: plugin exited
2021/03/03 18:19:36 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/null\"] (close)": visit complete
2021/03/03 18:19:36 [TRACE] dag/walk: visiting "root"
2021/03/03 18:19:36 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule)
2021/03/03 18:19:36 [TRACE] vertex "root": visit complete
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: read snapshot with lineage "53336078-894d-8520-2705-e2fd677b6141" serial 1
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: no original state snapshot to back up
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: no state changes since last snapshot
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
2021/03/03 18:19:36 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
bash-5.0# terraform init
2021/03/03 18:16:02 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 18:16:02 [INFO] Go runtime version: go1.16
2021/03/03 18:16:02 [INFO] CLI args: []string{"/usr/bin/terraform", "init"}
2021/03/03 18:16:02 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 18:16:02 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 18:16:02 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 18:16:02 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 18:16:02 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 18:16:02 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 18:16:02 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 18:16:02 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2021/03/03 18:16:02 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/03 18:16:02 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/03 18:16:02 [DEBUG] New state was assigned lineage "eb61a757-2d93-013a-e29b-35936af29a6b"
2021/03/03 18:16:02 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2021/03/03 18:16:02 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/03 18:16:02 [DEBUG] checking for provisioner in "."
2021/03/03 18:16:02 [DEBUG] checking for provisioner in "/usr/bin"
2021/03/03 18:16:02 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/03 18:16:02 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/03 18:16:02 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/03 18:16:02 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate
2021/03/03 18:16:02 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 18:16:02 [TRACE] statemgr.Filesystem: read nil snapshot
Initializing provider plugins...
- Finding latest version of hashicorp/null...
2021/03/03 18:16:02 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2021/03/03 18:16:02 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json
2021/03/03 18:16:02 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/null/versions
2021/03/03 18:16:02 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/null/versions
2021/03/03 18:16:02 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:16:02 [TRACE] getproviders.SearchLocalDirectory: failed to resolve symlinks for .terraform/providers: lstat .terraform: no such file or directory
2021/03/03 18:16:02 [TRACE] providercache.fillMetaCache: error while scanning directory .terraform/providers: cannot search .terraform/providers: lstat .terraform/providers: no such file or directory
2021/03/03 18:16:02 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/null/3.1.0/download/linux/amd64
2021/03/03 18:16:02 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/null/3.1.0/download/linux/amd64
2021/03/03 18:16:02 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS
2021/03/03 18:16:02 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS
2021/03/03 18:16:02 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS.sig
2021/03/03 18:16:02 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS.sig
- Installing hashicorp/null v3.1.0...
2021/03/03 18:16:02 [TRACE] providercache.Dir.InstallPackage: installing registry.terraform.io/hashicorp/null v3.1.0 from https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_linux_amd64.zip
2021/03/03 18:16:02 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_linux_amd64.zip
2021/03/03 18:16:02 [DEBUG] Provider signed by 51852D87348FFC4C HashiCorp Security <security@hashicorp.com>
2021/03/03 18:16:04 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:16:04 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 18:16:04 [TRACE] providercache.fillMetaCache: error while scanning directory .terraform/providers: cannot search .terraform/providers/registry.terraform.io/hashicorp/null: readdirent .terraform/providers/registry.terraform.io/hashicorp/null: no such file or directory
Error: Failed to install provider
Error while installing hashicorp/null v3.1.0: after installing
registry.terraform.io/hashicorp/null it is still not detected in the target
directory; this is a bug in Terraform
bash-5.0# terraform init
2021/03/03 18:16:47 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 18:16:47 [INFO] Go runtime version: go1.16
2021/03/03 18:16:47 [INFO] CLI args: []string{"/usr/bin/terraform", "init"}
2021/03/03 18:16:47 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 18:16:47 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 18:16:47 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 18:16:47 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 18:16:47 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 18:16:47 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 18:16:47 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 18:16:47 [INFO] CLI command args: []string{"init"}
There are some problems with the configuration, described below.
The Terraform configuration must be valid before initialization so that
Terraform can determine which modules and providers need to be installed.
Error: Failed to read module directory
Module directory . does not exist or cannot be read.
bash-5.0# terraform init
2021/03/03 18:17:22 [INFO] Terraform version: 0.14.7 v0.14.7
2021/03/03 18:17:22 [INFO] Go runtime version: go1.16
2021/03/03 18:17:22 [INFO] CLI args: []string{"/usr/bin/terraform", "init"}
2021/03/03 18:17:22 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2021/03/03 18:17:22 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/03 18:17:22 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/03 18:17:22 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins
2021/03/03 18:17:22 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins
2021/03/03 18:17:22 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2021/03/03 18:17:22 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2021/03/03 18:17:22 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2021/03/03 18:17:23 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2021/03/03 18:17:23 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2021/03/03 18:17:23 [DEBUG] New state was assigned lineage "44bd04c2-1afa-1363-04e6-4469e7a897bc"
2021/03/03 18:17:23 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2021/03/03 18:17:23 [TRACE] Meta.Backend: instantiated backend of type <nil>
2021/03/03 18:17:23 [DEBUG] checking for provisioner in "."
2021/03/03 18:17:23 [DEBUG] checking for provisioner in "/usr/bin"
2021/03/03 18:17:23 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2021/03/03 18:17:23 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2021/03/03 18:17:23 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2021/03/03 18:17:23 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate
2021/03/03 18:17:23 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2021/03/03 18:17:23 [TRACE] statemgr.Filesystem: read nil snapshot
Initializing provider plugins...
2021/03/03 18:17:23 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2021/03/03 18:17:23 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json
- Finding latest version of hashicorp/null...
2021/03/03 18:17:23 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/null/versions
2021/03/03 18:17:23 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/null/versions
2021/03/03 18:17:23 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:17:23 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 18:17:23 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.1.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64
2021/03/03 18:17:23 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.1.0
2021/03/03 18:17:23 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/null/3.1.0/download/linux/amd64
2021/03/03 18:17:23 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/null/3.1.0/download/linux/amd64
2021/03/03 18:17:23 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS
2021/03/03 18:17:23 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS
2021/03/03 18:17:23 [DEBUG] GET https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS.sig
2021/03/03 18:17:23 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_SHA256SUMS.sig
- Installing hashicorp/null v3.1.0...
2021/03/03 18:17:23 [TRACE] providercache.Dir.InstallPackage: installing registry.terraform.io/hashicorp/null v3.1.0 from https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_linux_amd64.zip
2021/03/03 18:17:23 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-null/3.1.0/terraform-provider-null_3.1.0_linux_amd64.zip
2021/03/03 18:17:23 [DEBUG] Provider signed by 51852D87348FFC4C HashiCorp Security <security@hashicorp.com>
2021/03/03 18:17:41 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2021/03/03 18:17:41 [TRACE] getproviders.SearchLocalDirectory: .terraform/providers is a symlink to .terraform/providers
2021/03/03 18:17:41 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.1.0 for linux_amd64 at .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64
2021/03/03 18:17:41 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.terraform.io/hashicorp/null/3.1.0/linux_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.1.0
- Installed hashicorp/null v3.1.0 (signed by HashiCorp)
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment