Skip to content

Commit 105a0db

Browse files
fix(deps): Update go modules (#1323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Peabody <[email protected]>
1 parent 4dbe0f8 commit 105a0db

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

helpers/foundation-deployer/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ module github.com/terraform-google-modules/terraform-example-foundation/helpers/
22

33
go 1.22
44

5-
toolchain go1.22.5
5+
toolchain go1.22.6
66

77
require (
88
github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.1
99
github.com/gruntwork-io/terratest v0.47.0
1010
github.com/hashicorp/hcl/v2 v2.21.0
1111
github.com/mitchellh/go-testing-interface v1.14.2-0.20210821155943-2d9075ca8770
1212
github.com/stretchr/testify v1.9.0
13-
github.com/terraform-google-modules/terraform-example-foundation/test/integration v0.0.0-20240530101341-20e72789e0ac
13+
github.com/terraform-google-modules/terraform-example-foundation/test/integration v0.0.0-20240808135927-5f1fd0f4104a
1414
github.com/tidwall/gjson v1.17.3
1515
)
1616

@@ -55,7 +55,7 @@ require (
5555
golang.org/x/crypto v0.21.0 // indirect
5656
golang.org/x/mod v0.19.0 // indirect
5757
golang.org/x/net v0.23.0 // indirect
58-
golang.org/x/oauth2 v0.20.0 // indirect
58+
golang.org/x/oauth2 v0.22.0 // indirect
5959
golang.org/x/sync v0.4.0 // indirect
6060
golang.org/x/sys v0.18.0 // indirect
6161
golang.org/x/text v0.14.0 // indirect

helpers/foundation-deployer/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
410410
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
411411
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
412412
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
413-
github.com/terraform-google-modules/terraform-example-foundation/test/integration v0.0.0-20240530101341-20e72789e0ac h1:hKmWS3gfdchjfK1xC6z0Tll65D+Poxr0aBCgRgGoaNs=
414-
github.com/terraform-google-modules/terraform-example-foundation/test/integration v0.0.0-20240530101341-20e72789e0ac/go.mod h1:tQ3UD4Hq6eDIfxNp5qKK6UVePeTc+fQBUqjx8jN/NyM=
413+
github.com/terraform-google-modules/terraform-example-foundation/test/integration v0.0.0-20240808135927-5f1fd0f4104a h1:4Ih0BauwdUTF+YuA55/qY8Q+d5brYKPpae0YWkB9D2A=
414+
github.com/terraform-google-modules/terraform-example-foundation/test/integration v0.0.0-20240808135927-5f1fd0f4104a/go.mod h1:p8CvVuYRey5Nb8dipH5KM+eY+TnqfLgDnQ5M1a7oHiw=
415415
github.com/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
416416
github.com/tidwall/gjson v1.17.3 h1:bwWLZU7icoKRG+C+0PNwIKC6FCJO/Q3p2pZvuP0jN94=
417417
github.com/tidwall/gjson v1.17.3/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
@@ -567,8 +567,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri
567567
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
568568
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
569569
golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A=
570-
golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo=
571-
golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
570+
golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA=
571+
golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
572572
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
573573
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
574574
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

helpers/foundation-deployer/steps/steps_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func TestProcessSteps(t *testing.T) {
7777
badStepMsg := "bad step"
7878
assert.False(t, s.IsStepComplete("bad"), "check if 'bad' is 'COMPLETED' should be false")
7979
err = s.RunStep("bad", func() error {
80-
return fmt.Errorf(badStepMsg)
80+
return fmt.Errorf("%s", badStepMsg)
8181
})
8282
assert.Error(t, err)
8383
assert.False(t, s.IsStepComplete("bad"), "check if 'bad' is 'COMPLETED' should be false")
@@ -86,7 +86,7 @@ func TestProcessSteps(t *testing.T) {
8686
// complete states are not executed again
8787
assert.True(t, s.IsStepComplete("good"), "check if 'good' is 'COMPLETED' should be true")
8888
err = s.RunStep("good", func() error {
89-
return fmt.Errorf("will fail if executed")
89+
return fmt.Errorf("%s", "will fail if executed")
9090
})
9191
assert.NoError(t, err)
9292
assert.True(t, s.IsStepComplete("good"), "check if 'good' is 'COMPLETED' should be true")
@@ -103,7 +103,7 @@ func TestProcessSteps(t *testing.T) {
103103
assert.NoError(t, err)
104104
assert.False(t, s.IsStepDestroyed("destroy"), "check if 'destroy' is 'DESTROYED' should be false")
105105
err = s.RunDestroyStep("destroy", func() error {
106-
return fmt.Errorf(badStepMsg)
106+
return fmt.Errorf("%s", badStepMsg)
107107
})
108108
assert.Error(t, err)
109109
assert.False(t, s.IsStepDestroyed("destroy"), "check if 'destroy' is 'DESTROYED' should be false")
@@ -113,7 +113,7 @@ func TestProcessSteps(t *testing.T) {
113113
assert.NoError(t, err)
114114
assert.True(t, s.IsStepDestroyed("gone"), "check if 'gone' is 'DESTROYED' should be true")
115115
err = s.RunDestroyStep("gone", func() error {
116-
return fmt.Errorf("will fail if executed")
116+
return fmt.Errorf("%s", "will fail if executed")
117117
})
118118
assert.NoError(t, err)
119119
assert.True(t, s.IsStepDestroyed("gone"), "check if 'gone' is 'DESTROYED' should be true")

test/integration/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/terraform-google-modules/terraform-example-foundation/test/int
22

33
go 1.22
44

5-
toolchain go1.22.5
5+
toolchain go1.22.6
66

77
require (
88
github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.1

0 commit comments

Comments
 (0)