diff --git a/earlydecoder/backend.go b/earlydecoder/backend.go index ef410232..d02d90f9 100644 --- a/earlydecoder/backend.go +++ b/earlydecoder/backend.go @@ -7,7 +7,7 @@ package earlydecoder import ( "github.com/hashicorp/hcl/v2" - "github.com/hashicorp/terraform-schema/backend" + "github.com/opentofu/opentofu-schema/backend" "github.com/zclconf/go-cty/cty" ) diff --git a/earlydecoder/data_source.go b/earlydecoder/data_source.go index a9bb6f3c..b67fa2ab 100644 --- a/earlydecoder/data_source.go +++ b/earlydecoder/data_source.go @@ -8,7 +8,7 @@ package earlydecoder import ( "fmt" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/module" ) type dataSource struct { diff --git a/earlydecoder/decoder.go b/earlydecoder/decoder.go index 3acb34b3..27a3a709 100644 --- a/earlydecoder/decoder.go +++ b/earlydecoder/decoder.go @@ -12,8 +12,8 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl/v2" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/addr" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/internal/addr" + "github.com/opentofu/opentofu-schema/module" ) func LoadModule(path string, files map[string]*hcl.File) (*module.Meta, hcl.Diagnostics) { diff --git a/earlydecoder/decoder_test.go b/earlydecoder/decoder_test.go index 28736fb7..a8d2c66d 100644 --- a/earlydecoder/decoder_test.go +++ b/earlydecoder/decoder_test.go @@ -15,9 +15,9 @@ import ( "github.com/hashicorp/hcl/v2/ext/typeexpr" "github.com/hashicorp/hcl/v2/hclsyntax" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/backend" - "github.com/hashicorp/terraform-schema/internal/addr" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/backend" + "github.com/opentofu/opentofu-schema/internal/addr" + "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty-debug/ctydebug" "github.com/zclconf/go-cty/cty" ) diff --git a/earlydecoder/load_module.go b/earlydecoder/load_module.go index 809b4bfd..17556e55 100644 --- a/earlydecoder/load_module.go +++ b/earlydecoder/load_module.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/hcl/v2/ext/typeexpr" "github.com/hashicorp/hcl/v2/gohcl" "github.com/hashicorp/hcl/v2/hclsyntax" - "github.com/hashicorp/terraform-schema/backend" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/backend" + "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/convert" ) diff --git a/earlydecoder/provider_requirements.go b/earlydecoder/provider_requirements.go index bc903bbc..604395d4 100644 --- a/earlydecoder/provider_requirements.go +++ b/earlydecoder/provider_requirements.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/gohcl" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty/cty" ) diff --git a/earlydecoder/resource.go b/earlydecoder/resource.go index adef711b..13be659c 100644 --- a/earlydecoder/resource.go +++ b/earlydecoder/resource.go @@ -9,7 +9,7 @@ import ( "fmt" "strings" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/module" ) type resource struct { diff --git a/earlydecoder/stacks/decoder.go b/earlydecoder/stacks/decoder.go index eca8314e..c97713d9 100644 --- a/earlydecoder/stacks/decoder.go +++ b/earlydecoder/stacks/decoder.go @@ -9,7 +9,7 @@ import ( "sort" "github.com/hashicorp/hcl/v2" - "github.com/hashicorp/terraform-schema/stack" + "github.com/opentofu/opentofu-schema/stack" ) func LoadStack(path string, files map[string]*hcl.File) (*stack.Meta, hcl.Diagnostics) { diff --git a/earlydecoder/stacks/decoder_test.go b/earlydecoder/stacks/decoder_test.go index ffc51f87..88e2be42 100644 --- a/earlydecoder/stacks/decoder_test.go +++ b/earlydecoder/stacks/decoder_test.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/hclsyntax" - "github.com/hashicorp/terraform-schema/stack" + "github.com/opentofu/opentofu-schema/stack" "github.com/zclconf/go-cty-debug/ctydebug" ) diff --git a/earlydecoder/stacks/load_stack.go b/earlydecoder/stacks/load_stack.go index ec55dff1..aada5dbc 100644 --- a/earlydecoder/stacks/load_stack.go +++ b/earlydecoder/stacks/load_stack.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/hcl/v2" "github.com/hashicorp/hcl/v2/ext/typeexpr" "github.com/hashicorp/hcl/v2/gohcl" - "github.com/hashicorp/terraform-schema/stack" + "github.com/opentofu/opentofu-schema/stack" "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/convert" ) diff --git a/go.mod b/go.mod index 420eb0e5..85b286df 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/hashicorp/terraform-schema +module github.com/opentofu/opentofu-schema go 1.21.0 diff --git a/internal/funcs/0.13/functions.go b/internal/funcs/0.13/functions.go index 3e58145c..3a386166 100644 --- a/internal/funcs/0.13/functions.go +++ b/internal/funcs/0.13/functions.go @@ -11,7 +11,7 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" - funcs_v0_12 "github.com/hashicorp/terraform-schema/internal/funcs/0.12" + funcs_v0_12 "github.com/opentofu/opentofu-schema/internal/funcs/0.12" ) func Functions(v *version.Version) map[string]schema.FunctionSignature { diff --git a/internal/funcs/0.14/functions.go b/internal/funcs/0.14/functions.go index e00d667a..06b3c54e 100644 --- a/internal/funcs/0.14/functions.go +++ b/internal/funcs/0.14/functions.go @@ -11,7 +11,7 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" - funcs_v0_13 "github.com/hashicorp/terraform-schema/internal/funcs/0.13" + funcs_v0_13 "github.com/opentofu/opentofu-schema/internal/funcs/0.13" ) func Functions(v *version.Version) map[string]schema.FunctionSignature { diff --git a/internal/funcs/0.15/functions.go b/internal/funcs/0.15/functions.go index 5e29bd42..25718f4f 100644 --- a/internal/funcs/0.15/functions.go +++ b/internal/funcs/0.15/functions.go @@ -11,7 +11,7 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" - funcs_v0_14 "github.com/hashicorp/terraform-schema/internal/funcs/0.14" + funcs_v0_14 "github.com/opentofu/opentofu-schema/internal/funcs/0.14" ) func Functions(v *version.Version) map[string]schema.FunctionSignature { diff --git a/internal/funcs/1.3/functions.go b/internal/funcs/1.3/functions.go index c9bb27f7..2d2849ef 100644 --- a/internal/funcs/1.3/functions.go +++ b/internal/funcs/1.3/functions.go @@ -11,7 +11,7 @@ import ( "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" - funcs_v0_15 "github.com/hashicorp/terraform-schema/internal/funcs/0.15" + funcs_v0_15 "github.com/opentofu/opentofu-schema/internal/funcs/0.15" ) func Functions(v *version.Version) map[string]schema.FunctionSignature { diff --git a/internal/schema/0.12/connection_block.go b/internal/schema/0.12/connection_block.go index 6db0a501..6cb84846 100644 --- a/internal/schema/0.12/connection_block.go +++ b/internal/schema/0.12/connection_block.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/data_block.go b/internal/schema/0.12/data_block.go index 8b2aeecf..5a325836 100644 --- a/internal/schema/0.12/data_block.go +++ b/internal/schema/0.12/data_block.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func datasourceBlockSchema(v *version.Version) *schema.BlockSchema { diff --git a/internal/schema/0.12/locals_block.go b/internal/schema/0.12/locals_block.go index b629cdfb..0a0a450b 100644 --- a/internal/schema/0.12/locals_block.go +++ b/internal/schema/0.12/locals_block.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/module_block.go b/internal/schema/0.12/module_block.go index 7c10e20d..12875d64 100644 --- a/internal/schema/0.12/module_block.go +++ b/internal/schema/0.12/module_block.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/output_block.go b/internal/schema/0.12/output_block.go index bdd7ade8..e0938e47 100644 --- a/internal/schema/0.12/output_block.go +++ b/internal/schema/0.12/output_block.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/provider_block.go b/internal/schema/0.12/provider_block.go index 30d4f762..abc66aa9 100644 --- a/internal/schema/0.12/provider_block.go +++ b/internal/schema/0.12/provider_block.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/provisioner_block.go b/internal/schema/0.12/provisioner_block.go index a23a6e1b..34a56d15 100644 --- a/internal/schema/0.12/provisioner_block.go +++ b/internal/schema/0.12/provisioner_block.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func ProvisionerBlock(v *version.Version) *schema.BlockSchema { diff --git a/internal/schema/0.12/resource_block.go b/internal/schema/0.12/resource_block.go index 24fbe133..42122da9 100644 --- a/internal/schema/0.12/resource_block.go +++ b/internal/schema/0.12/resource_block.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/terraform_block.go b/internal/schema/0.12/terraform_block.go index c7f0789f..a7d0362b 100644 --- a/internal/schema/0.12/terraform_block.go +++ b/internal/schema/0.12/terraform_block.go @@ -9,9 +9,9 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.12/variable_block.go b/internal/schema/0.12/variable_block.go index 249adda4..2b93492f 100644 --- a/internal/schema/0.12/variable_block.go +++ b/internal/schema/0.12/variable_block.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.13/module_block.go b/internal/schema/0.13/module_block.go index 9389bbce..08b707fd 100644 --- a/internal/schema/0.13/module_block.go +++ b/internal/schema/0.13/module_block.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func moduleBlockSchema() *schema.BlockSchema { diff --git a/internal/schema/0.13/provider_block.go b/internal/schema/0.13/provider_block.go index c8dd54da..cb1f3480 100644 --- a/internal/schema/0.13/provider_block.go +++ b/internal/schema/0.13/provider_block.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func providerBlockSchema() *schema.BlockSchema { diff --git a/internal/schema/0.13/provisioners.go b/internal/schema/0.13/provisioners.go index e009bfed..325cd39e 100644 --- a/internal/schema/0.13/provisioners.go +++ b/internal/schema/0.13/provisioners.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v012_mod "github.com/hashicorp/terraform-schema/internal/schema/0.12" + v012_mod "github.com/opentofu/opentofu-schema/internal/schema/0.12" ) // See https://github.com/hashicorp/terraform/blob/v0.13.0/command/internal_plugin_list.go diff --git a/internal/schema/0.13/root.go b/internal/schema/0.13/root.go index a5ce5049..86d04fab 100644 --- a/internal/schema/0.13/root.go +++ b/internal/schema/0.13/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v012_mod "github.com/hashicorp/terraform-schema/internal/schema/0.12" + v012_mod "github.com/opentofu/opentofu-schema/internal/schema/0.12" ) var v0_13_4 = version.Must(version.NewVersion("0.13.4")) diff --git a/internal/schema/0.13/terraform_block.go b/internal/schema/0.13/terraform_block.go index 655618f2..01b05c1f 100644 --- a/internal/schema/0.13/terraform_block.go +++ b/internal/schema/0.13/terraform_block.go @@ -9,9 +9,9 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.14/provisioners.go b/internal/schema/0.14/provisioners.go index f14e4fda..e5f810db 100644 --- a/internal/schema/0.14/provisioners.go +++ b/internal/schema/0.14/provisioners.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v013_mod "github.com/hashicorp/terraform-schema/internal/schema/0.13" + v013_mod "github.com/opentofu/opentofu-schema/internal/schema/0.13" ) // See https://github.com/hashicorp/terraform/blob/v0.14.0/command/internal_plugin_list.go diff --git a/internal/schema/0.14/root.go b/internal/schema/0.14/root.go index 603a4f3e..473469eb 100644 --- a/internal/schema/0.14/root.go +++ b/internal/schema/0.14/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v013_mod "github.com/hashicorp/terraform-schema/internal/schema/0.13" + v013_mod "github.com/opentofu/opentofu-schema/internal/schema/0.13" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/0.14/terraform.go b/internal/schema/0.14/terraform.go index ab9c4bd4..d98204f0 100644 --- a/internal/schema/0.14/terraform.go +++ b/internal/schema/0.14/terraform.go @@ -9,9 +9,9 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/0.14/variable_block.go b/internal/schema/0.14/variable_block.go index 2f9ebe4c..b7a8f255 100644 --- a/internal/schema/0.14/variable_block.go +++ b/internal/schema/0.14/variable_block.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func variableBlockSchema() *schema.BlockSchema { diff --git a/internal/schema/0.15/connection_block.go b/internal/schema/0.15/connection_block.go index 04d8a5a6..d7c1c2bb 100644 --- a/internal/schema/0.15/connection_block.go +++ b/internal/schema/0.15/connection_block.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - v014_mod "github.com/hashicorp/terraform-schema/internal/schema/0.14" + v014_mod "github.com/opentofu/opentofu-schema/internal/schema/0.14" ) func ConnectionDependentBodies(v *version.Version) map[schema.SchemaKey]*schema.BodySchema { diff --git a/internal/schema/0.15/provisioners.go b/internal/schema/0.15/provisioners.go index 0faefdc5..3fc506f6 100644 --- a/internal/schema/0.15/provisioners.go +++ b/internal/schema/0.15/provisioners.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v014_mod "github.com/hashicorp/terraform-schema/internal/schema/0.14" + v014_mod "github.com/opentofu/opentofu-schema/internal/schema/0.14" ) var ( diff --git a/internal/schema/0.15/root.go b/internal/schema/0.15/root.go index b1d3db39..a292622f 100644 --- a/internal/schema/0.15/root.go +++ b/internal/schema/0.15/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v014_mod "github.com/hashicorp/terraform-schema/internal/schema/0.14" + v014_mod "github.com/opentofu/opentofu-schema/internal/schema/0.14" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/0.15/terraform.go b/internal/schema/0.15/terraform.go index 540cd575..6137b0dd 100644 --- a/internal/schema/0.15/terraform.go +++ b/internal/schema/0.15/terraform.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/1.1/moved.go b/internal/schema/1.1/moved.go index 6e3f4dc1..49092a1e 100644 --- a/internal/schema/1.1/moved.go +++ b/internal/schema/1.1/moved.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" ) var movedBlockSchema = &schema.BlockSchema{ diff --git a/internal/schema/1.1/root.go b/internal/schema/1.1/root.go index e4e7f515..d6d28b25 100644 --- a/internal/schema/1.1/root.go +++ b/internal/schema/1.1/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v015_mod "github.com/hashicorp/terraform-schema/internal/schema/0.15" + v015_mod "github.com/opentofu/opentofu-schema/internal/schema/0.15" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.2/resource.go b/internal/schema/1.2/resource.go index e09d85ec..c90a678d 100644 --- a/internal/schema/1.2/resource.go +++ b/internal/schema/1.2/resource.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/1.2/root.go b/internal/schema/1.2/root.go index 87b88399..9612c940 100644 --- a/internal/schema/1.2/root.go +++ b/internal/schema/1.2/root.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - v1_1_mod "github.com/hashicorp/terraform-schema/internal/schema/1.1" + v1_1_mod "github.com/opentofu/opentofu-schema/internal/schema/1.1" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.3/connection_block.go b/internal/schema/1.3/connection_block.go index 79e9000f..0e594152 100644 --- a/internal/schema/1.3/connection_block.go +++ b/internal/schema/1.3/connection_block.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - v015_mod "github.com/hashicorp/terraform-schema/internal/schema/0.15" + v015_mod "github.com/opentofu/opentofu-schema/internal/schema/0.15" ) func ConnectionDependentBodies(v *version.Version) map[schema.SchemaKey]*schema.BodySchema { diff --git a/internal/schema/1.3/root.go b/internal/schema/1.3/root.go index 3ea882a2..06e73c05 100644 --- a/internal/schema/1.3/root.go +++ b/internal/schema/1.3/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v1_2_mod "github.com/hashicorp/terraform-schema/internal/schema/1.2" + v1_2_mod "github.com/opentofu/opentofu-schema/internal/schema/1.2" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.4/provisioners.go b/internal/schema/1.4/provisioners.go index 1650f3f6..744300bd 100644 --- a/internal/schema/1.4/provisioners.go +++ b/internal/schema/1.4/provisioners.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/zclconf/go-cty/cty" - v0_15_mod "github.com/hashicorp/terraform-schema/internal/schema/0.15" + v0_15_mod "github.com/opentofu/opentofu-schema/internal/schema/0.15" ) var ( diff --git a/internal/schema/1.4/root.go b/internal/schema/1.4/root.go index 97152efe..97bdcf1e 100644 --- a/internal/schema/1.4/root.go +++ b/internal/schema/1.4/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v1_3_mod "github.com/hashicorp/terraform-schema/internal/schema/1.3" + v1_3_mod "github.com/opentofu/opentofu-schema/internal/schema/1.3" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.5/check.go b/internal/schema/1.5/check.go index 2d007875..8a951373 100644 --- a/internal/schema/1.5/check.go +++ b/internal/schema/1.5/check.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/1.5/import.go b/internal/schema/1.5/import.go index f0f5484d..aab4e308 100644 --- a/internal/schema/1.5/import.go +++ b/internal/schema/1.5/import.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/1.5/root.go b/internal/schema/1.5/root.go index 3d37933a..fbc97f48 100644 --- a/internal/schema/1.5/root.go +++ b/internal/schema/1.5/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v1_4_mod "github.com/hashicorp/terraform-schema/internal/schema/1.4" + v1_4_mod "github.com/opentofu/opentofu-schema/internal/schema/1.4" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.6/import.go b/internal/schema/1.6/import.go index 28fc13b1..0f0c59a0 100644 --- a/internal/schema/1.6/import.go +++ b/internal/schema/1.6/import.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/1.6/root.go b/internal/schema/1.6/root.go index 881838d0..bc9e4f04 100644 --- a/internal/schema/1.6/root.go +++ b/internal/schema/1.6/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v1_5_mod "github.com/hashicorp/terraform-schema/internal/schema/1.5" + v1_5_mod "github.com/opentofu/opentofu-schema/internal/schema/1.5" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.7/removed.go b/internal/schema/1.7/removed.go index 50532737..7bca071e 100644 --- a/internal/schema/1.7/removed.go +++ b/internal/schema/1.7/removed.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/1.7/root.go b/internal/schema/1.7/root.go index 5286012f..a10e37f6 100644 --- a/internal/schema/1.7/root.go +++ b/internal/schema/1.7/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v1_6_mod "github.com/hashicorp/terraform-schema/internal/schema/1.6" + v1_6_mod "github.com/opentofu/opentofu-schema/internal/schema/1.6" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.8/root.go b/internal/schema/1.8/root.go index 0a224358..3f6070b3 100644 --- a/internal/schema/1.8/root.go +++ b/internal/schema/1.8/root.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - v1_7_mod "github.com/hashicorp/terraform-schema/internal/schema/1.7" + v1_7_mod "github.com/opentofu/opentofu-schema/internal/schema/1.7" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/1.9/root.go b/internal/schema/1.9/root.go index 05fc510f..3b731691 100644 --- a/internal/schema/1.9/root.go +++ b/internal/schema/1.9/root.go @@ -10,10 +10,10 @@ import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - v012_mod "github.com/hashicorp/terraform-schema/internal/schema/0.12" - v1_3_mod "github.com/hashicorp/terraform-schema/internal/schema/1.3" - v1_4_mod "github.com/hashicorp/terraform-schema/internal/schema/1.4" - v1_8_mod "github.com/hashicorp/terraform-schema/internal/schema/1.8" + v012_mod "github.com/opentofu/opentofu-schema/internal/schema/0.12" + v1_3_mod "github.com/opentofu/opentofu-schema/internal/schema/1.3" + v1_4_mod "github.com/opentofu/opentofu-schema/internal/schema/1.4" + v1_8_mod "github.com/opentofu/opentofu-schema/internal/schema/1.8" ) func ModuleSchema(v *version.Version) *schema.BodySchema { diff --git a/internal/schema/stacks/1.9/component_block.go b/internal/schema/stacks/1.9/component_block.go index 1493bd20..d9bfac87 100644 --- a/internal/schema/stacks/1.9/component_block.go +++ b/internal/schema/stacks/1.9/component_block.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/stacks/1.9/deployment_block.go b/internal/schema/stacks/1.9/deployment_block.go index 5822e54c..1fbac3d1 100644 --- a/internal/schema/stacks/1.9/deployment_block.go +++ b/internal/schema/stacks/1.9/deployment_block.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func deploymentBlockSchema() *schema.BlockSchema { diff --git a/internal/schema/stacks/1.9/identity_token_block.go b/internal/schema/stacks/1.9/identity_token_block.go index 6aa09118..91d6581e 100644 --- a/internal/schema/stacks/1.9/identity_token_block.go +++ b/internal/schema/stacks/1.9/identity_token_block.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/stacks/1.9/orchestrate_block.go b/internal/schema/stacks/1.9/orchestrate_block.go index 5ba4b70e..c59b4739 100644 --- a/internal/schema/stacks/1.9/orchestrate_block.go +++ b/internal/schema/stacks/1.9/orchestrate_block.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/stacks/1.9/output_block.go b/internal/schema/stacks/1.9/output_block.go index f9500c09..aa5ee0b4 100644 --- a/internal/schema/stacks/1.9/output_block.go +++ b/internal/schema/stacks/1.9/output_block.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/stacks/1.9/provider_block.go b/internal/schema/stacks/1.9/provider_block.go index 919c283d..3a37adc7 100644 --- a/internal/schema/stacks/1.9/provider_block.go +++ b/internal/schema/stacks/1.9/provider_block.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) func providerBlockSchema() *schema.BlockSchema { diff --git a/internal/schema/stacks/1.9/required_provider_block.go b/internal/schema/stacks/1.9/required_provider_block.go index d87932e9..a9e35e2e 100644 --- a/internal/schema/stacks/1.9/required_provider_block.go +++ b/internal/schema/stacks/1.9/required_provider_block.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/internal/schema/stacks/1.9/variable_block.go b/internal/schema/stacks/1.9/variable_block.go index 7ea5514b..c8760193 100644 --- a/internal/schema/stacks/1.9/variable_block.go +++ b/internal/schema/stacks/1.9/variable_block.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/module/meta.go b/module/meta.go index 5b69384e..fa68afb2 100644 --- a/module/meta.go +++ b/module/meta.go @@ -8,7 +8,7 @@ package module import ( "github.com/hashicorp/go-version" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/backend" + "github.com/opentofu/opentofu-schema/backend" ) type Meta struct { diff --git a/module/meta_test.go b/module/meta_test.go index c7094927..2247d8d0 100644 --- a/module/meta_test.go +++ b/module/meta_test.go @@ -10,8 +10,8 @@ import ( "testing" "github.com/hashicorp/go-version" - "github.com/hashicorp/terraform-schema/backend" - "github.com/hashicorp/terraform-schema/internal/addr" + "github.com/opentofu/opentofu-schema/backend" + "github.com/opentofu/opentofu-schema/internal/addr" ) func TestBackend_Equals(t *testing.T) { diff --git a/module/module_calls.go b/module/module_calls.go index f80e1f41..674c1425 100644 --- a/module/module_calls.go +++ b/module/module_calls.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl/v2" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/detect" + "github.com/opentofu/opentofu-schema/internal/detect" ) var moduleSourceLocalPrefixes = []string{ diff --git a/schema/builtin_references.go b/schema/builtin_references.go index d7ce366f..2f8dc1e7 100644 --- a/schema/builtin_references.go +++ b/schema/builtin_references.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/reference" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/convert_json_test.go b/schema/convert_json_test.go index daf683e3..57ad4e52 100644 --- a/schema/convert_json_test.go +++ b/schema/convert_json_test.go @@ -13,7 +13,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/hashicorp/hcl-lang/schema" tfjson "github.com/hashicorp/terraform-json" - "github.com/hashicorp/terraform-schema/internal/addr" + "github.com/opentofu/opentofu-schema/internal/addr" "github.com/zclconf/go-cty-debug/ctydebug" "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" diff --git a/schema/core_schema.go b/schema/core_schema.go index 447effb3..912aa6a1 100644 --- a/schema/core_schema.go +++ b/schema/core_schema.go @@ -8,18 +8,18 @@ package schema import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - mod_v0_12 "github.com/hashicorp/terraform-schema/internal/schema/0.12" - mod_v0_13 "github.com/hashicorp/terraform-schema/internal/schema/0.13" - mod_v0_14 "github.com/hashicorp/terraform-schema/internal/schema/0.14" - mod_v0_15 "github.com/hashicorp/terraform-schema/internal/schema/0.15" - mod_v1_1 "github.com/hashicorp/terraform-schema/internal/schema/1.1" - mod_v1_2 "github.com/hashicorp/terraform-schema/internal/schema/1.2" - mod_v1_4 "github.com/hashicorp/terraform-schema/internal/schema/1.4" - mod_v1_5 "github.com/hashicorp/terraform-schema/internal/schema/1.5" - mod_v1_6 "github.com/hashicorp/terraform-schema/internal/schema/1.6" - mod_v1_7 "github.com/hashicorp/terraform-schema/internal/schema/1.7" - mod_v1_8 "github.com/hashicorp/terraform-schema/internal/schema/1.8" - mod_v1_9 "github.com/hashicorp/terraform-schema/internal/schema/1.9" + mod_v0_12 "github.com/opentofu/opentofu-schema/internal/schema/0.12" + mod_v0_13 "github.com/opentofu/opentofu-schema/internal/schema/0.13" + mod_v0_14 "github.com/opentofu/opentofu-schema/internal/schema/0.14" + mod_v0_15 "github.com/opentofu/opentofu-schema/internal/schema/0.15" + mod_v1_1 "github.com/opentofu/opentofu-schema/internal/schema/1.1" + mod_v1_2 "github.com/opentofu/opentofu-schema/internal/schema/1.2" + mod_v1_4 "github.com/opentofu/opentofu-schema/internal/schema/1.4" + mod_v1_5 "github.com/opentofu/opentofu-schema/internal/schema/1.5" + mod_v1_6 "github.com/opentofu/opentofu-schema/internal/schema/1.6" + mod_v1_7 "github.com/opentofu/opentofu-schema/internal/schema/1.7" + mod_v1_8 "github.com/opentofu/opentofu-schema/internal/schema/1.8" + mod_v1_9 "github.com/opentofu/opentofu-schema/internal/schema/1.9" ) var ( diff --git a/schema/core_schema_test.go b/schema/core_schema_test.go index ba12f7aa..d3ee511f 100644 --- a/schema/core_schema_test.go +++ b/schema/core_schema_test.go @@ -13,11 +13,11 @@ import ( "github.com/google/go-cmp/cmp" "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - mod_v0_12 "github.com/hashicorp/terraform-schema/internal/schema/0.12" - mod_v0_13 "github.com/hashicorp/terraform-schema/internal/schema/0.13" - mod_v0_14 "github.com/hashicorp/terraform-schema/internal/schema/0.14" - mod_v1_1 "github.com/hashicorp/terraform-schema/internal/schema/1.1" - mod_v1_2 "github.com/hashicorp/terraform-schema/internal/schema/1.2" + mod_v0_12 "github.com/opentofu/opentofu-schema/internal/schema/0.12" + mod_v0_13 "github.com/opentofu/opentofu-schema/internal/schema/0.13" + mod_v0_14 "github.com/opentofu/opentofu-schema/internal/schema/0.14" + mod_v1_1 "github.com/opentofu/opentofu-schema/internal/schema/1.1" + mod_v1_2 "github.com/opentofu/opentofu-schema/internal/schema/1.2" "github.com/zclconf/go-cty-debug/ctydebug" ) diff --git a/schema/functions.go b/schema/functions.go index 35629d78..01384e07 100644 --- a/schema/functions.go +++ b/schema/functions.go @@ -11,12 +11,12 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - funcs_v0_12 "github.com/hashicorp/terraform-schema/internal/funcs/0.12" - funcs_v0_13 "github.com/hashicorp/terraform-schema/internal/funcs/0.13" - funcs_v0_14 "github.com/hashicorp/terraform-schema/internal/funcs/0.14" - funcs_v0_15 "github.com/hashicorp/terraform-schema/internal/funcs/0.15" - funcs_v1_3 "github.com/hashicorp/terraform-schema/internal/funcs/1.3" - funcs_generated "github.com/hashicorp/terraform-schema/internal/funcs/generated" + funcs_v0_12 "github.com/opentofu/opentofu-schema/internal/funcs/0.12" + funcs_v0_13 "github.com/opentofu/opentofu-schema/internal/funcs/0.13" + funcs_v0_14 "github.com/opentofu/opentofu-schema/internal/funcs/0.14" + funcs_v0_15 "github.com/opentofu/opentofu-schema/internal/funcs/0.15" + funcs_v1_3 "github.com/opentofu/opentofu-schema/internal/funcs/1.3" + funcs_generated "github.com/opentofu/opentofu-schema/internal/funcs/generated" ) func FunctionsForVersion(v *version.Version) (map[string]schema.FunctionSignature, error) { diff --git a/schema/functions_merge.go b/schema/functions_merge.go index 1c7757e7..14fa8400 100644 --- a/schema/functions_merge.go +++ b/schema/functions_merge.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - tfmod "github.com/hashicorp/terraform-schema/module" + tfmod "github.com/opentofu/opentofu-schema/module" ) type FunctionsMerger struct { diff --git a/schema/functions_merge_test.go b/schema/functions_merge_test.go index 39b91489..027c8c0c 100644 --- a/schema/functions_merge_test.go +++ b/schema/functions_merge_test.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/hcl-lang/schema" tfjson "github.com/hashicorp/terraform-json" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/addr" - tfmod "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/internal/addr" + tfmod "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty-debug/ctydebug" "github.com/zclconf/go-cty/cty" "github.com/zclconf/go-cty/cty/function" diff --git a/schema/module_schema.go b/schema/module_schema.go index 939c871d..48c995df 100644 --- a/schema/module_schema.go +++ b/schema/module_schema.go @@ -13,9 +13,9 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/hashicorp/hcl/v2" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/module" - "github.com/hashicorp/terraform-schema/registry" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/module" + "github.com/opentofu/opentofu-schema/registry" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/module_schema_test.go b/schema/module_schema_test.go index b277bb5b..0de11933 100644 --- a/schema/module_schema_test.go +++ b/schema/module_schema_test.go @@ -15,9 +15,9 @@ import ( "github.com/hashicorp/hcl-lang/schema" "github.com/hashicorp/hcl/v2" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/module" - "github.com/hashicorp/terraform-schema/registry" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/module" + "github.com/opentofu/opentofu-schema/registry" "github.com/zclconf/go-cty-debug/ctydebug" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge.go b/schema/schema_merge.go index c3bcc854..84aa894a 100644 --- a/schema/schema_merge.go +++ b/schema/schema_merge.go @@ -13,9 +13,9 @@ import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - tfmod "github.com/hashicorp/terraform-schema/module" - "github.com/hashicorp/terraform-schema/registry" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + tfmod "github.com/opentofu/opentofu-schema/module" + "github.com/opentofu/opentofu-schema/registry" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge_remote_state_ds.go b/schema/schema_merge_remote_state_ds.go index 18f5995f..54a3f1d4 100644 --- a/schema/schema_merge_remote_state_ds.go +++ b/schema/schema_merge_remote_state_ds.go @@ -11,9 +11,9 @@ import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/internal/addr" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/internal/addr" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge_test.go b/schema/schema_merge_test.go index 1b26e8fe..a33ccd02 100644 --- a/schema/schema_merge_test.go +++ b/schema/schema_merge_test.go @@ -23,11 +23,11 @@ import ( "github.com/hashicorp/hcl/v2/hclsyntax" tfjson "github.com/hashicorp/terraform-json" tfaddr "github.com/hashicorp/terraform-registry-address" - "github.com/hashicorp/terraform-schema/earlydecoder" - "github.com/hashicorp/terraform-schema/internal/addr" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" - "github.com/hashicorp/terraform-schema/module" - "github.com/hashicorp/terraform-schema/registry" + "github.com/opentofu/opentofu-schema/earlydecoder" + "github.com/opentofu/opentofu-schema/internal/addr" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/module" + "github.com/opentofu/opentofu-schema/registry" "github.com/zclconf/go-cty-debug/ctydebug" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge_v012_test.go b/schema/schema_merge_v012_test.go index 6721851b..45c670d6 100644 --- a/schema/schema_merge_v012_test.go +++ b/schema/schema_merge_v012_test.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge_v013_test.go b/schema/schema_merge_v013_test.go index 7930e7ed..35f802f6 100644 --- a/schema/schema_merge_v013_test.go +++ b/schema/schema_merge_v013_test.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/backends" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/backends" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge_v015_aliased_test.go b/schema/schema_merge_v015_aliased_test.go index 33449aa1..ef05d071 100644 --- a/schema/schema_merge_v015_aliased_test.go +++ b/schema/schema_merge_v015_aliased_test.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/schema_merge_v015_test.go b/schema/schema_merge_v015_test.go index c244d36c..78db0e17 100644 --- a/schema/schema_merge_v015_test.go +++ b/schema/schema_merge_v015_test.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/semantic_tokens.go b/schema/semantic_tokens.go index c619e35c..c4bed654 100644 --- a/schema/semantic_tokens.go +++ b/schema/semantic_tokens.go @@ -6,7 +6,7 @@ package schema import ( - "github.com/hashicorp/terraform-schema/internal/schema/tokmod" + "github.com/opentofu/opentofu-schema/internal/schema/tokmod" ) var SemanticTokenModifiers = tokmod.SupportedModifiers diff --git a/schema/stacks_schema.go b/schema/stacks_schema.go index 9022aa19..54e96d67 100644 --- a/schema/stacks_schema.go +++ b/schema/stacks_schema.go @@ -8,7 +8,7 @@ package schema import ( "github.com/hashicorp/go-version" "github.com/hashicorp/hcl-lang/schema" - stack_1_9 "github.com/hashicorp/terraform-schema/internal/schema/stacks/1.9" + stack_1_9 "github.com/opentofu/opentofu-schema/internal/schema/stacks/1.9" ) // CoreStackSchemaForVersion finds a schema for stack configuration files diff --git a/schema/variable_schema.go b/schema/variable_schema.go index 44154a20..2630c17d 100644 --- a/schema/variable_schema.go +++ b/schema/variable_schema.go @@ -8,8 +8,8 @@ package schema import ( "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/internal/schema/refscope" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/internal/schema/refscope" + "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty/cty" ) diff --git a/schema/variable_schema_test.go b/schema/variable_schema_test.go index 3b78db0c..38fb1d62 100644 --- a/schema/variable_schema_test.go +++ b/schema/variable_schema_test.go @@ -12,7 +12,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/hashicorp/hcl-lang/lang" "github.com/hashicorp/hcl-lang/schema" - "github.com/hashicorp/terraform-schema/module" + "github.com/opentofu/opentofu-schema/module" "github.com/zclconf/go-cty-debug/ctydebug" "github.com/zclconf/go-cty/cty" )