diff --git a/configs/experiments.go b/configs/experiments.go index 83557a85e..956187318 100644 --- a/configs/experiments.go +++ b/configs/experiments.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/hashicorp/hcl/v2" - "github.com/hashicorp/terraform/experiments" + "github.com/hashicorp/terraform/internal/experiments" "github.com/hashicorp/terraform/version" "github.com/zclconf/go-cty/cty" ) diff --git a/configs/experiments_test.go b/configs/experiments_test.go index 20c8bac68..36e84f140 100644 --- a/configs/experiments_test.go +++ b/configs/experiments_test.go @@ -6,7 +6,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/hashicorp/hcl/v2" - "github.com/hashicorp/terraform/experiments" + "github.com/hashicorp/terraform/internal/experiments" ) func TestExperimentsConfig(t *testing.T) { diff --git a/configs/module.go b/configs/module.go index 126eebbdb..a66ea228e 100644 --- a/configs/module.go +++ b/configs/module.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/hcl/v2" "github.com/hashicorp/terraform/addrs" - "github.com/hashicorp/terraform/experiments" + "github.com/hashicorp/terraform/internal/experiments" ) // Module is a container for a set of configuration constructs that are diff --git a/experiments/doc.go b/internal/experiments/doc.go similarity index 100% rename from experiments/doc.go rename to internal/experiments/doc.go diff --git a/experiments/errors.go b/internal/experiments/errors.go similarity index 100% rename from experiments/errors.go rename to internal/experiments/errors.go diff --git a/experiments/experiment.go b/internal/experiments/experiment.go similarity index 100% rename from experiments/experiment.go rename to internal/experiments/experiment.go diff --git a/experiments/set.go b/internal/experiments/set.go similarity index 100% rename from experiments/set.go rename to internal/experiments/set.go diff --git a/experiments/testing.go b/internal/experiments/testing.go similarity index 100% rename from experiments/testing.go rename to internal/experiments/testing.go diff --git a/lang/functions.go b/lang/functions.go index 21be9a7f1..66c05742b 100644 --- a/lang/functions.go +++ b/lang/functions.go @@ -9,7 +9,7 @@ import ( "github.com/zclconf/go-cty/cty/function" "github.com/zclconf/go-cty/cty/function/stdlib" - "github.com/hashicorp/terraform/experiments" + "github.com/hashicorp/terraform/internal/experiments" "github.com/hashicorp/terraform/lang/funcs" ) diff --git a/lang/functions_test.go b/lang/functions_test.go index c33bc3672..a577eefb3 100644 --- a/lang/functions_test.go +++ b/lang/functions_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/hclsyntax" - "github.com/hashicorp/terraform/experiments" + "github.com/hashicorp/terraform/internal/experiments" homedir "github.com/mitchellh/go-homedir" "github.com/zclconf/go-cty/cty" ) diff --git a/lang/scope.go b/lang/scope.go index 3a34e9ca2..94ec9d3bf 100644 --- a/lang/scope.go +++ b/lang/scope.go @@ -6,7 +6,7 @@ import ( "github.com/zclconf/go-cty/cty/function" "github.com/hashicorp/terraform/addrs" - "github.com/hashicorp/terraform/experiments" + "github.com/hashicorp/terraform/internal/experiments" ) // Scope is the main type in this package, allowing dynamic evaluation of