Skip to content

Commit 6fc5ee0

Browse files
committed
Using opentofu/registry-address
Signed-off-by: Diogenes Fernandes <[email protected]>
1 parent 648a1ff commit 6fc5ee0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/hashicorp/go-getter v1.8.3
99
github.com/hashicorp/go-version v1.8.0
1010
github.com/hashicorp/hcl/v2 v2.24.0
11-
github.com/hashicorp/terraform-registry-address v0.4.0
11+
github.com/opentofu/registry-address v0.0.0-20230922120653-901b9ae4061a
1212
github.com/terraform-linters/tflint-plugin-sdk v0.23.1
1313
github.com/zclconf/go-cty v1.17.0
1414
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@ github.com/hashicorp/go-version v1.8.0 h1:KAkNb1HAiZd1ukkxDFGmokVZe1Xy9HG6NUp+bP
129129
github.com/hashicorp/go-version v1.8.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
130130
github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQxvE=
131131
github.com/hashicorp/hcl/v2 v2.24.0/go.mod h1:oGoO1FIQYfn/AgyOhlg9qLC6/nOJPX3qGbkZpYAcqfM=
132-
github.com/hashicorp/terraform-registry-address v0.4.0 h1:S1yCGomj30Sao4l5BMPjTGZmCNzuv7/GDTDX99E9gTk=
133-
github.com/hashicorp/terraform-registry-address v0.4.0/go.mod h1:LRS1Ay0+mAiRkUyltGT+UHWkIqTFvigGn/LbMshfflE=
134132
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
135133
github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc=
136134
github.com/hashicorp/yamux v0.1.2 h1:XtB8kyFOyHXYVFnwT5C3+Bdo8gArse7j2AQ0DA0Uey8=
@@ -153,6 +151,8 @@ github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQ
153151
github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
154152
github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
155153
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
154+
github.com/opentofu/registry-address v0.0.0-20230922120653-901b9ae4061a h1:NyM/PPbc+kxxv2d4OKfE32C5fLtVTLceyg4YKKCYO9Y=
155+
github.com/opentofu/registry-address v0.0.0-20230922120653-901b9ae4061a/go.mod h1:HzQhpVo/NJnGmN+7FPECCVCA5ijU7AUcvf39enBKYOc=
156156
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
157157
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
158158
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=

rules/opentofu_module_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/diofeher/tflint-ruleset-opentofu/opentofu"
88
"github.com/diofeher/tflint-ruleset-opentofu/project"
9-
tfaddr "github.com/hashicorp/terraform-registry-address"
9+
tfaddr "github.com/opentofu/registry-address"
1010
"github.com/terraform-linters/tflint-plugin-sdk/tflint"
1111
)
1212

rules/opentofu_required_providers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/diofeher/tflint-ruleset-opentofu/opentofu"
77
"github.com/diofeher/tflint-ruleset-opentofu/project"
88
"github.com/hashicorp/hcl/v2"
9-
tfaddr "github.com/hashicorp/terraform-registry-address"
9+
tfaddr "github.com/opentofu/registry-address"
1010
"github.com/terraform-linters/tflint-plugin-sdk/hclext"
1111
tfsdk "github.com/terraform-linters/tflint-plugin-sdk/terraform"
1212
"github.com/terraform-linters/tflint-plugin-sdk/tflint"

0 commit comments

Comments
 (0)