Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package terragrunt for openSUSE:Factory 
checked in at 2023-01-20 17:39:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/terragrunt (Old)
 and      /work/SRC/openSUSE:Factory/.terragrunt.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "terragrunt"

Fri Jan 20 17:39:16 2023 rev:26 rq:1059926 version:0.43.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/terragrunt/terragrunt.changes    2023-01-14 
00:04:05.438015966 +0100
+++ /work/SRC/openSUSE:Factory/.terragrunt.new.32243/terragrunt.changes 
2023-01-20 17:39:34.540818401 +0100
@@ -1,0 +2,7 @@
+Fri Jan 20 09:54:54 UTC 2023 - ka...@b1-systems.de
+
+- Update to version 0.43.0:
+  * feat: update tflint to v0.44.1 (#2422)
+  * Remove GITHUB_OAUTH_TOKEN from tflint + update docs (#2424)
+
+-------------------------------------------------------------------

Old:
----
  terragrunt-0.42.8.tar.gz

New:
----
  terragrunt-0.43.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ terragrunt.spec ++++++
--- /var/tmp/diff_new_pack.IYcrK9/_old  2023-01-20 17:39:35.540823933 +0100
+++ /var/tmp/diff_new_pack.IYcrK9/_new  2023-01-20 17:39:35.544823955 +0100
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           terragrunt
-Version:        0.42.8
+Version:        0.43.0
 Release:        0
 Summary:        Thin wrapper for Terraform for working with multiple Terraform 
modules
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.IYcrK9/_old  2023-01-20 17:39:35.580824154 +0100
+++ /var/tmp/diff_new_pack.IYcrK9/_new  2023-01-20 17:39:35.584824176 +0100
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/gruntwork-io/terragrunt</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v0.42.8</param>
+    <param name="revision">v0.43.0</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>
@@ -16,7 +16,7 @@
     <param name="compression">gz</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">terragrunt-0.42.8.tar.gz</param>
+    <param name="archive">terragrunt-0.43.0.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.IYcrK9/_old  2023-01-20 17:39:35.608824309 +0100
+++ /var/tmp/diff_new_pack.IYcrK9/_new  2023-01-20 17:39:35.612824331 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/gruntwork-io/terragrunt</param>
-              <param 
name="changesrevision">6bdeac1f935578868a7fa59bf943e54c99d0bf6a</param></service></servicedata>
+              <param 
name="changesrevision">01951a68d289fdb509652d87d3ade3460e6e08f4</param></service></servicedata>
 (No newline at EOF)
 

++++++ terragrunt-0.42.8.tar.gz -> terragrunt-0.43.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.42.8/docs/_docs/02_features/hooks.md 
new/terragrunt-0.43.0/docs/_docs/02_features/hooks.md
--- old/terragrunt-0.42.8/docs/_docs/02_features/hooks.md       2023-01-13 
10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/docs/_docs/02_features/hooks.md       2023-01-19 
16:02:25.000000000 +0100
@@ -75,13 +75,18 @@
 ```
 
 The `.tflint.hcl` should exist in the same folder as `terragrunt.hcl` or one 
of it's parents. If Terragrunt can't find
-a `.tflint.hcl` file, it won't execute tflint and return an error.
+a `.tflint.hcl` file, it won't execute tflint and return an error. All 
configurations should be in a `config` block in this
+file, as per [Tflint's 
docs](https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md).
 ```hcl
 plugin "aws" {
     enabled = true
     version = "0.21.0"
     source  = "github.com/terraform-linters/tflint-ruleset-aws"
 }
+
+config {
+  module = true
+}
 ```
 
 #### Configuration
@@ -95,7 +100,7 @@
 
 *Private rulesets*
 
-If you want to run a the `tflint` hook with custom rulesets defined in a 
private repository, you will need to export locally a valid 
`GITHUB_OAUTH_TOKEN` token. Terragrunt will take that and expose it to the 
`tflint`-recognised authentication token - `GITHUB_TOKEN`.
+If you want to run a the `tflint` hook with custom rulesets defined in a 
private repository, you will need to export locally a valid `GITHUB_TOKEN` 
token.
 
 #### Troubleshooting
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.42.8/go.mod new/terragrunt-0.43.0/go.mod
--- old/terragrunt-0.42.8/go.mod        2023-01-13 10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/go.mod        2023-01-19 16:02:25.000000000 +0100
@@ -15,7 +15,7 @@
        github.com/hashicorp/go-multierror v1.1.1
        github.com/hashicorp/go-safetemp v1.0.0
        github.com/hashicorp/go-version v1.6.0
-       github.com/hashicorp/hcl/v2 v2.14.1
+       github.com/hashicorp/hcl/v2 v2.15.0
 
        // Many functions of terraform was converted to internal to avoid use 
as a library after v0.15.3. This means that we
        // can't use terraform as a library after v0.15.3, so we pull that in 
here.
@@ -28,7 +28,7 @@
        github.com/sirupsen/logrus v1.8.1
        github.com/stretchr/testify v1.7.2
        github.com/urfave/cli v1.22.3
-       github.com/zclconf/go-cty v1.11.1
+       github.com/zclconf/go-cty v1.12.1
        go.mozilla.org/sops/v3 v3.7.2
        golang.org/x/crypto v0.5.0
        golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
@@ -55,7 +55,7 @@
        github.com/ory/dockertest v3.3.5+incompatible // indirect
        github.com/pquerna/otp v1.2.1-0.20191009055518-468c2dd2b58d // indirect
        github.com/smartystreets/goconvey v1.6.4 // indirect
-       github.com/terraform-linters/tflint v0.42.2
+       github.com/terraform-linters/tflint v0.44.1
        github.com/ulikunitz/xz v0.5.10 // indirect
        golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect
        google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8 // 
indirect
@@ -73,7 +73,7 @@
        github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
        github.com/Azure/go-autorest/logger v0.2.1 // indirect
        github.com/Azure/go-autorest/tracing v0.6.0 // indirect
-       github.com/Masterminds/semver/v3 v3.1.1 // indirect
+       github.com/Masterminds/semver/v3 v3.2.0 // indirect
        github.com/agext/levenshtein v1.2.3 // indirect
        github.com/apparentlymart/go-cidr v1.1.0 // indirect
        github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
@@ -97,13 +97,13 @@
        github.com/goware/prefixer v0.0.0-20160118172347-395022866408 // 
indirect
        github.com/gruntwork-io/gruntwork-cli v0.7.0 // indirect
        github.com/hashicorp/errwrap v1.1.0 // indirect
-       github.com/hashicorp/go-hclog v1.3.1 // indirect
-       github.com/hashicorp/go-plugin v1.4.5 // indirect
+       github.com/hashicorp/go-hclog v1.4.0 // indirect
+       github.com/hashicorp/go-plugin v1.4.8 // indirect
        github.com/hashicorp/go-rootcerts v1.0.2 // indirect
        github.com/hashicorp/go-sockaddr v1.0.2 // indirect
        github.com/hashicorp/go-uuid v1.0.3 // indirect
        github.com/hashicorp/logutils v1.0.0 // indirect
-       github.com/hashicorp/terraform-registry-address 
v0.0.0-20220623143253-7d51757b572c // indirect
+       github.com/hashicorp/terraform-registry-address v0.1.0 // indirect
        github.com/hashicorp/terraform-svchost 
v0.0.0-20200729002733-f050f53b9734 // indirect
        github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // 
indirect
        github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c // indirect
@@ -125,12 +125,12 @@
        github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
        github.com/sourcegraph/go-lsp v0.0.0-20200429204803-219e11d77f5d // 
indirect
        github.com/sourcegraph/jsonrpc2 v0.1.0 // indirect
-       github.com/spf13/afero v1.9.2 // indirect
-       github.com/terraform-linters/tflint-plugin-sdk v0.14.0 // indirect
-       github.com/terraform-linters/tflint-ruleset-terraform v0.2.1 // indirect
+       github.com/spf13/afero v1.9.3 // indirect
+       github.com/terraform-linters/tflint-plugin-sdk v0.15.0 // indirect
+       github.com/terraform-linters/tflint-ruleset-terraform v0.2.2 // indirect
        github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
        github.com/vmihailenco/tagparser v0.1.1 // indirect
-       github.com/zclconf/go-cty-yaml v1.0.2 // indirect
+       github.com/zclconf/go-cty-yaml v1.0.3 // indirect
        go.mozilla.org/gopgagent v0.0.0-20170926210634-4d7ea76ff71a // indirect
        go.opencensus.io v0.23.0 // indirect
        golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect
@@ -138,7 +138,7 @@
        golang.org/x/term v0.4.0 // indirect
        golang.org/x/text v0.6.0 // indirect
        google.golang.org/appengine v1.6.7 // indirect
-       google.golang.org/grpc v1.50.1 // indirect
+       google.golang.org/grpc v1.51.0 // indirect
        google.golang.org/protobuf v1.28.1 // indirect
        gopkg.in/ini.v1 v1.44.0 // indirect
        gopkg.in/square/go-jose.v2 v2.5.1 // indirect
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.42.8/go.sum new/terragrunt-0.43.0/go.sum
--- old/terragrunt-0.42.8/go.sum        2023-01-13 10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/go.sum        2023-01-19 16:02:25.000000000 +0100
@@ -125,8 +125,8 @@
 github.com/GoogleCloudPlatform/k8s-cloud-provider 
v0.0.0-20190822182118-27a4ced34534/go.mod 
h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14=
 github.com/Masterminds/goutils v1.1.0/go.mod 
h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
 github.com/Masterminds/semver v1.5.0/go.mod 
h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
-github.com/Masterminds/semver/v3 v3.1.1 
h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
-github.com/Masterminds/semver/v3 v3.1.1/go.mod 
h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
+github.com/Masterminds/semver/v3 v3.2.0 
h1:3MEsd0SM6jqZojhjLWWeBY+Kcjy9i6MQAeY7YgDP83g=
+github.com/Masterminds/semver/v3 v3.2.0/go.mod 
h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
 github.com/Masterminds/sprig v2.22.0+incompatible/go.mod 
h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
 github.com/Microsoft/go-winio v0.4.14/go.mod 
h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
 github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod 
h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
@@ -346,7 +346,7 @@
 github.com/go-test/deep v1.0.2-0.20181118220953-042da051cf31/go.mod 
h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
 github.com/go-test/deep v1.0.2/go.mod 
h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
 github.com/go-test/deep v1.0.3/go.mod 
h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
-github.com/go-test/deep v1.0.8 h1:TDsG77qcSprGbC6vTN8OuXp5g+J+b5Pcguhf7Zt61VM=
+github.com/go-test/deep v1.1.0 h1:WOcxcdHcvdgThNXjw0t76K42FXTU7HpNQWHpA2HHNlg=
 github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod 
h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
 github.com/godbus/dbus/v5 v5.0.4/go.mod 
h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
 github.com/godbus/dbus/v5 v5.0.6/go.mod 
h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
@@ -411,7 +411,6 @@
 github.com/google/go-cmp v0.5.4/go.mod 
h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.5.5/go.mod 
h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.5.6/go.mod 
h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.8/go.mod 
h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
 github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
 github.com/google/go-cmp v0.5.9/go.mod 
h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
 github.com/google/go-containerregistry 
v0.0.0-20200110202235-f4fb41bf00a3/go.mod 
h1:2wIuQute9+hhWqvL3vEI7YB0EKluF4WcPzI1eAliazk=
@@ -505,8 +504,8 @@
 github.com/hashicorp/go-hclog v0.12.0/go.mod 
h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
 github.com/hashicorp/go-hclog v0.14.1/go.mod 
h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
 github.com/hashicorp/go-hclog v0.15.0/go.mod 
h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
-github.com/hashicorp/go-hclog v1.3.1 
h1:vDwF1DFNZhntP4DAjuTpOw3uEgMUpXh1pB5fW9DqHpo=
-github.com/hashicorp/go-hclog v1.3.1/go.mod 
h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
+github.com/hashicorp/go-hclog v1.4.0 
h1:ctuWFGrhFha8BnnzxqeRGidlEcQkDyL5u8J8t5eA11I=
+github.com/hashicorp/go-hclog v1.4.0/go.mod 
h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
 github.com/hashicorp/go-immutable-radix 
v0.0.0-20180129170900-7f3cd4390caa/go.mod 
h1:6ij3Z20p+OhOkCSrA0gImAWoHYQRGbnlcuk6XYTiaRw=
 github.com/hashicorp/go-immutable-radix v1.0.0/go.mod 
h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
 github.com/hashicorp/go-immutable-radix v1.1.0/go.mod 
h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
@@ -518,8 +517,8 @@
 github.com/hashicorp/go-multierror v1.1.1/go.mod 
h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
 github.com/hashicorp/go-plugin v1.0.1/go.mod 
h1:++UyYGoz3o5w9ZzAdZxtQKrWWP+iqPBn3cQptSMzBuY=
 github.com/hashicorp/go-plugin v1.4.1/go.mod 
h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ=
-github.com/hashicorp/go-plugin v1.4.5 
h1:oTE/oQR4eghggRg8VY7PAz3dr++VwDNBGCcOfIvHpBo=
-github.com/hashicorp/go-plugin v1.4.5/go.mod 
h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s=
+github.com/hashicorp/go-plugin v1.4.8 
h1:CHGwpxYDOttQOY7HOWgETU9dyVjOXzniXDqJcYJE1zM=
+github.com/hashicorp/go-plugin v1.4.8/go.mod 
h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s=
 github.com/hashicorp/go-retryablehttp v0.5.2/go.mod 
h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
 github.com/hashicorp/go-retryablehttp v0.5.3/go.mod 
h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
 github.com/hashicorp/go-retryablehttp v0.6.2/go.mod 
h1:gEx6HMUGxYYhJScX7W1Il64m6cc2C1mDaW3NQ9sY1FY=
@@ -557,8 +556,8 @@
 github.com/hashicorp/hcl v1.0.1-vault/go.mod 
h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
 github.com/hashicorp/hcl/v2 v2.0.0/go.mod 
h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90=
 github.com/hashicorp/hcl/v2 v2.10.0/go.mod 
h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg=
-github.com/hashicorp/hcl/v2 v2.14.1 
h1:x0BpjfZ+CYdbiz+8yZTQ+gdLO7IXvOut7Da+XJayx34=
-github.com/hashicorp/hcl/v2 v2.14.1/go.mod 
h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0=
+github.com/hashicorp/hcl/v2 v2.15.0 
h1:CPDXO6+uORPjKflkWCCwoWc9uRp+zSIPcCQ+BrxV7m8=
+github.com/hashicorp/hcl/v2 v2.15.0/go.mod 
h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng=
 github.com/hashicorp/jsonapi v0.0.0-20210420151930-edf82c9774bf/go.mod 
h1:Yog5+CPEM3c99L1CL2CFCYoSzgWm5vTU58idbRUaLik=
 github.com/hashicorp/logutils v1.0.0 
h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
 github.com/hashicorp/logutils v1.0.0/go.mod 
h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
@@ -569,8 +568,8 @@
 github.com/hashicorp/terraform-config-inspect 
v0.0.0-20210209133302-4fd17a0faac2/go.mod 
h1:Z0Nnk4+3Cy89smEbrq+sl1bxc9198gIP4I7wcQF6Kqs=
 github.com/hashicorp/terraform-config-inspect 
v0.0.0-20210318070130-9a80970d6b34 
h1:y4kOB9aYVSsJWVqewwUZmHxPSNjkDbOeW7eb9yFIc3Q=
 github.com/hashicorp/terraform-config-inspect 
v0.0.0-20210318070130-9a80970d6b34/go.mod 
h1:Z0Nnk4+3Cy89smEbrq+sl1bxc9198gIP4I7wcQF6Kqs=
-github.com/hashicorp/terraform-registry-address 
v0.0.0-20220623143253-7d51757b572c 
h1:D8aRO6+mTqHfLsK/BC3j5OAoogv1WLRWzY1AaTo3rBg=
-github.com/hashicorp/terraform-registry-address 
v0.0.0-20220623143253-7d51757b572c/go.mod 
h1:Wn3Na71knbXc1G8Lh+yu/dQWWJeFQEpDeJMtWMtlmNI=
+github.com/hashicorp/terraform-registry-address v0.1.0 
h1:W6JkV9wbum+m516rCl5/NjKxCyTVaaUBbzYcMzBDO3U=
+github.com/hashicorp/terraform-registry-address v0.1.0/go.mod 
h1:EnyO2jYO6j29DTHbJcm00E5nQTFeTtyZH3H5ycydQ5A=
 github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 
h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0=
 github.com/hashicorp/terraform-svchost 
v0.0.0-20200729002733-f050f53b9734/go.mod 
h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg=
 github.com/hashicorp/vault/api v1.0.5-0.20200519221902-385fac77e20f/go.mod 
h1:euTFbi2YJgwcju3imEt919lhJKF68nN1cQPq3aA+kBE=
@@ -846,8 +845,8 @@
 github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod 
h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
 github.com/spf13/afero v1.1.2/go.mod 
h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
 github.com/spf13/afero v1.2.2/go.mod 
h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
-github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw=
-github.com/spf13/afero v1.9.2/go.mod 
h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
+github.com/spf13/afero v1.9.3 h1:41FoI0fD7OR7mGcKE/aOiLkGreyf8ifIOQmJANWogMk=
+github.com/spf13/afero v1.9.3/go.mod 
h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
 github.com/spf13/cast v1.3.0/go.mod 
h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
 github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod 
h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
 github.com/spf13/cobra v0.0.3/go.mod 
h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
@@ -876,12 +875,12 @@
 github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod 
h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
 github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible/go.mod 
h1:0PfYow01SHPMhKY31xa+EFz2RStxIqj6JFAJS+IkCi4=
 github.com/tencentyun/cos-go-sdk-v5 v0.0.0-20190808065407-f07404cefc8c/go.mod 
h1:wk2XFUg6egk4tSDNZtXeKfe2G6690UVyt163PuUxBZk=
-github.com/terraform-linters/tflint v0.42.2 
h1:Jv9qRFsFte8Vp3NsaBRC106gGeyN1z559vGc7b2BXa8=
-github.com/terraform-linters/tflint v0.42.2/go.mod 
h1:edfev/tJYLQyBKwaNYLkX8Gze/OV5m8qo3kZCxuOajA=
-github.com/terraform-linters/tflint-plugin-sdk v0.14.0 
h1:OxrOQGYzcaGdStGid0Uk8MPLL/rAsINPBj/YZRU2jCw=
-github.com/terraform-linters/tflint-plugin-sdk v0.14.0/go.mod 
h1:XTwUT3Pj5Vp2Q+XkdNeNXg51MYGU/0X3ZxAxPOzHntg=
-github.com/terraform-linters/tflint-ruleset-terraform v0.2.1 
h1:xCBhLmRyPc0rhAD1Ar5hi1ja4ZSzMP3XEH58GBRH2vI=
-github.com/terraform-linters/tflint-ruleset-terraform v0.2.1/go.mod 
h1:tHCcf0QjilDhjgkbx+meSV9BAYwd3bP3s/YczupbPQM=
+github.com/terraform-linters/tflint v0.44.1 
h1:rwrWsuk7H0Vab4U1APEc7715o2wLXw2I5I+XwlF3v/4=
+github.com/terraform-linters/tflint v0.44.1/go.mod 
h1:UtpcW0YZxBHbhtgyiOWIRJ9GwQ03ENRRTy4Q30yhN8s=
+github.com/terraform-linters/tflint-plugin-sdk v0.15.0 
h1:bUJ9OskzT/I98XaJ5+rs7ymVPHiGT8oI4bG86LkopVY=
+github.com/terraform-linters/tflint-plugin-sdk v0.15.0/go.mod 
h1:enH5i7SHelcvC2AGZavEJzcrRF7nhAaOwTdaBjr/Zjo=
+github.com/terraform-linters/tflint-ruleset-terraform v0.2.2 
h1:iTE09KkaZ0DE29xvp6IIM1/gmas9V0h8CER28SyBmQ8=
+github.com/terraform-linters/tflint-ruleset-terraform v0.2.2/go.mod 
h1:bCkvH8Vqzr16bWEE3e6Q3hvdZlmSAOR8i6G3M5y+M+k=
 github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod 
h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
 github.com/tmc/grpc-websocket-proxy v0.0.0-20171017195756-830351dc03c6/go.mod 
h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
 github.com/tombuildsstuff/giovanni v0.15.1/go.mod 
h1:0TZugJPEtqzPlMpuJHYfXY6Dq2uLPrXf98D2XQSxNbA=
@@ -925,11 +924,12 @@
 github.com/zclconf/go-cty v1.8.0/go.mod 
h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
 github.com/zclconf/go-cty v1.8.3/go.mod 
h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
 github.com/zclconf/go-cty v1.10.0/go.mod 
h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
-github.com/zclconf/go-cty v1.11.1 
h1:UMMYDL4riBFaPdzjEWcDdWG7x/Adz8E8f9OX/MGR7V4=
-github.com/zclconf/go-cty v1.11.1/go.mod 
h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA=
+github.com/zclconf/go-cty v1.12.1 
h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY=
+github.com/zclconf/go-cty v1.12.1/go.mod 
h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA=
 github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod 
h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
-github.com/zclconf/go-cty-yaml v1.0.2 
h1:dNyg4QLTrv2IfJpm7Wtxi55ed5gLGOlPrZ6kMd51hY0=
 github.com/zclconf/go-cty-yaml v1.0.2/go.mod 
h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0=
+github.com/zclconf/go-cty-yaml v1.0.3 
h1:og/eOQ7lvA/WWhHGFETVWNduJM7Rjsv2RRpx1sdFMLc=
+github.com/zclconf/go-cty-yaml v1.0.3/go.mod 
h1:9YLUH4g7lOhVWqUbctnVlZ5KLpg7JAprQNgxSZ1Gyxs=
 go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
 go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod 
h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=
 go.mozilla.org/gopgagent v0.0.0-20170926210634-4d7ea76ff71a 
h1:N7VD+PwpJME2ZfQT8+ejxwA4Ow10IkGbU0MGf94ll8k=
@@ -1414,8 +1414,8 @@
 google.golang.org/grpc v1.39.0/go.mod 
h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
 google.golang.org/grpc v1.39.1/go.mod 
h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
 google.golang.org/grpc v1.40.0/go.mod 
h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
-google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY=
-google.golang.org/grpc v1.50.1/go.mod 
h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
+google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U=
+google.golang.org/grpc v1.51.0/go.mod 
h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww=
 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod 
h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
 google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod 
h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
 google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod 
h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/issues-found/terragrunt.hcl 
new/terragrunt-0.43.0/test/fixture-tflint/issues-found/terragrunt.hcl
--- old/terragrunt-0.42.8/test/fixture-tflint/issues-found/terragrunt.hcl       
2023-01-13 10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/issues-found/terragrunt.hcl       
2023-01-19 16:02:25.000000000 +0100
@@ -8,6 +8,6 @@
 }
 
 inputs = {
-  aws_region = "eu-central-1"
+  aws_region = "us-west-2"
   env = "dev"
-}
\ No newline at end of file
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/module-found/.tflint.hcl 
new/terragrunt-0.43.0/test/fixture-tflint/module-found/.tflint.hcl
--- old/terragrunt-0.42.8/test/fixture-tflint/module-found/.tflint.hcl  
1970-01-01 01:00:00.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/module-found/.tflint.hcl  
2023-01-19 16:02:25.000000000 +0100
@@ -0,0 +1,9 @@
+config {
+  module = true
+}
+
+plugin "terraform" {
+  enabled = true
+  version = "0.2.1"
+  source  = "github.com/terraform-linters/tflint-ruleset-terraform"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/module-found/dummy_module/main.tf 
new/terragrunt-0.43.0/test/fixture-tflint/module-found/dummy_module/main.tf
--- old/terragrunt-0.42.8/test/fixture-tflint/module-found/dummy_module/main.tf 
1970-01-01 01:00:00.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/module-found/dummy_module/main.tf 
2023-01-19 16:02:25.000000000 +0100
@@ -0,0 +1 @@
+resource "null_resource" "dummy" {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/module-found/main.tf 
new/terragrunt-0.43.0/test/fixture-tflint/module-found/main.tf
--- old/terragrunt-0.42.8/test/fixture-tflint/module-found/main.tf      
1970-01-01 01:00:00.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/module-found/main.tf      
2023-01-19 16:02:25.000000000 +0100
@@ -0,0 +1,9 @@
+terraform {
+  required_version = ">= 1.2.7"
+  required_providers {
+  }
+}
+
+module "dummy_module" {
+  source = "./dummy_module"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/module-found/terragrunt.hcl 
new/terragrunt-0.43.0/test/fixture-tflint/module-found/terragrunt.hcl
--- old/terragrunt-0.42.8/test/fixture-tflint/module-found/terragrunt.hcl       
1970-01-01 01:00:00.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/module-found/terragrunt.hcl       
2023-01-19 16:02:25.000000000 +0100
@@ -0,0 +1,13 @@
+terraform {
+  source = "."
+
+  before_hook "tflint" {
+    commands = ["apply", "plan"]
+    execute = ["tflint"]
+  }
+}
+
+inputs = {
+  aws_region = "us-west-2"
+  env = "dev"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/no-config-file/terragrunt.hcl 
new/terragrunt-0.43.0/test/fixture-tflint/no-config-file/terragrunt.hcl
--- old/terragrunt-0.42.8/test/fixture-tflint/no-config-file/terragrunt.hcl     
2023-01-13 10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/no-config-file/terragrunt.hcl     
2023-01-19 16:02:25.000000000 +0100
@@ -8,6 +8,6 @@
 }
 
 inputs = {
-  aws_region = "eu-central-1"
+  aws_region = "us-west-2"
   env = "dev"
-}
\ No newline at end of file
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/terragrunt-0.42.8/test/fixture-tflint/no-issues-found/terragrunt.hcl 
new/terragrunt-0.43.0/test/fixture-tflint/no-issues-found/terragrunt.hcl
--- old/terragrunt-0.42.8/test/fixture-tflint/no-issues-found/terragrunt.hcl    
2023-01-13 10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/test/fixture-tflint/no-issues-found/terragrunt.hcl    
2023-01-19 16:02:25.000000000 +0100
@@ -8,6 +8,6 @@
 }
 
 inputs = {
-  aws_region = "eu-central-1"
+  aws_region = "us-west-2"
   env = "dev"
-}
\ No newline at end of file
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.42.8/test/integration_test.go 
new/terragrunt-0.43.0/test/integration_test.go
--- old/terragrunt-0.42.8/test/integration_test.go      2023-01-13 
10:25:35.000000000 +0100
+++ new/terragrunt-0.43.0/test/integration_test.go      2023-01-19 
16:02:25.000000000 +0100
@@ -136,6 +136,7 @@
        TEST_FIXTURE_TFLINT_NO_ISSUES_FOUND                     = 
"fixture-tflint/no-issues-found"
        TEST_FIXTURE_TFLINT_ISSUES_FOUND                        = 
"fixture-tflint/issues-found"
        TEST_FIXTURE_TFLINT_NO_CONFIG_FILE                      = 
"fixture-tflint/no-config-file"
+       TEST_FIXTURE_TFLINT_MODULE_FOUND                        = 
"fixture-tflint/module-found"
        TERRAFORM_BINARY                                        = "terraform"
        TERRAFORM_FOLDER                                        = ".terraform"
        TERRAFORM_STATE                                         = 
"terraform.tfstate"
@@ -5240,6 +5241,18 @@
        err := runTerragruntCommand(t, fmt.Sprintf("terragrunt plan 
--terragrunt-working-dir %s", modulePath), out, errOut)
        assert.NoError(t, err)
 
+       assert.NotContains(t, errOut.String(), "Error while running tflint with 
args:")
+       assert.NotContains(t, errOut.String(), "Tflint found issues in the 
project. Check for the tflint logs above.")
+}
+
+func TestTflintFindsModule(t *testing.T) {
+       out := new(bytes.Buffer)
+       errOut := new(bytes.Buffer)
+       rootPath := copyEnvironmentWithTflint(t, 
TEST_FIXTURE_TFLINT_MODULE_FOUND)
+       modulePath := util.JoinPath(rootPath, TEST_FIXTURE_TFLINT_MODULE_FOUND)
+       err := runTerragruntCommand(t, fmt.Sprintf("terragrunt plan 
--terragrunt-working-dir %s", modulePath), out, errOut)
+       assert.NoError(t, err)
+
        assert.NotContains(t, errOut.String(), "Error while running tflint with 
args:")
        assert.NotContains(t, errOut.String(), "Tflint found issues in the 
project. Check for the tflint logs above.")
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/terragrunt-0.42.8/tflint/tflint.go 
new/terragrunt-0.43.0/tflint/tflint.go
--- old/terragrunt-0.42.8/tflint/tflint.go      2023-01-13 10:25:35.000000000 
+0100
+++ new/terragrunt-0.43.0/tflint/tflint.go      2023-01-19 16:02:25.000000000 
+0100
@@ -5,7 +5,6 @@
 
 import (
        "fmt"
-       "os"
        "path/filepath"
 
        "github.com/gruntwork-io/terragrunt/config"
@@ -27,31 +26,24 @@
                return err
        }
 
-       // Get GITHUB_OAUTH_TOKEN and set it as GITHUB_TOKEN so that tflint 
recognises and respects it
-       githubOauthToken := os.Getenv("GITHUB_OAUTH_TOKEN")
-       if githubOauthToken != "" {
-               err := os.Setenv("GITHUB_TOKEN", githubOauthToken)
-               if err != nil {
-                       return errors.WithStackTrace(err)
-               }
-
-               terragruntOptions.Logger.Debugf("Setting GITHUB_TOKEN to the 
value of GITHUB_OAUTH_TOKEN")
-       }
-
        terragruntOptions.Logger.Debugf("Initializing tflint in directory %s", 
terragruntOptions.WorkingDir)
-       cli := cmd.NewCLI(terragruntOptions.Writer, terragruntOptions.ErrWriter)
+       cli, err := cmd.NewCLI(terragruntOptions.Writer, 
terragruntOptions.ErrWriter)
+       if err != nil {
+               return errors.WithStackTrace(err)
+       }
 
+       // tflint init
        initArgs := []string{"tflint", "--init", "--config", configFile, 
terragruntOptions.WorkingDir}
        statusCode := cli.Run(initArgs)
        if statusCode != 0 {
                return errors.WithStackTrace(ErrorRunningTflint{args: initArgs})
        }
 
+       // tflint execution
        args := []string{"tflint"}
        args = append(args, variables...)
        args = append(args, "--config", configFile)
-       args = append(args, "--module")
-       args = append(args, terragruntOptions.WorkingDir)
+       args = append(args, "--chdir", terragruntOptions.WorkingDir)
 
        terragruntOptions.Logger.Debugf("Running tflint with args %v", args)
        statusCode = cli.Run(args)

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/terragrunt/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.terragrunt.new.32243/vendor.tar.gz differ: char 5, 
line 1

Reply via email to