Skip to content

Commit 2b0f15c

Browse files
committed
Extract IaC (terraform, terragrunt, teststructure) into /v2 modules
Final modularization tier. Carves the three IaC packages into their own /v2 submodules, completing the 16-module split. - terraform requires core, httphelper, opa, ssh - terragrunt requires core, terraform - teststructure requires aws, core, k8s, opa, packer, ssh, terraform - external deps seeded from root versions (no drift) - go.work + root replaces updated; terragrunt has no root require (only its own package tests consume it), so no root replace, matching dnshelper
1 parent e67d90a commit 2b0f15c

104 files changed

Lines changed: 807 additions & 122 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

go.mod

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ require (
1010
github.com/go-sql-driver/mysql v1.10.0 // indirect
1111
github.com/google/go-containerregistry v0.20.2 // indirect
1212
github.com/google/uuid v1.6.0 // indirect
13-
github.com/gruntwork-io/go-commons v0.8.0
14-
github.com/hashicorp/go-multierror v1.1.1
13+
github.com/gruntwork-io/go-commons v0.8.0 // indirect
14+
github.com/hashicorp/go-multierror v1.1.1 // indirect
1515
github.com/hashicorp/go-version v1.9.0 // indirect
16-
github.com/hashicorp/hcl/v2 v2.22.0
17-
github.com/hashicorp/terraform-json v0.23.0
18-
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a
16+
github.com/hashicorp/hcl/v2 v2.22.0 // indirect
17+
github.com/hashicorp/terraform-json v0.23.0 // indirect
18+
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a // indirect
1919
github.com/magiconair/properties v1.8.7
20-
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326
20+
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect
2121
github.com/mitchellh/go-homedir v1.1.0 // indirect
2222
github.com/pquerna/otp v1.4.0 // indirect
2323
github.com/sirupsen/logrus v1.9.3 // indirect
2424
github.com/stretchr/testify v1.11.1
25-
github.com/tmccombs/hcl2json v0.6.4
25+
github.com/tmccombs/hcl2json v0.6.4 // indirect
2626
github.com/urfave/cli v1.22.16 // indirect
27-
github.com/zclconf/go-cty v1.15.0
27+
github.com/zclconf/go-cty v1.15.0 // indirect
2828
golang.org/x/crypto v0.52.0
2929
golang.org/x/net v0.55.0 // indirect
3030
golang.org/x/oauth2 v0.36.0 // indirect
@@ -50,6 +50,8 @@ require (
5050
github.com/gruntwork-io/terratest/modules/opa/v2 v2.0.0-00010101000000-000000000000
5151
github.com/gruntwork-io/terratest/modules/packer/v2 v2.0.0-00010101000000-000000000000
5252
github.com/gruntwork-io/terratest/modules/ssh/v2 v2.0.0-00010101000000-000000000000
53+
github.com/gruntwork-io/terratest/modules/terraform/v2 v2.0.0-00010101000000-000000000000
54+
github.com/gruntwork-io/terratest/modules/teststructure/v2 v2.0.0-00010101000000-000000000000
5355
)
5456

5557
require (
@@ -284,3 +286,7 @@ replace github.com/gruntwork-io/terratest/modules/k8s/v2 => ./modules/k8s
284286
replace github.com/gruntwork-io/terratest/modules/opa/v2 => ./modules/opa
285287

286288
replace github.com/gruntwork-io/terratest/modules/packer/v2 => ./modules/packer
289+
290+
replace github.com/gruntwork-io/terratest/modules/terraform/v2 => ./modules/terraform
291+
292+
replace github.com/gruntwork-io/terratest/modules/teststructure/v2 => ./modules/teststructure

go.work

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ use (
2323
./modules/opa
2424
./modules/packer
2525
./modules/ssh
26+
./modules/terraform
27+
./modules/terragrunt
28+
./modules/teststructure
2629
)

modules/terraform/apply_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"time"
88

99
"github.com/gruntwork-io/terratest/modules/core/v2/files"
10-
"github.com/gruntwork-io/terratest/modules/terraform"
10+
"github.com/gruntwork-io/terratest/modules/terraform/v2"
1111
"github.com/stretchr/testify/require"
1212
)
1313

modules/terraform/cmd_test.go

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

77
"github.com/gruntwork-io/terratest/modules/core/v2/files"
8-
"github.com/gruntwork-io/terratest/modules/terraform"
8+
"github.com/gruntwork-io/terratest/modules/terraform/v2"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111
)

