Skip to content

Commit

Permalink
update hashicorp/hcl/v2 to v2.12.0 and hashicorp/terraform-exec to v0…
Browse files Browse the repository at this point in the history
….17.2 (#64)
  • Loading branch information
katbyte authored Aug 8, 2022
1 parent 3cd4a9c commit b22ac08
Show file tree
Hide file tree
Showing 108 changed files with 9,146 additions and 5,408 deletions.
2 changes: 1 addition & 1 deletion cli/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var diffTestcases = []struct {
sourcefile: "testdata/bad_terraform.go",
resultfile: "testdata/bad_terraform_diff.go.txt",
errMsg: []string{
"block 2 @ %s:16 failed to process with: failed to parse hcl: testdata/bad_terraform.go:3,1-1:",
"block 2 @ %s:16 failed to process with: failed to parse hcl: testdata/bad_terraform.go:1,37-38: Unclosed configuration block; There is no closing brace for this block before the end of the file. This may be caused by incorrect brace nesting elsewhere in this file.\\nresource \\",
},
lineCount: 20,
unformattedBlockCount: 1,
Expand Down
2 changes: 1 addition & 1 deletion cli/fmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var fmtTestcases = []struct {
sourcefile: "testdata/bad_terraform.go",
resultfile: "testdata/bad_terraform_fmt.go",
errMsg: []string{
"block 2 @ %s:16 failed to process with: failed to parse hcl: %s:3,1-1:",
"block 2 @ %s:16 failed to process with: failed to parse hcl: %s:1,37-38: Unclosed configuration block; There is no closing brace for this block before the end of the file. This may be caused by incorrect brace nesting elsewhere in this file.\\nresource \\",
},
lineCount: 20,
updatedBlockCount: 1,
Expand Down
16 changes: 9 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ require (
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/hc-install v0.4.0
github.com/hashicorp/hcl/v2 v2.6.0
github.com/hashicorp/terraform-exec v0.12.0
github.com/hashicorp/hcl/v2 v2.13.0
github.com/hashicorp/terraform-exec v0.17.2
github.com/kylelemons/godebug v1.1.0
github.com/sirupsen/logrus v1.9.0
github.com/spf13/afero v1.9.2
github.com/spf13/cobra v1.5.0
github.com/spf13/viper v1.12.0
golang.org/x/tools v0.1.5

)

require (
cloud.google.com/go/iam v0.3.0 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v12 v12.0.0 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/terraform-json v0.8.0 // indirect
github.com/hashicorp/terraform-json v0.14.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
Expand All @@ -40,11 +40,13 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.3.0 // indirect
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
github.com/zclconf/go-cty v1.5.1 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
github.com/zclconf/go-cty v1.10.0 // indirect
golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167 // indirect
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

exclude github.com/sergi/go-diff v1.2.0
250 changes: 18 additions & 232 deletions go.sum

Large diffs are not rendered by default.

290 changes: 0 additions & 290 deletions vendor/github.com/apparentlymart/go-textseg/v12/textseg/emoji_table.rl

This file was deleted.

Loading

0 comments on commit b22ac08

Please sign in to comment.