Initializing the backend...
2020/08/25 13:12:08 [TRACE] Preserving existing state lineage "05c5744c-9ee7-c542-3c3e-3a76e2dc7ccc"
2020/08/25 13:12:08 [TRACE] Preserving existing state lineage "05c5744c-9ee7-c542-3c3e-3a76e2dc7ccc"
2020/08/25 13:12:08 [TRACE] Meta.Backend: working directory was previously initialized for "remote" backend
2020/08/25 13:12:08 [TRACE] Meta.Backend: using already-initialized, unchanged "remote" backend configuration
2020/08/25 13:12:08 [DEBUG] Service discovery for <<redacted>> at https://<<redacted>>/.well-known/terraform.json
2020/08/25 13:12:08 [TRACE] HTTP client GET request to https://<<redacted>>/.well-known/terraform.json
2020/08/25 13:12:09 [DEBUG] Retrieve version constraints for service tfe.v2.1 and product terraform
2020/08/25 13:12:09 [TRACE] HTTP client GET request to https://checkpoint-api.hashicorp.com/v1/versions/tfe.v2.1?product=terraform
2020/08/25 13:12:10 [TRACE] Meta.Backend: instantiated backend of type *remote.Remote
2020/08/25 13:12:10 [DEBUG] checking for provider in "."
2020/08/25 13:12:10 [DEBUG] checking for provider in "/usr/local/Cellar/tfenv/2.0.0/versions/0.12.26"
2020/08/25 13:12:10 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2020/08/25 13:12:10 [DEBUG] found provider "terraform-provider-aws_v2.68.0_x4"
2020/08/25 13:12:10 [DEBUG] found provider "terraform-provider-null_v2.1.2_x4"
2020/08/25 13:12:10 [DEBUG] found provider "terraform-provider-sdm_v1.0.7"
2020/08/25 13:12:10 [DEBUG] found provider "terraform-provider-template_v2.1.2_x4"
2020/08/25 13:12:10 [DEBUG] found valid plugin: "aws", "2.68.0", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.68.0_x4"
2020/08/25 13:12:10 [DEBUG] found valid plugin: "null", "2.1.2", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.1.2_x4"
2020/08/25 13:12:10 [DEBUG] found valid plugin: "sdm", "1.0.7", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-sdm_v1.0.7"
2020/08/25 13:12:10 [DEBUG] found valid plugin: "template", "2.1.2", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-template_v2.1.2_x4"
2020/08/25 13:12:10 [DEBUG] checking for provisioner in "."
2020/08/25 13:12:10 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/2.0.0/versions/0.12.26"
2020/08/25 13:12:10 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2020/08/25 13:12:10 [TRACE] Meta.Backend: backend *remote.Remote supports operations
2020/08/25 13:12:11 [DEBUG] checking for provider in "."
2020/08/25 13:12:11 [DEBUG] checking for provider in "/usr/local/Cellar/tfenv/2.0.0/versions/0.12.26"
2020/08/25 13:12:11 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2020/08/25 13:12:11 [DEBUG] found provider "terraform-provider-aws_v2.68.0_x4"
2020/08/25 13:12:11 [DEBUG] found provider "terraform-provider-null_v2.1.2_x4"
2020/08/25 13:12:11 [DEBUG] found provider "terraform-provider-sdm_v1.0.7"
2020/08/25 13:12:11 [DEBUG] found provider "terraform-provider-template_v2.1.2_x4"
2020/08/25 13:12:11 [DEBUG] found valid plugin: "null", "2.1.2", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.1.2_x4"
2020/08/25 13:12:11 [DEBUG] found valid plugin: "sdm", "1.0.7", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-sdm_v1.0.7"
2020/08/25 13:12:11 [DEBUG] found valid plugin: "template", "2.1.2", "/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-template_v2.1.2_x4"
2020/08/25 13:12:11 [DEBUG] found valid plugin: "aws", "2.68.0", "/Users/<<redacted>>/workspaces/<<redacted>>.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.68.0_x4"
2020/08/25 13:12:11 [DEBUG] plugin requirements: "aws"="~> 2.0,~> 2.0"
2020/08/25 13:12:11 [DEBUG] plugin requirements: "sdm"="1.0.8"
2020/08/25 13:12:11 [DEBUG] plugin requirements: "null"=""
2020/08/25 13:12:11 [DEBUG] plugin requirements: "template"=""
2020/08/25 13:12:11 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2020/08/25 13:12:11 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json
Initializing provider plugins...
- Checking for available provider plugins...
2020/08/25 13:12:11 [DEBUG] fetching provider versions from "https://registry.terraform.io/v1/providers/-/sdm/versions"
2020/08/25 13:12:11 [DEBUG] GET https://registry.terraform.io/v1/providers/-/sdm/versions
2020/08/25 13:12:11 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/-/sdm/versions
2020/08/25 13:12:11 [DEBUG] fetching provider location from "https://registry.terraform.io/v1/providers/terraform-providers/sdm/1.0.8/download/darwin/amd64"
2020/08/25 13:12:11 [DEBUG] GET https://registry.terraform.io/v1/providers/terraform-providers/sdm/1.0.8/download/darwin/amd64
2020/08/25 13:12:11 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/terraform-providers/sdm/1.0.8/download/darwin/amd64
2020/08/25 13:12:11 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-sdm/1.0.8/terraform-provider-sdm_1.0.8_SHA256SUMS
2020/08/25 13:12:11 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-sdm/1.0.8/terraform-provider-sdm_1.0.8_SHA256SUMS.sig
2020/08/25 13:12:11 [DEBUG] verified GPG signature with key from HashiCorp Security <[email protected]>
2020/08/25 13:12:11 [DEBUG] getting provider "sdm" (terraform-providers/sdm) version "1.0.8"
2020/08/25 13:12:11 [DEBUG] plugin cache is disabled, so downloading sdm 1.0.8 from https://releases.hashicorp.com/terraform-provider-sdm/1.0.8/terraform-provider-sdm_1.0.8_darwin_amd64.zip?checksum=sha256:5454f95211ec0baa4ed43a532b743d390e4a71974915722951ceb19878adf77a
- Downloading plugin for provider "sdm" (terraform-providers/sdm) 1.0.8...
2020/08/25 13:12:11 [TRACE] HTTP client HEAD request to https://releases.hashicorp.com/terraform-provider-sdm/1.0.8/terraform-provider-sdm_1.0.8_darwin_amd64.zip
2020/08/25 13:12:11 [TRACE] HTTP client GET request to https://releases.hashicorp.com/terraform-provider-sdm/1.0.8/terraform-provider-sdm_1.0.8_darwin_amd64.zip
2020/08/25 13:12:12 [DEBUG] looking for the sdm 1.0.8 plugin we just installed
2020/08/25 13:12:12 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2020/08/25 13:12:12 [DEBUG] found provider "terraform-provider-aws_v2.68.0_x4"
2020/08/25 13:12:12 [DEBUG] found provider "terraform-provider-null_v2.1.2_x4"
2020/08/25 13:12:12 [WARN] found legacy provider "terraform-provider-sdm_1.0.8"
2020/08/25 13:12:12 [DEBUG] found provider "terraform-provider-sdm_v1.0.7"
2020/08/25 13:12:12 [DEBUG] found provider "terraform-provider-template_v2.1.2_x4"
2020/08/25 13:12:12 [DEBUG] all plugins found discovery.PluginMetaSet{discovery.PluginMeta{Name:"aws", Version:"2.68.0", Path:"/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-aws_v2.68.0_x4"}:
struct {}{}, discovery.PluginMeta{Name:"null", Version:"2.1.2", Path:"/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-null_v2.1.2_x4"}:struct {}{}, discovery.PluginMeta{Name:"sdm", Version:"1.
0.7", Path:"/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-sdm_v1.0.7"}:struct {}{}, discovery.PluginMeta{Name:"sdm_1.0.8", Version:"0.0.0", Path:"/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-sdm_1.0.8"}:struct {}{}, discovery.PluginMeta{Name:"template", Version:"2.1.2", Path:"/Users/<<redacted>>/workspaces/<<redacted>>/.terraform/plugins/darwin_amd64/terraform-provider-template_v2.1.2_x4"}:struct {}{}}
2020/08/25 13:12:12 [DEBUG] filtered plugins discovery.PluginMetaSet{}
Error installing provider "sdm": failed to find installed plugin version 1.0.8; this is a bug in Terraform and should be reported.
Terraform analyses the configuration and state and automatically downloads
plugins for the providers used. However, when attempting to download this
plugin an unexpected error occurred.
This may be caused if for some reason Terraform is unable to reach the
plugin repository. The repository may be unreachable if access is blocked
by a firewall.
If automatic installation is not possible or desirable in your environment,
you may alternatively manually install plugins by downloading a suitable
distribution package and placing the plugin's executable file in the
following directory:
terraform.d/plugins/darwin_amd64
Error: failed to find installed plugin version 1.0.8; this is a bug in Terraform and should be reported
This is using Terraform 0.12.26. The install of 1.0.7 doesn't seem to trigger the found legacy provider
warning. I wonder if that is related. It is possible this is a Terraform problem like the error says, but given version 1.0.7 installs fine, I'm guessing it was something to do with the publishing of 1.0.8.