diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3980ebd48..e3dfdfd53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.3 with: - go-version: 1.16 + go-version: 1.17 - name: Restore Cache uses: actions/cache@v2.1.6 with: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index b61fd5508..3a6452eb0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.3 with: - go-version: 1.16 + go-version: 1.17 - name: Restore Cache uses: actions/cache@v2.1.6 with: diff --git a/.github/workflows/generated_code_checks.yml b/.github/workflows/generated_code_checks.yml index 84badf564..214196170 100644 --- a/.github/workflows/generated_code_checks.yml +++ b/.github/workflows/generated_code_checks.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.3 with: - go-version: 1.16 + go-version: 1.17 - name: Restore Cache uses: actions/cache@v2.1.6 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c13498330..3329b5a43 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.3 with: - go-version: 1.16 + go-version: 1.17 - name: Run linters run: | export PATH=$PATH:$(go env GOPATH)/bin diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af1b12f75..1be556df1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2.1.3 with: - go-version: 1.16 + go-version: 1.17 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: diff --git a/Dockerfile b/Dockerfile index dd1c2a888..7963c5a49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.16-alpine3.14 as builder +FROM golang:1.17-alpine3.14 as builder RUN apk add --no-cache make diff --git a/go.mod b/go.mod index c605f6ff1..d9419a248 100644 --- a/go.mod +++ b/go.mod @@ -1,44 +1,75 @@ module github.com/terraform-linters/tflint -go 1.16 +go 1.17 require ( + cloud.google.com/go v0.65.0 // indirect + cloud.google.com/go/storage v1.10.0 // indirect github.com/Masterminds/semver/v3 v3.1.1 github.com/agext/levenshtein v1.2.3 github.com/apparentlymart/go-cidr v1.1.0 + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/apparentlymart/go-versions v1.0.1 + github.com/aws/aws-sdk-go v1.40.17 // indirect + github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bmatcuk/doublestar v1.3.4 github.com/fatih/color v1.12.0 + github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect github.com/golang/mock v1.6.0 + github.com/golang/protobuf v1.4.2 // indirect github.com/google/go-cmp v0.5.6 github.com/google/go-github/v35 v35.3.0 + github.com/google/go-querystring v1.0.0 // indirect github.com/google/uuid v1.3.0 + github.com/googleapis/gax-go/v2 v2.0.5 // indirect + github.com/hashicorp/aws-sdk-go-base v0.7.1 // indirect github.com/hashicorp/errwrap v1.1.0 github.com/hashicorp/go-cleanhttp v0.5.2 github.com/hashicorp/go-getter v1.5.7 + github.com/hashicorp/go-hclog v0.16.2 // indirect github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-plugin v1.4.2 + github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-uuid v1.0.2 github.com/hashicorp/go-version v1.3.0 github.com/hashicorp/hcl/v2 v2.10.1 github.com/hashicorp/logutils v1.0.0 github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 + github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect github.com/jessevdk/go-flags v1.5.0 + github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jstemmer/go-junit-report v0.9.1 + github.com/klauspost/compress v1.11.2 // indirect github.com/mattn/go-colorable v0.1.8 + github.com/mattn/go-isatty v0.0.12 // indirect github.com/mitchellh/go-homedir v1.1.0 + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/go-wordwrap v1.0.0 // indirect + github.com/oklog/run v1.0.0 // indirect github.com/sourcegraph/go-lsp v0.0.0-20181119182933-0c7d621186c1 github.com/sourcegraph/jsonrpc2 v0.1.0 github.com/spf13/afero v1.2.2 // matches version used by terraform github.com/terraform-linters/tflint-plugin-sdk v0.9.1 github.com/terraform-linters/tflint-ruleset-aws v0.6.0 + github.com/ulikunitz/xz v0.5.8 // indirect + github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect + github.com/vmihailenco/tagparser v0.1.1 // indirect github.com/zclconf/go-cty v1.9.0 github.com/zclconf/go-cty-yaml v1.0.2 + go.opencensus.io v0.22.4 // indirect golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 + golang.org/x/mod v0.4.2 // indirect golang.org/x/net v0.0.0-20210614182718-04defd469f4e golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84 + golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf // indirect golang.org/x/text v0.3.7 + golang.org/x/tools v0.1.1 // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect google.golang.org/api v0.34.0 // indirect + google.golang.org/appengine v1.6.6 // indirect + google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d // indirect + google.golang.org/grpc v1.32.0 // indirect + google.golang.org/protobuf v1.25.0 // indirect )