modules/terraform/count_test.go

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

66
"github.com/gruntwork-io/terratest/modules/core/v2/files"
77
ttesting "github.com/gruntwork-io/terratest/modules/core/v2/testing"
8-
"github.com/gruntwork-io/terratest/modules/terraform"
8+
"github.com/gruntwork-io/terratest/modules/terraform/v2"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111
)

modules/terraform/format_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"testing"
66

7-
"github.com/gruntwork-io/terratest/modules/terraform"
7+
"github.com/gruntwork-io/terratest/modules/terraform/v2"
88
"github.com/stretchr/testify/assert"
99
)
1010

modules/terraform/go.mod

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
module github.com/gruntwork-io/terratest/modules/terraform/v2
2+
3+
go 1.26.0
4+
5+
require (
6+
github.com/gruntwork-io/terratest/modules/core/v2 v2.0.0-00010101000000-000000000000
7+
github.com/gruntwork-io/terratest/modules/httphelper/v2 v2.0.0-00010101000000-000000000000
8+
github.com/gruntwork-io/terratest/modules/opa/v2 v2.0.0-00010101000000-000000000000
9+
github.com/gruntwork-io/terratest/modules/ssh/v2 v2.0.0-00010101000000-000000000000
10+
github.com/hashicorp/go-multierror v1.1.1
11+
github.com/hashicorp/hcl/v2 v2.22.0
12+
github.com/hashicorp/terraform-json v0.23.0
13+
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a
14+
github.com/stretchr/testify v1.11.1
15+
github.com/tmccombs/hcl2json v0.6.4
16+
github.com/zclconf/go-cty v1.15.0
17+
)
18+
19+
require (
20+
github.com/agext/levenshtein v1.2.3 // indirect
21+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
22+
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
23+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
24+
github.com/google/go-cmp v0.7.0 // indirect
25+
github.com/hashicorp/errwrap v1.0.0 // indirect
26+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
27+
github.com/hashicorp/go-getter/v2 v2.2.3 // indirect
28+
github.com/hashicorp/go-safetemp v1.0.0 // indirect
29+
github.com/hashicorp/go-version v1.9.0 // indirect
30+
github.com/klauspost/compress v1.16.5 // indirect
31+
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect
32+
github.com/mitchellh/go-homedir v1.1.0 // indirect
33+
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
34+
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
35+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
36+
github.com/ulikunitz/xz v0.5.10 // indirect
37+
golang.org/x/crypto v0.52.0 // indirect
38+
golang.org/x/mod v0.35.0 // indirect
39+
golang.org/x/sync v0.22.0 // indirect
40+
golang.org/x/sys v0.45.0 // indirect
41+
golang.org/x/text v0.37.0 // indirect
42+
golang.org/x/tools v0.44.0 // indirect
43+
gopkg.in/yaml.v3 v3.0.1 // indirect
44+
)

