Skip to content

Commit ee67942

Browse files
Upgrade terraform-provider-upcloud to v5.24.0 (#69)
This PR was generated via `$ upgrade-provider UpCloudLtd/pulumi-upcloud --kind=provider --target-bridge-version=latest --target-version=5.24.0 --allow-missing-docs=true`. --- - Upgrading terraform-provider-upcloud from 5.23.4 to 5.24.0. Fixes #68 --------- Co-authored-by: pulumi-bot <[email protected]>
1 parent 33e2f33 commit ee67942

31 files changed

+1719
-101
lines changed

provider/cmd/pulumi-resource-upcloud/bridge-metadata.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,15 @@
9393
"upcloud_kubernetes_node_group": {
9494
"current": "upcloud:index/kubernetesNodeGroup:KubernetesNodeGroup",
9595
"fields": {
96+
"cloud_native_plan": {
97+
"maxItemsOne": true
98+
},
9699
"custom_plan": {
97100
"maxItemsOne": true
98101
},
102+
"gpu_plan": {
103+
"maxItemsOne": true
104+
},
99105
"kubelet_args": {
100106
"maxItemsOne": false
101107
},

provider/cmd/pulumi-resource-upcloud/schema.json

Lines changed: 70 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,23 +261,43 @@
261261
"id"
262262
]
263263
},
264+
"upcloud:index/KubernetesNodeGroupCloudNativePlan:KubernetesNodeGroupCloudNativePlan": {
265+
"properties": {
266+
"storageSize": {
267+
"type": "integer",
268+
"description": "The size of the storage device in gigabytes.\n"
269+
},
270+
"storageTier": {
271+
"type": "string",
272+
"description": "The storage tier to use.\n"
273+
}
274+
},
275+
"type": "object",
276+
"language": {
277+
"nodejs": {
278+
"requiredOutputs": [
279+
"storageTier"
280+
]
281+
}
282+
}
283+
},
264284
"upcloud:index/KubernetesNodeGroupCustomPlan:KubernetesNodeGroupCustomPlan": {
265285
"properties": {
266286
"cores": {
267287
"type": "integer",
268-
"description": "The number of CPU cores dedicated to individual node group nodes when using custom plan\n"
288+
"description": "The number of CPU cores dedicated to individual node group nodes.\n"
269289
},
270290
"memory": {
271291
"type": "integer",
272-
"description": "The amount of memory in megabytes to assign to individual node group node when using custom plan. Value needs to be divisible by 1024.\n"
292+
"description": "The amount of memory in megabytes to assign to individual node group node. Value needs to be divisible by 1024.\n"
273293
},
274294
"storageSize": {
275295
"type": "integer",
276296
"description": "The size of the storage device in gigabytes.\n"
277297
},
278298
"storageTier": {
279299
"type": "string",
280-
"description": "The storage tier to use. Defaults to maxiops\n"
300+
"description": "The storage tier to use.\n"
281301
}
282302
},
283303
"type": "object",
@@ -297,6 +317,26 @@
297317
}
298318
}
299319
},
320+
"upcloud:index/KubernetesNodeGroupGpuPlan:KubernetesNodeGroupGpuPlan": {
321+
"properties": {
322+
"storageSize": {
323+
"type": "integer",
324+
"description": "The size of the storage device in gigabytes.\n"
325+
},
326+
"storageTier": {
327+
"type": "string",
328+
"description": "The storage tier to use.\n"
329+
}
330+
},
331+
"type": "object",
332+
"language": {
333+
"nodejs": {
334+
"requiredOutputs": [
335+
"storageTier"
336+
]
337+
}
338+
}
339+
},
300340
"upcloud:index/KubernetesNodeGroupKubeletArg:KubernetesNodeGroupKubeletArg": {
301341
"properties": {
302342
"key": {
@@ -6575,13 +6615,21 @@
65756615
"type": "boolean",
65766616
"description": "If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is\nconsidered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.\n"
65776617
},
6618+
"cloudNativePlan": {
6619+
"$ref": "#/types/upcloud:index/KubernetesNodeGroupCloudNativePlan:KubernetesNodeGroupCloudNativePlan",
6620+
"description": "Resource properties for Cloud Native plan storage configuration. This block is optional for Cloud Native plans.\n"
6621+
},
65786622
"cluster": {
65796623
"type": "string",
65806624
"description": "UUID of the cluster.\n"
65816625
},
65826626
"customPlan": {
65836627
"$ref": "#/types/upcloud:index/KubernetesNodeGroupCustomPlan:KubernetesNodeGroupCustomPlan",
6584-
"description": "Resource properties for custom plan\n"
6628+
"description": "Resource properties for custom plan. This block is required for `custom` plans only.\n"
6629+
},
6630+
"gpuPlan": {
6631+
"$ref": "#/types/upcloud:index/KubernetesNodeGroupGpuPlan:KubernetesNodeGroupGpuPlan",
6632+
"description": "Resource properties for GPU plan storage configuration. This block is optional for GPU plans.\n"
65856633
},
65866634
"kubeletArgs": {
65876635
"type": "array",
@@ -6648,13 +6696,21 @@
66486696
"type": "boolean",
66496697
"description": "If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is\nconsidered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.\n"
66506698
},
6699+
"cloudNativePlan": {
6700+
"$ref": "#/types/upcloud:index/KubernetesNodeGroupCloudNativePlan:KubernetesNodeGroupCloudNativePlan",
6701+
"description": "Resource properties for Cloud Native plan storage configuration. This block is optional for Cloud Native plans.\n"
6702+
},
66516703
"cluster": {
66526704
"type": "string",
66536705
"description": "UUID of the cluster.\n"
66546706
},
66556707
"customPlan": {
66566708
"$ref": "#/types/upcloud:index/KubernetesNodeGroupCustomPlan:KubernetesNodeGroupCustomPlan",
6657-
"description": "Resource properties for custom plan\n"
6709+
"description": "Resource properties for custom plan. This block is required for `custom` plans only.\n"
6710+
},
6711+
"gpuPlan": {
6712+
"$ref": "#/types/upcloud:index/KubernetesNodeGroupGpuPlan:KubernetesNodeGroupGpuPlan",
6713+
"description": "Resource properties for GPU plan storage configuration. This block is optional for GPU plans.\n"
66586714
},
66596715
"kubeletArgs": {
66606716
"type": "array",
@@ -6717,13 +6773,21 @@
67176773
"type": "boolean",
67186774
"description": "If set to true, nodes in this group will be placed on separate compute hosts. Please note that anti-affinity policy is\nconsidered 'best effort' and enabling it does not fully guarantee that the nodes will end up on different hardware.\n"
67196775
},
6776+
"cloudNativePlan": {
6777+
"$ref": "#/types/upcloud:index/KubernetesNodeGroupCloudNativePlan:KubernetesNodeGroupCloudNativePlan",
6778+
"description": "Resource properties for Cloud Native plan storage configuration. This block is optional for Cloud Native plans.\n"
6779+
},
67206780
"cluster": {
67216781
"type": "string",
67226782
"description": "UUID of the cluster.\n"
67236783
},
67246784
"customPlan": {
67256785
"$ref": "#/types/upcloud:index/KubernetesNodeGroupCustomPlan:KubernetesNodeGroupCustomPlan",
6726-
"description": "Resource properties for custom plan\n"
6786+
"description": "Resource properties for custom plan. This block is required for `custom` plans only.\n"
6787+
},
6788+
"gpuPlan": {
6789+
"$ref": "#/types/upcloud:index/KubernetesNodeGroupGpuPlan:KubernetesNodeGroupGpuPlan",
6790+
"description": "Resource properties for GPU plan storage configuration. This block is optional for GPU plans.\n"
67276791
},
67286792
"kubeletArgs": {
67296793
"type": "array",

provider/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.4
77
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20250221232320-8d4cfd37a3cd
88

99
require (
10-
github.com/UpCloudLtd/terraform-provider-upcloud v0.0.0-20250811133700-e8bc296113eb
10+
github.com/UpCloudLtd/terraform-provider-upcloud v0.0.0-20250814092120-7151a6165644
1111
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0
1212
github.com/pulumi/pulumi-terraform-bridge/v3 v3.106.0
1313
)
@@ -27,7 +27,7 @@ require (
2727
github.com/Microsoft/go-winio v0.6.1 // indirect
2828
github.com/ProtonMail/go-crypto v1.1.5 // indirect
2929
github.com/UpCloudLtd/upcloud-go-api/credentials v0.1.1 // indirect
30-
github.com/UpCloudLtd/upcloud-go-api/v8 v8.22.0 // indirect
30+
github.com/UpCloudLtd/upcloud-go-api/v8 v8.25.0 // indirect
3131
github.com/agext/levenshtein v1.2.3 // indirect
3232
github.com/apparentlymart/go-cidr v1.1.0 // indirect
3333
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect

provider/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,12 +1369,12 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE
13691369
github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
13701370
github.com/ProtonMail/go-crypto v1.1.5 h1:eoAQfK2dwL+tFSFpr7TbOaPNUbPiJj4fLYwwGE1FQO4=
13711371
github.com/ProtonMail/go-crypto v1.1.5/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
1372-
github.com/UpCloudLtd/terraform-provider-upcloud v0.0.0-20250811133700-e8bc296113eb h1:AYrqAk6u+TbEjcm33X+GBNtqmuUMiXUA42Xguclf/Hk=
1373-
github.com/UpCloudLtd/terraform-provider-upcloud v0.0.0-20250811133700-e8bc296113eb/go.mod h1:CtW5ZLG7k2ZJi/w0uHWWpmcn3fQQJLlO9pOWcKP+waQ=
1372+
github.com/UpCloudLtd/terraform-provider-upcloud v0.0.0-20250814092120-7151a6165644 h1:llbvGN9U+UqLuX6uq64hTFDEk0QngfhLKvuRUDTfNBs=
1373+
github.com/UpCloudLtd/terraform-provider-upcloud v0.0.0-20250814092120-7151a6165644/go.mod h1:xt1badh7RRd09GuTdXGViT6vPo3Ij5nkPXDrA08UqAY=
13741374
github.com/UpCloudLtd/upcloud-go-api/credentials v0.1.1 h1:eTfQsv58ufALOk9BZ7WbS/i7pMUD11RnYYpRPsz0LdI=
13751375
github.com/UpCloudLtd/upcloud-go-api/credentials v0.1.1/go.mod h1:7OtVs2UqtfvjkC1HfE+Oud0MnbMv7qUWnbEgxnTAqts=
1376-
github.com/UpCloudLtd/upcloud-go-api/v8 v8.22.0 h1:40GwpMlDJZbMlpIqA+1TF80U8Rfr6DbJEONft+1HU6A=
1377-
github.com/UpCloudLtd/upcloud-go-api/v8 v8.22.0/go.mod h1:ImDdnWfVVM6WCRTrskGhAw2W1cRwu5IEkBw+9UCzAv8=
1376+
github.com/UpCloudLtd/upcloud-go-api/v8 v8.25.0 h1:OWkIs5Z67jZJb9qNHNaNCl20vJaCIn9U1QnaRZE5grQ=
1377+
github.com/UpCloudLtd/upcloud-go-api/v8 v8.25.0/go.mod h1:ImDdnWfVVM6WCRTrskGhAw2W1cRwu5IEkBw+9UCzAv8=
13781378
github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
13791379
github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
13801380
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=

sdk/dotnet/UpCloud/Inputs/KubernetesNodeGroupCloudNativePlanArgs.cs

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/UpCloud/Inputs/KubernetesNodeGroupCloudNativePlanGetArgs.cs

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/UpCloud/Inputs/KubernetesNodeGroupCustomPlanArgs.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/UpCloud/Inputs/KubernetesNodeGroupCustomPlanGetArgs.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/UpCloud/Inputs/KubernetesNodeGroupGpuPlanArgs.cs

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/UpCloud/Inputs/KubernetesNodeGroupGpuPlanGetArgs.cs

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)