Skip to content

Commit 8b6d0d9

Browse files
authored
[CLOUD-493] Bump go version to 1.19 (#263)
* [CLOUD-493] Bump go version to 1.19 * update changelog * bump version to 1.19.11
1 parent 89f31d1 commit 8b6d0d9

30 files changed

+145
-287
lines changed

.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.18.7
1+
1.19.11

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ BREAKING CHANGES:
77
ENHANCEMENTS:
88
* test-fixtures: run against dev and prod envs
99
* resource/hopsworksai_cluster: Set Default `version` to 3.3.0
10+
* Bump minimum Go version to 1.19
1011

1112
FEATURES:
1213

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ output "hopsworks_cluster_url" {
104104
## Requirements
105105

106106
- [Terraform](https://www.terraform.io/downloads.html) >= 0.13.x
107-
- [Go](https://golang.org/doc/install) >= 1.18
107+
- [Go](https://golang.org/doc/install) >= 1.19
108108
- [golangci-lint](https://golangci-lint.run/usage/install/) = 1.50.1
109109

110110

acceptance-test.jenkins

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pipeline {
44
label 'local'
55
}
66
}
7-
tools { go 'ndbagent' }
7+
tools { go 'hopsworks-terraform' }
88
environment {
99
TF_ACCTEST_LOG_DIR="/home/jenkinsmaster/terraform/acc-test-logs/${currentBuild.number}"
1010
TF_ACCTEST_LOG_LEVEL="debug"

docs/data-sources/aws_instance_profile_policy.md

-2
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,3 @@ data "hopsworksai_aws_instance_profile_policy" "policy" {
5252

5353
- `id` (String) The ID of this resource.
5454
- `json` (String) The instance profile policy in JSON format.
55-
56-

docs/data-sources/azure_user_assigned_identity_permissions.md

-2
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@ data "hopsworksai_azure_user_assigned_identity_permissions" "permissions" {
4242
- `id` (String) The ID of this resource.
4343
- `not_actions` (List of String) The not actions permissions.
4444
- `not_data_actions` (Set of String) The not data actions permissions.
45-
46-

docs/data-sources/backup.md

-2
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,3 @@ data "hopsworksai_backup" "backup" {
3434
- `id` (String) The ID of this resource.
3535
- `state` (String) The backup state.
3636
- `state_message` (String) The backup state message.
37-
38-

docs/data-sources/backups.md

-2
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,3 @@ Read-Only:
4848
- `creation_date` (String)
4949
- `state` (String)
5050
- `state_message` (String)
51-
52-

docs/data-sources/cluster.md

-2
Original file line numberDiff line numberDiff line change
@@ -369,5 +369,3 @@ Read-Only:
369369

370370
- `fall_back_on_demand` (Boolean)
371371
- `max_price_percent` (Number)
372-
373-

docs/data-sources/clusters.md

-2
Original file line numberDiff line numberDiff line change
@@ -393,5 +393,3 @@ Read-Only:
393393

394394
- `fall_back_on_demand` (Boolean)
395395
- `max_price_percent` (Number)
396-
397-

docs/data-sources/instance_type.md

-2
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,3 @@ data "hopsworksai_instance_type" "supported_type" {
4949
### Read-Only
5050

5151
- `id` (String) The ID of this resource.
52-
53-

docs/data-sources/instance_types.md

-2
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ Read-Only:
4545
- `id` (String)
4646
- `memory` (Number)
4747
- `with_nvme` (Boolean)
48-
49-

docs/data-sources/version.md

-2
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ Read-Only:
6060

6161
- `centos` (List of String)
6262
- `ubuntu` (List of String)
63-
64-

docs/resources/cluster_from_backup.md

-2
Original file line numberDiff line numberDiff line change
@@ -413,5 +413,3 @@ Read-Only:
413413

414414
- `from_version` (String)
415415
- `to_version` (String)
416-
417-

go.mod

+29-25
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,45 @@
11
module github.com/logicalclocks/terraform-provider-hopsworksai
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
77
github.com/hashicorp/go-version v1.6.0
8-
github.com/hashicorp/terraform-plugin-docs v0.14.1
9-
github.com/hashicorp/terraform-plugin-log v0.8.0
10-
github.com/hashicorp/terraform-plugin-sdk/v2 v2.25.0
8+
github.com/hashicorp/terraform-plugin-docs v0.16.0
9+
github.com/hashicorp/terraform-plugin-log v0.9.0
10+
github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0
11+
github.com/hashicorp/terraform-plugin-testing v1.3.0
1112
)
1213

1314
require (
1415
github.com/Masterminds/goutils v1.1.1 // indirect
1516
github.com/Masterminds/semver/v3 v3.1.1 // indirect
1617
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
18+
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
1719
github.com/agext/levenshtein v1.2.2 // indirect
1820
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
1921
github.com/armon/go-radix v1.0.0 // indirect
2022
github.com/bgentry/speakeasy v0.1.0 // indirect
23+
github.com/cloudflare/circl v1.3.3 // indirect
2124
github.com/fatih/color v1.13.0 // indirect
22-
github.com/golang/protobuf v1.5.2 // indirect
25+
github.com/golang/protobuf v1.5.3 // indirect
2326
github.com/google/go-cmp v0.5.9 // indirect
2427
github.com/google/uuid v1.3.0 // indirect
2528
github.com/hashicorp/errwrap v1.1.0 // indirect
2629
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
2730
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
28-
github.com/hashicorp/go-hclog v1.4.0 // indirect
31+
github.com/hashicorp/go-hclog v1.5.0 // indirect
2932
github.com/hashicorp/go-multierror v1.1.1 // indirect
30-
github.com/hashicorp/go-plugin v1.4.8 // indirect
33+
github.com/hashicorp/go-plugin v1.4.10 // indirect
3134
github.com/hashicorp/go-uuid v1.0.3 // indirect
32-
github.com/hashicorp/hc-install v0.5.0 // indirect
33-
github.com/hashicorp/hcl/v2 v2.16.1 // indirect
35+
github.com/hashicorp/hc-install v0.5.2 // indirect
36+
github.com/hashicorp/hcl/v2 v2.17.0 // indirect
3437
github.com/hashicorp/logutils v1.0.0 // indirect
3538
github.com/hashicorp/terraform-exec v0.18.1 // indirect
36-
github.com/hashicorp/terraform-json v0.15.0 // indirect
37-
github.com/hashicorp/terraform-plugin-go v0.14.3 // indirect
38-
github.com/hashicorp/terraform-registry-address v0.1.0 // indirect
39-
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
39+
github.com/hashicorp/terraform-json v0.17.1 // indirect
40+
github.com/hashicorp/terraform-plugin-go v0.16.0 // indirect
41+
github.com/hashicorp/terraform-registry-address v0.2.1 // indirect
42+
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
4043
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
4144
github.com/huandu/xstrings v1.3.2 // indirect
4245
github.com/imdario/mergo v0.3.13 // indirect
@@ -54,16 +57,17 @@ require (
5457
github.com/shopspring/decimal v1.3.1 // indirect
5558
github.com/spf13/cast v1.5.0 // indirect
5659
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
57-
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
58-
github.com/vmihailenco/tagparser v0.1.1 // indirect
59-
github.com/zclconf/go-cty v1.13.0 // indirect
60-
golang.org/x/crypto v0.6.0 // indirect
61-
golang.org/x/mod v0.7.0 // indirect
62-
golang.org/x/net v0.6.0 // indirect
63-
golang.org/x/sys v0.5.0 // indirect
64-
golang.org/x/text v0.7.0 // indirect
65-
google.golang.org/appengine v1.6.6 // indirect
66-
google.golang.org/genproto v0.0.0-20200711021454-869866162049 // indirect
67-
google.golang.org/grpc v1.51.0 // indirect
68-
google.golang.org/protobuf v1.28.1 // indirect
60+
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
61+
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
62+
github.com/zclconf/go-cty v1.13.2 // indirect
63+
golang.org/x/crypto v0.10.0 // indirect
64+
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
65+
golang.org/x/mod v0.11.0 // indirect
66+
golang.org/x/net v0.11.0 // indirect
67+
golang.org/x/sys v0.9.0 // indirect
68+
golang.org/x/text v0.11.0 // indirect
69+
google.golang.org/appengine v1.6.7 // indirect
70+
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
71+
google.golang.org/grpc v1.56.0 // indirect
72+
google.golang.org/protobuf v1.30.0 // indirect
6973
)

0 commit comments

Comments
 (0)