modules/terraform/go.sum

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
2+
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
3+
github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY=
4+
github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
5+
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
6+
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4=
7+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
8+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
9+
github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M=
10+
github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8=
11+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
12+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
13+
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
14+
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
15+
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
16+
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
17+
github.com/hashicorp/go-getter/v2 v2.2.3 h1:6CVzhT0KJQHqd9b0pK3xSP0CM/Cv+bVhk+jcaRJ2pGk=
18+
github.com/hashicorp/go-getter/v2 v2.2.3/go.mod h1:hp5Yy0GMQvwWVUmwLs3ygivz1JSLI323hdIE9J9m7TY=
19+
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
20+
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
21+
github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo=
22+
github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I=
23+
github.com/hashicorp/go-version v1.9.0 h1:CeOIz6k+LoN3qX9Z0tyQrPtiB1DFYRPfCIBtaXPSCnA=
24+
github.com/hashicorp/go-version v1.9.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
25+
github.com/hashicorp/hcl/v2 v2.22.0 h1:hkZ3nCtqeJsDhPRFz5EA9iwcG1hNWGePOTw6oyul12M=
26+
github.com/hashicorp/hcl/v2 v2.22.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA=
27+
github.com/hashicorp/terraform-json v0.23.0 h1:sniCkExU4iKtTADReHzACkk8fnpQXrdD2xoR+lppBkI=
28+
github.com/hashicorp/terraform-json v0.23.0/go.mod h1:MHdXbBAbSg0GvzuWazEGKAn/cyNfIB7mN6y7KJN6y2c=
29+
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a h1:zPPuIq2jAWWPTrGt70eK/BSch+gFAGrNzecsoENgu2o=
30+
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a/go.mod h1:yL958EeXv8Ylng6IfnvG4oflryUi3vgA3xPs9hmII1s=
31+
github.com/klauspost/compress v1.16.5 h1:IFV2oUNUzZaz+XyusxpLzpzS8Pt5rh0Z16For/djlyI=
32+
github.com/klauspost/compress v1.16.5/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
33+
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
34+
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
35+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
36+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
37+
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 h1:ofNAzWCcyTALn2Zv40+8XitdzCgXY6e9qvXwN9W0YXg=
38+
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo=
39+
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
40+
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
41+
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
42+
github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
43+
github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
44+
github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
45+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
46+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
47+
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
48+
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
49+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
50+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
51+
github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=
52+
github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=
53+
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
54+
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
55+
github.com/zclconf/go-cty v1.15.0 h1:tTCRWxsexYUmtt/wVxgDClUe+uQusuI443uL6e+5sXQ=
56+
github.com/zclconf/go-cty v1.15.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
57+
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=
58+
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM=
59+
golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988=
60+
golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc=
61+
golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM=
62+
golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU=
63+
golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
64+
golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
65+
golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
66+
golang.org/x/sys v0.45.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
67+
golang.org/x/term v0.43.0 h1:S4RLU2sB31O/NCl+zFN9Aru9A/Cq2aqKpTZJ6B+DwT4=
68+
golang.org/x/term v0.43.0/go.mod h1:lrhlHNdQJHO+1qVYiHfFKVuVioJIheAc3fBSMFYEIsk=
69+
golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
70+
golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
71+
golang.org/x/tools v0.44.0 h1:UP4ajHPIcuMjT1GqzDWRlalUEoY+uzoZKnhOjbIPD2c=
72+
golang.org/x/tools v0.44.0/go.mod h1:KA0AfVErSdxRZIsOVipbv3rQhVXTnlU6UhKxHd1seDI=
73+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
74+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
75+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
76+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
77+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

modules/terraform/init_test.go

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

88
"github.com/gruntwork-io/terratest/modules/core/v2/files"
9-
"github.com/gruntwork-io/terratest/modules/terraform"
9+
"github.com/gruntwork-io/terratest/modules/terraform/v2"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212
)

modules/terraform/options_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55

66
"github.com/gruntwork-io/terratest/modules/core/v2/random"
7-
"github.com/gruntwork-io/terratest/modules/terraform"
7+
"github.com/gruntwork-io/terratest/modules/terraform/v2"
88
"github.com/stretchr/testify/assert"
99
"github.com/stretchr/testify/require"
1010
)

0 commit comments

Comments
 (0)