diff --git a/tfexec/terraform.go b/tfexec/terraform.go index 97d745ad..95e63f6e 100644 --- a/tfexec/terraform.go +++ b/tfexec/terraform.go @@ -592,7 +592,7 @@ func (tf *Terraform) ProvidersSchema(ctx context.Context) (*tfjson.ProviderSchem return nil, parseError(errBuf.String()) } - err = json.Unmarshal(outBuf.Bytes(), ret) + err = json.Unmarshal(outBuf.Bytes(), &ret) if err != nil { return nil, err }