Skip to content

Commit c738f8d

Browse files
committed
Use my fork of terraform-config-inspect
1 parent 1ff105d commit c738f8d

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

go.mod

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/terraform-docs/terraform-docs
22

3-
go 1.16
3+
go 1.21
4+
5+
toolchain go1.21.6
46

57
require (
68
github.com/BurntSushi/toml v1.3.2
@@ -12,6 +14,7 @@ require (
1214
github.com/iancoleman/orderedmap v0.3.0
1315
github.com/imdario/mergo v0.3.16
1416
github.com/mitchellh/go-homedir v1.1.0
17+
github.com/rquadling/terraform-config-inspect v0.0.0-20240117094320-33c0c7fd6955
1518
github.com/spf13/cobra v1.8.0
1619
github.com/spf13/pflag v1.0.5
1720
github.com/spf13/viper v1.18.2
@@ -22,27 +25,51 @@ require (
2225
)
2326

2427
require (
28+
github.com/Masterminds/goutils v1.1.1 // indirect
2529
github.com/Masterminds/semver/v3 v3.2.1 // indirect
2630
github.com/agext/levenshtein v1.2.3 // indirect
31+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
32+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2733
github.com/fatih/color v1.16.0 // indirect
34+
github.com/fsnotify/fsnotify v1.7.0 // indirect
35+
github.com/golang/protobuf v1.5.3 // indirect
36+
github.com/google/go-cmp v0.6.0 // indirect
2837
github.com/google/uuid v1.5.0 // indirect
29-
github.com/hashicorp/terraform-config-inspect v0.0.0-20231204233900-a34142ec2a72
38+
github.com/hashicorp/hcl v1.0.0 // indirect
39+
github.com/hashicorp/yamux v0.1.1 // indirect
3040
github.com/huandu/xstrings v1.4.0 // indirect
41+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
42+
github.com/magiconair/properties v1.8.7 // indirect
43+
github.com/mattn/go-colorable v0.1.13 // indirect
44+
github.com/mattn/go-isatty v0.0.20 // indirect
3145
github.com/mitchellh/copystructure v1.2.0 // indirect
3246
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
3347
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
48+
github.com/mitchellh/mapstructure v1.5.0 // indirect
49+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
3450
github.com/oklog/run v1.1.0 // indirect
3551
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
52+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
53+
github.com/sagikazarmark/locafero v0.4.0 // indirect
54+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
3655
github.com/shopspring/decimal v1.3.1 // indirect
56+
github.com/sourcegraph/conc v0.3.0 // indirect
57+
github.com/spf13/afero v1.11.0 // indirect
58+
github.com/spf13/cast v1.6.0 // indirect
59+
github.com/subosito/gotenv v1.6.0 // indirect
3760
github.com/zclconf/go-cty v1.14.1 // indirect
3861
go.uber.org/multierr v1.11.0 // indirect
3962
golang.org/x/crypto v0.17.0 // indirect
4063
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b // indirect
4164
golang.org/x/exp/typeparams v0.0.0-20231226003508-02704c960a9b // indirect
65+
golang.org/x/mod v0.14.0 // indirect
66+
golang.org/x/net v0.19.0 // indirect
67+
golang.org/x/sys v0.15.0 // indirect
68+
golang.org/x/text v0.14.0 // indirect
4269
golang.org/x/tools v0.16.1 // indirect
4370
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
4471
google.golang.org/grpc v1.60.1 // indirect
4572
google.golang.org/protobuf v1.32.0 // indirect
73+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
74+
gopkg.in/ini.v1 v1.67.0 // indirect
4675
)
47-
48-
replace github.com/hashicorp/terraform-config-inspect => github.com/rquadling/terraform-config-inspect v0.0.0-20231228173330-dceb5f6e1579

go.sum

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,8 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq
13331333
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
13341334
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
13351335
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
1336+
github.com/go-test/deep v1.1.0 h1:WOcxcdHcvdgThNXjw0t76K42FXTU7HpNQWHpA2HHNlg=
1337+
github.com/go-test/deep v1.1.0/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=
13361338
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
13371339
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
13381340
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
@@ -1525,6 +1527,7 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
15251527
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
15261528
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
15271529
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
1530+
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348 h1:MtvEpTB6LX3vkb4ax0b5D2DHbNAUsen0Gx5wZoq3lV4=
15281531
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
15291532
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
15301533
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
@@ -1646,6 +1649,8 @@ github.com/rquadling/terraform-config-inspect v0.0.0-20230303172622-9dd357c8a974
16461649
github.com/rquadling/terraform-config-inspect v0.0.0-20230303172622-9dd357c8a974/go.mod h1:l8HcFPm9cQh6Q0KSWoYPiePqMvRFenybP1CH2MjKdlg=
16471650
github.com/rquadling/terraform-config-inspect v0.0.0-20231228173330-dceb5f6e1579 h1:JY8Wd6zO6W8mJVcSomrUsXce48Ujde1cTHMXpOEH80s=
16481651
github.com/rquadling/terraform-config-inspect v0.0.0-20231228173330-dceb5f6e1579/go.mod h1:l8HcFPm9cQh6Q0KSWoYPiePqMvRFenybP1CH2MjKdlg=
1652+
github.com/rquadling/terraform-config-inspect v0.0.0-20240117094320-33c0c7fd6955 h1:SsYKESseNcSs/yz0KpVX/A8gBs0WnQzruUbohxzGS3s=
1653+
github.com/rquadling/terraform-config-inspect v0.0.0-20240117094320-33c0c7fd6955/go.mod h1:5IdGifT1qXJUl0dR+hpvbdXr0yQ9Tkecb3yw8UrrUVM=
16491654
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
16501655
github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w=
16511656
github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk=

terraform/load.go

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

2525
"github.com/hashicorp/hcl/v2/hclsimple"
2626

27-
"github.com/hashicorp/terraform-config-inspect/tfconfig"
27+
"github.com/rquadling/terraform-config-inspect/tfconfig"
2828
"github.com/terraform-docs/terraform-docs/internal/reader"
2929
"github.com/terraform-docs/terraform-docs/internal/types"
3030
"github.com/terraform-docs/terraform-docs/print"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy