Require Go 1.18; Bump github.com/zclconf/go-cty from 1.10.0 to 1.11.0 (#331)
* Bump github.com/zclconf/go-cty from 1.10.0 to 1.11.0
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zclconf/go-cty/compare/v1.10.0...v1.11.0)
---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* require Go 1.18
* use new circleci imgs
* use new windows orb
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katy Moe <katy@katy.moe>
diff --git a/.circleci/config.yml b/.circleci/config.yml
index c1bd2ba..6147861 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,7 +1,7 @@
version: 2.1
orbs:
- win: circleci/windows@2.2.0
+ win: circleci/windows@5.0
slack: circleci/slack@4.2.0
commands:
@@ -57,15 +57,15 @@
- go_e2e_test
# previous stable Go version
- go116_build:
+ go118_build:
docker:
- - image: circleci/golang:1.16
+ - image: cimg/go:1.18
steps:
- checkout
- go_build
- go116_test:
+ go118_test:
docker:
- - image: circleci/golang:1.16
+ - image: cimg/go:1.18
parameters:
test_results:
type: string
@@ -75,15 +75,15 @@
- go_unit_test
# latest stable Go version
- go117_build:
+ go119_build:
docker:
- - image: circleci/golang:1.17
+ - image: cimg/go:1.19
steps:
- checkout
- go_build
- go117_test:
+ go119_test:
docker:
- - image: circleci/golang:1.17
+ - image: cimg/go:1.19
parameters:
test_results:
type: string
@@ -91,11 +91,11 @@
steps:
- checkout
- go_unit_test
- go117_test_main:
+ go119_test_main:
environment:
TFEXEC_E2ETEST_VERSIONS: refs/heads/main
docker:
- - image: circleci/golang:1.17
+ - image: cimg/go:1.19
parameters:
test_results:
type: string
@@ -104,21 +104,21 @@
- checkout
- go_unit_test
- go_e2e_test
- go117_vet:
+ go119_vet:
docker:
- - image: circleci/golang:1.17
+ - image: cimg/go:1.19
steps:
- checkout
- run: go vet ./...
- go117_fmt:
+ go119_fmt:
docker:
- - image: circleci/golang:1.17
+ - image: cimg/go:1.19
steps:
- checkout
- run: gofmt -s -l .
- go117_release:
+ go119_release:
docker:
- - image: circleci/golang:1.17
+ - image: cimg/go:1.9
steps:
- add_ssh_keys:
fingerprints:
@@ -133,23 +133,23 @@
- winbuildtest
- macosbuildtest
- - go116_build
- - go116_test:
+ - go118_build
+ - go118_test:
requires:
- - go116_build
- - go117_build
- - go117_test:
+ - go118_build
+ - go119_build
+ - go119_test:
requires:
- - go117_build
- - go117_test_main:
+ - go119_build
+ - go119_test_main:
requires:
- - go117_build
- - go117_vet:
+ - go119_build
+ - go119_vet:
requires:
- - go117_build
- - go117_fmt:
+ - go119_build
+ - go119_fmt:
requires:
- - go117_build
+ - go119_build
release:
jobs:
- winbuildtest:
@@ -162,49 +162,49 @@
branches:
only:
- main
- - go116_build:
+ - go118_build:
filters:
branches:
only:
- main
- - go116_test:
+ - go118_test:
requires:
- - go116_build
+ - go118_build
filters:
branches:
only:
- main
- - go117_build:
+ - go119_build:
filters:
branches:
only:
- main
- - go117_test:
+ - go119_test:
requires:
- - go117_build
+ - go119_build
filters:
branches:
only:
- main
- - go117_test_main:
+ - go119_test_main:
requires:
- - go117_build
+ - go119_build
filters:
branches:
only:
- main
- - go117_vet:
+ - go119_vet:
requires:
- - go117_build
+ - go119_build
filters:
branches:
only:
- main
- - go117_fmt:
+ - go119_fmt:
requires:
- - go117_build
+ - go119_build
filters:
branches:
only:
@@ -217,16 +217,16 @@
- main
type: approval
- - go117_release:
+ - go119_release:
filters:
branches:
only:
- main
requires:
- trigger-release
- - go117_test_main
- - go117_vet
- - go117_fmt
+ - go119_test_main
+ - go119_vet
+ - go119_fmt
- winbuildtest
- macosbuildtest
nightly:
@@ -244,31 +244,31 @@
- slack/notify:
event: fail
template: basic_fail_1
- - go116_build:
+ - go118_build:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
- - go116_test:
+ - go118_test:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
requires:
- - go116_build
- - go117_build:
+ - go118_build
+ - go119_build:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
- - go117_test:
+ - go119_test:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
requires:
- - go117_build
- - go117_test_main:
+ - go119_build
+ - go119_test_main:
post-steps:
- slack/notify:
event: fail
@@ -291,8 +291,8 @@
]
}
requires:
- - go116_build
- - go116_test
- - go117_build
+ - go118_build
+ - go118_test
+ - go119_build
- winbuildtest
- macosbuildtest
diff --git a/README.md b/README.md
index 10052a7..894291c 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@
This library is built in Go, and uses the [support policy](https://golang.org/doc/devel/release.html#policy) of Go as its support policy. The two latest major releases of Go are supported by terraform-exec.
-Currently, that means Go **1.17** or later must be used.
+Currently, that means Go **1.18** or later must be used.
## Usage
diff --git a/go.mod b/go.mod
index 463ab88..a96762a 100644
--- a/go.mod
+++ b/go.mod
@@ -1,13 +1,13 @@
module github.com/hashicorp/terraform-exec
-go 1.17
+go 1.18
require (
github.com/google/go-cmp v0.5.8
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/hc-install v0.4.0
github.com/hashicorp/terraform-json v0.14.0
- github.com/zclconf/go-cty v1.10.0
+ github.com/zclconf/go-cty v1.11.0
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b
)
@@ -29,6 +29,6 @@
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect
- golang.org/x/text v0.3.5 // indirect
+ golang.org/x/text v0.3.7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)
diff --git a/go.sum b/go.sum
index 0648430..4895bec 100644
--- a/go.sum
+++ b/go.sum
@@ -96,8 +96,9 @@
github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
-github.com/zclconf/go-cty v1.10.0 h1:mp9ZXQeIcN8kAwuqorjH+Q+njbJKjLrvB2yIh4q7U+0=
github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
+github.com/zclconf/go-cty v1.11.0 h1:726SxLdi2SDnjY+BStqB9J1hNp4+2WlzyXLuimibIe0=
+github.com/zclconf/go-cty v1.11.0/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -129,8 +130,9 @@
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=