From dd5dae27f814cba8bd4997ec977a1ee051c9ce12 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Wed, 2 Dec 2020 15:44:58 -0500 Subject: [PATCH] don't use legacy import for the UIInput interface The import was switch for other types which has since been removed. Point this at the correct package. --- plugin/ui_input.go | 2 +- plugin/ui_input_test.go | 2 +- plugin/ui_output.go | 2 +- plugin/ui_output_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/ui_input.go b/plugin/ui_input.go index 8343612aa..3469e6a96 100644 --- a/plugin/ui_input.go +++ b/plugin/ui_input.go @@ -5,7 +5,7 @@ import ( "net/rpc" "github.com/hashicorp/go-plugin" - "github.com/hashicorp/terraform/internal/legacy/terraform" + "github.com/hashicorp/terraform/terraform" ) // UIInput is an implementation of terraform.UIInput that communicates diff --git a/plugin/ui_input_test.go b/plugin/ui_input_test.go index 3829e9e84..c6d7036d1 100644 --- a/plugin/ui_input_test.go +++ b/plugin/ui_input_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/hashicorp/go-plugin" - "github.com/hashicorp/terraform/internal/legacy/terraform" + "github.com/hashicorp/terraform/terraform" ) func TestUIInput_impl(t *testing.T) { diff --git a/plugin/ui_output.go b/plugin/ui_output.go index 752c93144..c222b00cd 100644 --- a/plugin/ui_output.go +++ b/plugin/ui_output.go @@ -3,7 +3,7 @@ package plugin import ( "net/rpc" - "github.com/hashicorp/terraform/internal/legacy/terraform" + "github.com/hashicorp/terraform/terraform" ) // UIOutput is an implementatin of terraform.UIOutput that communicates diff --git a/plugin/ui_output_test.go b/plugin/ui_output_test.go index 43c4ad6fc..50eadaa02 100644 --- a/plugin/ui_output_test.go +++ b/plugin/ui_output_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/hashicorp/go-plugin" - "github.com/hashicorp/terraform/internal/legacy/terraform" + "github.com/hashicorp/terraform/terraform" ) func TestUIOutput_impl(t *testing.T) {