From 5abaf33c3fa3a28bb8453d7661f94245cdd67d3a Mon Sep 17 00:00:00 2001 From: James Thompson Date: Wed, 17 Mar 2021 17:14:53 -0600 Subject: [PATCH 1/3] Update Go version for use to 1.16. --- .circleci/config.yml | 2 +- .go-version | 2 +- .travis.yml | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 285cc2e74..ffea27a50 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ test_results_dir: &test_results_dir /tmp/test_results jobs: run-tests: docker: - - image: docker.mirror.hashicorp.services/circleci/golang:1.14.10 + - image: docker.mirror.hashicorp.services/circleci/golang:1.16.2 environment: TF_ACC_TERRAFORM_VERSION: 0.12.29 TEST_RESULTS_DIR: *test_results_dir diff --git a/.go-version b/.go-version index 9beda55f8..4a02d2c31 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.14.10 +1.16.2 diff --git a/.travis.yml b/.travis.yml index a1b2a04f7..e8558ce19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ services: - docker language: go go: - - "1.14.10" + - "1.16.x" install: # This script is used by the Travis build to install a cookie for diff --git a/go.mod b/go.mod index 0f49481aa..ec334bf83 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/terraform-provider-tfe -go 1.14 +go 1.16 require ( github.com/hashicorp/go-tfe v0.12.0 From 2dd35ebd2be041384a401b37bdee7da8816e634f Mon Sep 17 00:00:00 2001 From: James Thompson Date: Wed, 17 Mar 2021 17:15:15 -0600 Subject: [PATCH 2/3] Update CHANGELOG for Go 1.16 update. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 902a851ab..0cf6450d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Unreleased 0.24.1 + +ENANCEMENTS: +* Use Go 1.16 to provide support for Apple Silicon (darwin/arm64). + ## 0.24.0 (January 22, 2021) BREAKING CHANGES: From 9502e9c948e21fd67cd7fac4367e8882c0504946 Mon Sep 17 00:00:00 2001 From: Chris Arcand Date: Tue, 30 Mar 2021 15:08:49 -0500 Subject: [PATCH 3/3] Note Go version in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 569ccbac9..17deac9b2 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ You might prefer to manually build the provider yourself - perhaps access to the release binaries on [releases.hashicorp.com](https://releases.hashicorp.com/terraform-provider-tfe/) are not available in your operating environment, or you're looking to contribute to the provider and are testing out a custom build. -Building the provider requires [Go](https://golang.org/doc/install) >= 1.14 +Building the provider requires [Go](https://golang.org/doc/install) >= 1.16 Clone the repository, enter the directory, and build the provider: