pulumiverse-scaleway 1.36.0a1761749977__py3-none-any.whl → 1.36.0a1761895416__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. pulumiverse_scaleway/_inputs.py +151 -3
  2. pulumiverse_scaleway/database_instance.py +71 -21
  3. pulumiverse_scaleway/database_user.py +6 -6
  4. pulumiverse_scaleway/databases/_inputs.py +97 -3
  5. pulumiverse_scaleway/databases/get_instance.py +12 -1
  6. pulumiverse_scaleway/databases/instance.py +71 -21
  7. pulumiverse_scaleway/databases/outputs.py +127 -2
  8. pulumiverse_scaleway/databases/user.py +6 -6
  9. pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
  10. pulumiverse_scaleway/file_filesystem.py +33 -33
  11. pulumiverse_scaleway/get_baremetal_offer.py +2 -0
  12. pulumiverse_scaleway/get_database_instance.py +12 -1
  13. pulumiverse_scaleway/get_instance_server.py +13 -83
  14. pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
  15. pulumiverse_scaleway/iam/__init__.py +1 -0
  16. pulumiverse_scaleway/iam/get_policy.py +293 -0
  17. pulumiverse_scaleway/iam/outputs.py +52 -0
  18. pulumiverse_scaleway/instance/_inputs.py +54 -0
  19. pulumiverse_scaleway/instance/get_server.py +13 -83
  20. pulumiverse_scaleway/instance/outputs.py +87 -75
  21. pulumiverse_scaleway/instance/server.py +95 -230
  22. pulumiverse_scaleway/instance_server.py +95 -230
  23. pulumiverse_scaleway/iot/device.py +0 -38
  24. pulumiverse_scaleway/iot/route.py +20 -20
  25. pulumiverse_scaleway/iot_device.py +0 -38
  26. pulumiverse_scaleway/iot_route.py +20 -20
  27. pulumiverse_scaleway/kubernetes/cluster.py +208 -4
  28. pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
  29. pulumiverse_scaleway/kubernetes_cluster.py +208 -4
  30. pulumiverse_scaleway/object/bucket_policy.py +0 -64
  31. pulumiverse_scaleway/object_bucket_policy.py +0 -64
  32. pulumiverse_scaleway/outputs.py +214 -77
  33. pulumiverse_scaleway/pulumi-plugin.json +1 -1
  34. {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/METADATA +1 -1
  35. {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/RECORD +37 -36
  36. {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/WHEEL +0 -0
  37. {pulumiverse_scaleway-1.36.0a1761749977.dist-info → pulumiverse_scaleway-1.36.0a1761895416.dist-info}/top_level.txt +0 -0
@@ -425,25 +425,6 @@ class Device(pulumi.CustomResource):
425
425
  name="test-iot")
426
426
  ```
427
427
 
428
- ### With custom certificate
429
-
430
- ```python
431
- import pulumi
432
- import pulumi_local as local
433
- import pulumiverse_scaleway as scaleway
434
-
435
- main = scaleway.iot.Hub("main",
436
- name="test-iot",
437
- product_plan="plan_shared")
438
- device_cert = local.get_file(filename="device-certificate.pem")
439
- main_device = scaleway.iot.Device("main",
440
- hub_id=main.id,
441
- name="test-iot",
442
- certificate={
443
- "crt": device_cert.content,
444
- })
445
- ```
446
-
447
428
  ## Import
448
429
 
449
430
  IoT devices can be imported using the `{region}/{id}`, e.g.
@@ -494,25 +475,6 @@ class Device(pulumi.CustomResource):
494
475
  name="test-iot")
495
476
  ```
496
477
 
497
- ### With custom certificate
498
-
499
- ```python
500
- import pulumi
501
- import pulumi_local as local
502
- import pulumiverse_scaleway as scaleway
503
-
504
- main = scaleway.iot.Hub("main",
505
- name="test-iot",
506
- product_plan="plan_shared")
507
- device_cert = local.get_file(filename="device-certificate.pem")
508
- main_device = scaleway.iot.Device("main",
509
- hub_id=main.id,
510
- name="test-iot",
511
- certificate={
512
- "crt": device_cert.content,
513
- })
514
- ```
515
-
516
478
  ## Import
517
479
 
518
480
  IoT devices can be imported using the `{region}/{id}`, e.g.
@@ -310,17 +310,17 @@ class Route(pulumi.CustomResource):
310
310
  topic="#",
311
311
  database={
312
312
  "query": \"\"\"INSERT INTO measurements(
313
- \\x09push_time,
314
- \\x09report_time,
315
- \\x09station_id,
316
- \\x09temperature,
317
- \\x09humidity
313
+ \\tpush_time,
314
+ \\treport_time,
315
+ \\tstation_id,
316
+ \\ttemperature,
317
+ \\thumidity
318
318
  ) VALUES (
319
- \\x09NOW(),
320
- \\x09TIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
321
- \\x09($PAYLOAD::jsonb->'station_id')::uuid,
322
- \\x09($PAYLOAD::jsonb->'temperature')::decimal,
323
- \\x09($PAYLOAD::jsonb->'humidity'):decimal:
319
+ \\tNOW(),
320
+ \\tTIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
321
+ \\t($PAYLOAD::jsonb->'station_id')::uuid,
322
+ \\t($PAYLOAD::jsonb->'temperature')::decimal,
323
+ \\t($PAYLOAD::jsonb->'humidity'):decimal:
324
324
  );
325
325
  \"\"\",
326
326
  "host": iot.endpoint_ip,
@@ -427,17 +427,17 @@ class Route(pulumi.CustomResource):
427
427
  topic="#",
428
428
  database={
429
429
  "query": \"\"\"INSERT INTO measurements(
430
- \\x09push_time,
431
- \\x09report_time,
432
- \\x09station_id,
433
- \\x09temperature,
434
- \\x09humidity
430
+ \\tpush_time,
431
+ \\treport_time,
432
+ \\tstation_id,
433
+ \\ttemperature,
434
+ \\thumidity
435
435
  ) VALUES (
436
- \\x09NOW(),
437
- \\x09TIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
438
- \\x09($PAYLOAD::jsonb->'station_id')::uuid,
439
- \\x09($PAYLOAD::jsonb->'temperature')::decimal,
440
- \\x09($PAYLOAD::jsonb->'humidity'):decimal:
436
+ \\tNOW(),
437
+ \\tTIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
438
+ \\t($PAYLOAD::jsonb->'station_id')::uuid,
439
+ \\t($PAYLOAD::jsonb->'temperature')::decimal,
440
+ \\t($PAYLOAD::jsonb->'humidity'):decimal:
441
441
  );
442
442
  \"\"\",
443
443
  "host": iot.endpoint_ip,
@@ -430,25 +430,6 @@ class IotDevice(pulumi.CustomResource):
430
430
  name="test-iot")
431
431
  ```
432
432
 
433
- ### With custom certificate
434
-
435
- ```python
436
- import pulumi
437
- import pulumi_local as local
438
- import pulumiverse_scaleway as scaleway
439
-
440
- main = scaleway.iot.Hub("main",
441
- name="test-iot",
442
- product_plan="plan_shared")
443
- device_cert = local.get_file(filename="device-certificate.pem")
444
- main_device = scaleway.iot.Device("main",
445
- hub_id=main.id,
446
- name="test-iot",
447
- certificate={
448
- "crt": device_cert.content,
449
- })
450
- ```
451
-
452
433
  ## Import
453
434
 
454
435
  IoT devices can be imported using the `{region}/{id}`, e.g.
@@ -499,25 +480,6 @@ class IotDevice(pulumi.CustomResource):
499
480
  name="test-iot")
500
481
  ```
501
482
 
502
- ### With custom certificate
503
-
504
- ```python
505
- import pulumi
506
- import pulumi_local as local
507
- import pulumiverse_scaleway as scaleway
508
-
509
- main = scaleway.iot.Hub("main",
510
- name="test-iot",
511
- product_plan="plan_shared")
512
- device_cert = local.get_file(filename="device-certificate.pem")
513
- main_device = scaleway.iot.Device("main",
514
- hub_id=main.id,
515
- name="test-iot",
516
- certificate={
517
- "crt": device_cert.content,
518
- })
519
- ```
520
-
521
483
  ## Import
522
484
 
523
485
  IoT devices can be imported using the `{region}/{id}`, e.g.
@@ -315,17 +315,17 @@ class IotRoute(pulumi.CustomResource):
315
315
  topic="#",
316
316
  database={
317
317
  "query": \"\"\"INSERT INTO measurements(
318
- \\x09push_time,
319
- \\x09report_time,
320
- \\x09station_id,
321
- \\x09temperature,
322
- \\x09humidity
318
+ \\tpush_time,
319
+ \\treport_time,
320
+ \\tstation_id,
321
+ \\ttemperature,
322
+ \\thumidity
323
323
  ) VALUES (
324
- \\x09NOW(),
325
- \\x09TIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
326
- \\x09($PAYLOAD::jsonb->'station_id')::uuid,
327
- \\x09($PAYLOAD::jsonb->'temperature')::decimal,
328
- \\x09($PAYLOAD::jsonb->'humidity'):decimal:
324
+ \\tNOW(),
325
+ \\tTIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
326
+ \\t($PAYLOAD::jsonb->'station_id')::uuid,
327
+ \\t($PAYLOAD::jsonb->'temperature')::decimal,
328
+ \\t($PAYLOAD::jsonb->'humidity'):decimal:
329
329
  );
330
330
  \"\"\",
331
331
  "host": iot.endpoint_ip,
@@ -432,17 +432,17 @@ class IotRoute(pulumi.CustomResource):
432
432
  topic="#",
433
433
  database={
434
434
  "query": \"\"\"INSERT INTO measurements(
435
- \\x09push_time,
436
- \\x09report_time,
437
- \\x09station_id,
438
- \\x09temperature,
439
- \\x09humidity
435
+ \\tpush_time,
436
+ \\treport_time,
437
+ \\tstation_id,
438
+ \\ttemperature,
439
+ \\thumidity
440
440
  ) VALUES (
441
- \\x09NOW(),
442
- \\x09TIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
443
- \\x09($PAYLOAD::jsonb->'station_id')::uuid,
444
- \\x09($PAYLOAD::jsonb->'temperature')::decimal,
445
- \\x09($PAYLOAD::jsonb->'humidity'):decimal:
441
+ \\tNOW(),
442
+ \\tTIMESTAMP 'epoch' + (($PAYLOAD::jsonb->'last_reported')::integer * INTERVAL '1 second'),
443
+ \\t($PAYLOAD::jsonb->'station_id')::uuid,
444
+ \\t($PAYLOAD::jsonb->'temperature')::decimal,
445
+ \\t($PAYLOAD::jsonb->'humidity'):decimal:
446
446
  );
447
447
  \"\"\",
448
448
  "host": iot.endpoint_ip,
@@ -32,9 +32,12 @@ class ClusterArgs:
32
32
  feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
33
33
  name: Optional[pulumi.Input[_builtins.str]] = None,
34
34
  open_id_connect_config: Optional[pulumi.Input['ClusterOpenIdConnectConfigArgs']] = None,
35
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
35
36
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
36
37
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
37
38
  region: Optional[pulumi.Input[_builtins.str]] = None,
39
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
40
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
38
41
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
39
42
  type: Optional[pulumi.Input[_builtins.str]] = None):
40
43
  """
@@ -53,6 +56,10 @@ class ClusterArgs:
53
56
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] feature_gates: The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
54
57
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
55
58
  :param pulumi.Input['ClusterOpenIdConnectConfigArgs'] open_id_connect_config: The OpenID Connect configuration of the cluster
59
+ :param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
60
+
61
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
62
+ unsetting it to go back to the default value will not have any effect.
56
63
  :param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
57
64
 
58
65
  > **Important:** Changes to this field will recreate a new resource.
@@ -61,6 +68,14 @@ class ClusterArgs:
61
68
  you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
62
69
  :param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
63
70
  :param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
71
+ :param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
72
+
73
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
74
+ unsetting it to go back to the default value will not have any effect.
75
+ :param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
76
+
77
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
78
+ unsetting it to go back to the default value will not have any effect.
64
79
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
65
80
  :param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
66
81
 
@@ -89,12 +104,18 @@ class ClusterArgs:
89
104
  pulumi.set(__self__, "name", name)
90
105
  if open_id_connect_config is not None:
91
106
  pulumi.set(__self__, "open_id_connect_config", open_id_connect_config)
107
+ if pod_cidr is not None:
108
+ pulumi.set(__self__, "pod_cidr", pod_cidr)
92
109
  if private_network_id is not None:
93
110
  pulumi.set(__self__, "private_network_id", private_network_id)
94
111
  if project_id is not None:
95
112
  pulumi.set(__self__, "project_id", project_id)
96
113
  if region is not None:
97
114
  pulumi.set(__self__, "region", region)
115
+ if service_cidr is not None:
116
+ pulumi.set(__self__, "service_cidr", service_cidr)
117
+ if service_dns_ip is not None:
118
+ pulumi.set(__self__, "service_dns_ip", service_dns_ip)
98
119
  if tags is not None:
99
120
  pulumi.set(__self__, "tags", tags)
100
121
  if type is not None:
@@ -235,6 +256,21 @@ class ClusterArgs:
235
256
  def open_id_connect_config(self, value: Optional[pulumi.Input['ClusterOpenIdConnectConfigArgs']]):
236
257
  pulumi.set(self, "open_id_connect_config", value)
237
258
 
259
+ @_builtins.property
260
+ @pulumi.getter(name="podCidr")
261
+ def pod_cidr(self) -> Optional[pulumi.Input[_builtins.str]]:
262
+ """
263
+ The subnet used for the Pod CIDR.
264
+
265
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
266
+ unsetting it to go back to the default value will not have any effect.
267
+ """
268
+ return pulumi.get(self, "pod_cidr")
269
+
270
+ @pod_cidr.setter
271
+ def pod_cidr(self, value: Optional[pulumi.Input[_builtins.str]]):
272
+ pulumi.set(self, "pod_cidr", value)
273
+
238
274
  @_builtins.property
239
275
  @pulumi.getter(name="privateNetworkId")
240
276
  def private_network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -276,6 +312,36 @@ class ClusterArgs:
276
312
  def region(self, value: Optional[pulumi.Input[_builtins.str]]):
277
313
  pulumi.set(self, "region", value)
278
314
 
315
+ @_builtins.property
316
+ @pulumi.getter(name="serviceCidr")
317
+ def service_cidr(self) -> Optional[pulumi.Input[_builtins.str]]:
318
+ """
319
+ The subnet used for the Service CIDR.
320
+
321
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
322
+ unsetting it to go back to the default value will not have any effect.
323
+ """
324
+ return pulumi.get(self, "service_cidr")
325
+
326
+ @service_cidr.setter
327
+ def service_cidr(self, value: Optional[pulumi.Input[_builtins.str]]):
328
+ pulumi.set(self, "service_cidr", value)
329
+
330
+ @_builtins.property
331
+ @pulumi.getter(name="serviceDnsIp")
332
+ def service_dns_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
333
+ """
334
+ The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
335
+
336
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
337
+ unsetting it to go back to the default value will not have any effect.
338
+ """
339
+ return pulumi.get(self, "service_dns_ip")
340
+
341
+ @service_dns_ip.setter
342
+ def service_dns_ip(self, value: Optional[pulumi.Input[_builtins.str]]):
343
+ pulumi.set(self, "service_dns_ip", value)
344
+
279
345
  @_builtins.property
280
346
  @pulumi.getter
281
347
  def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
@@ -324,9 +390,12 @@ class _ClusterState:
324
390
  name: Optional[pulumi.Input[_builtins.str]] = None,
325
391
  open_id_connect_config: Optional[pulumi.Input['ClusterOpenIdConnectConfigArgs']] = None,
326
392
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
393
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
327
394
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
328
395
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
329
396
  region: Optional[pulumi.Input[_builtins.str]] = None,
397
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
398
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
330
399
  status: Optional[pulumi.Input[_builtins.str]] = None,
331
400
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
332
401
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -353,6 +422,10 @@ class _ClusterState:
353
422
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
354
423
  :param pulumi.Input['ClusterOpenIdConnectConfigArgs'] open_id_connect_config: The OpenID Connect configuration of the cluster
355
424
  :param pulumi.Input[_builtins.str] organization_id: The organization ID the cluster is associated with.
425
+ :param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
426
+
427
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
428
+ unsetting it to go back to the default value will not have any effect.
356
429
  :param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
357
430
 
358
431
  > **Important:** Changes to this field will recreate a new resource.
@@ -361,6 +434,14 @@ class _ClusterState:
361
434
  you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
362
435
  :param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
363
436
  :param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
437
+ :param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
438
+
439
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
440
+ unsetting it to go back to the default value will not have any effect.
441
+ :param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
442
+
443
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
444
+ unsetting it to go back to the default value will not have any effect.
364
445
  :param pulumi.Input[_builtins.str] status: The status of the Kubernetes cluster.
365
446
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
366
447
  :param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
@@ -403,12 +484,18 @@ class _ClusterState:
403
484
  pulumi.set(__self__, "open_id_connect_config", open_id_connect_config)
404
485
  if organization_id is not None:
405
486
  pulumi.set(__self__, "organization_id", organization_id)
487
+ if pod_cidr is not None:
488
+ pulumi.set(__self__, "pod_cidr", pod_cidr)
406
489
  if private_network_id is not None:
407
490
  pulumi.set(__self__, "private_network_id", private_network_id)
408
491
  if project_id is not None:
409
492
  pulumi.set(__self__, "project_id", project_id)
410
493
  if region is not None:
411
494
  pulumi.set(__self__, "region", region)
495
+ if service_cidr is not None:
496
+ pulumi.set(__self__, "service_cidr", service_cidr)
497
+ if service_dns_ip is not None:
498
+ pulumi.set(__self__, "service_dns_ip", service_dns_ip)
412
499
  if status is not None:
413
500
  pulumi.set(__self__, "status", status)
414
501
  if tags is not None:
@@ -595,6 +682,21 @@ class _ClusterState:
595
682
  def organization_id(self, value: Optional[pulumi.Input[_builtins.str]]):
596
683
  pulumi.set(self, "organization_id", value)
597
684
 
685
+ @_builtins.property
686
+ @pulumi.getter(name="podCidr")
687
+ def pod_cidr(self) -> Optional[pulumi.Input[_builtins.str]]:
688
+ """
689
+ The subnet used for the Pod CIDR.
690
+
691
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
692
+ unsetting it to go back to the default value will not have any effect.
693
+ """
694
+ return pulumi.get(self, "pod_cidr")
695
+
696
+ @pod_cidr.setter
697
+ def pod_cidr(self, value: Optional[pulumi.Input[_builtins.str]]):
698
+ pulumi.set(self, "pod_cidr", value)
699
+
598
700
  @_builtins.property
599
701
  @pulumi.getter(name="privateNetworkId")
600
702
  def private_network_id(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -636,6 +738,36 @@ class _ClusterState:
636
738
  def region(self, value: Optional[pulumi.Input[_builtins.str]]):
637
739
  pulumi.set(self, "region", value)
638
740
 
741
+ @_builtins.property
742
+ @pulumi.getter(name="serviceCidr")
743
+ def service_cidr(self) -> Optional[pulumi.Input[_builtins.str]]:
744
+ """
745
+ The subnet used for the Service CIDR.
746
+
747
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
748
+ unsetting it to go back to the default value will not have any effect.
749
+ """
750
+ return pulumi.get(self, "service_cidr")
751
+
752
+ @service_cidr.setter
753
+ def service_cidr(self, value: Optional[pulumi.Input[_builtins.str]]):
754
+ pulumi.set(self, "service_cidr", value)
755
+
756
+ @_builtins.property
757
+ @pulumi.getter(name="serviceDnsIp")
758
+ def service_dns_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
759
+ """
760
+ The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
761
+
762
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
763
+ unsetting it to go back to the default value will not have any effect.
764
+ """
765
+ return pulumi.get(self, "service_dns_ip")
766
+
767
+ @service_dns_ip.setter
768
+ def service_dns_ip(self, value: Optional[pulumi.Input[_builtins.str]]):
769
+ pulumi.set(self, "service_dns_ip", value)
770
+
639
771
  @_builtins.property
640
772
  @pulumi.getter
641
773
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -743,9 +875,12 @@ class Cluster(pulumi.CustomResource):
743
875
  feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
744
876
  name: Optional[pulumi.Input[_builtins.str]] = None,
745
877
  open_id_connect_config: Optional[pulumi.Input[Union['ClusterOpenIdConnectConfigArgs', 'ClusterOpenIdConnectConfigArgsDict']]] = None,
878
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
746
879
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
747
880
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
748
881
  region: Optional[pulumi.Input[_builtins.str]] = None,
882
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
883
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
749
884
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
750
885
  type: Optional[pulumi.Input[_builtins.str]] = None,
751
886
  version: Optional[pulumi.Input[_builtins.str]] = None,
@@ -854,7 +989,7 @@ class Cluster(pulumi.CustomResource):
854
989
  kubeconfig = null.Resource("kubeconfig", triggers={
855
990
  "host": cluster.kubeconfigs[0].host,
856
991
  "token": cluster.kubeconfigs[0].token,
857
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
992
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
858
993
  },
859
994
  opts = pulumi.ResourceOptions(depends_on=[pool]))
860
995
  ```
@@ -885,7 +1020,7 @@ class Cluster(pulumi.CustomResource):
885
1020
  kubeconfig = null.Resource("kubeconfig", triggers={
886
1021
  "host": cluster.kubeconfigs[0].host,
887
1022
  "token": cluster.kubeconfigs[0].token,
888
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1023
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
889
1024
  },
890
1025
  opts = pulumi.ResourceOptions(depends_on=[pool]))
891
1026
  nginx_ip = scaleway.loadbalancers.Ip("nginx_ip",
@@ -972,6 +1107,10 @@ class Cluster(pulumi.CustomResource):
972
1107
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] feature_gates: The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
973
1108
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
974
1109
  :param pulumi.Input[Union['ClusterOpenIdConnectConfigArgs', 'ClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
1110
+ :param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
1111
+
1112
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1113
+ unsetting it to go back to the default value will not have any effect.
975
1114
  :param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
976
1115
 
977
1116
  > **Important:** Changes to this field will recreate a new resource.
@@ -980,6 +1119,14 @@ class Cluster(pulumi.CustomResource):
980
1119
  you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
981
1120
  :param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
982
1121
  :param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
1122
+ :param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
1123
+
1124
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1125
+ unsetting it to go back to the default value will not have any effect.
1126
+ :param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
1127
+
1128
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1129
+ unsetting it to go back to the default value will not have any effect.
983
1130
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
984
1131
  :param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
985
1132
 
@@ -1100,7 +1247,7 @@ class Cluster(pulumi.CustomResource):
1100
1247
  kubeconfig = null.Resource("kubeconfig", triggers={
1101
1248
  "host": cluster.kubeconfigs[0].host,
1102
1249
  "token": cluster.kubeconfigs[0].token,
1103
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1250
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1104
1251
  },
1105
1252
  opts = pulumi.ResourceOptions(depends_on=[pool]))
1106
1253
  ```
@@ -1131,7 +1278,7 @@ class Cluster(pulumi.CustomResource):
1131
1278
  kubeconfig = null.Resource("kubeconfig", triggers={
1132
1279
  "host": cluster.kubeconfigs[0].host,
1133
1280
  "token": cluster.kubeconfigs[0].token,
1134
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1281
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1135
1282
  },
1136
1283
  opts = pulumi.ResourceOptions(depends_on=[pool]))
1137
1284
  nginx_ip = scaleway.loadbalancers.Ip("nginx_ip",
@@ -1228,9 +1375,12 @@ class Cluster(pulumi.CustomResource):
1228
1375
  feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1229
1376
  name: Optional[pulumi.Input[_builtins.str]] = None,
1230
1377
  open_id_connect_config: Optional[pulumi.Input[Union['ClusterOpenIdConnectConfigArgs', 'ClusterOpenIdConnectConfigArgsDict']]] = None,
1378
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1231
1379
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
1232
1380
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
1233
1381
  region: Optional[pulumi.Input[_builtins.str]] = None,
1382
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1383
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
1234
1384
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1235
1385
  type: Optional[pulumi.Input[_builtins.str]] = None,
1236
1386
  version: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1257,9 +1407,12 @@ class Cluster(pulumi.CustomResource):
1257
1407
  __props__.__dict__["feature_gates"] = feature_gates
1258
1408
  __props__.__dict__["name"] = name
1259
1409
  __props__.__dict__["open_id_connect_config"] = open_id_connect_config
1410
+ __props__.__dict__["pod_cidr"] = pod_cidr
1260
1411
  __props__.__dict__["private_network_id"] = private_network_id
1261
1412
  __props__.__dict__["project_id"] = project_id
1262
1413
  __props__.__dict__["region"] = region
1414
+ __props__.__dict__["service_cidr"] = service_cidr
1415
+ __props__.__dict__["service_dns_ip"] = service_dns_ip
1263
1416
  __props__.__dict__["tags"] = tags
1264
1417
  __props__.__dict__["type"] = type
1265
1418
  if version is None and not opts.urn:
@@ -1301,9 +1454,12 @@ class Cluster(pulumi.CustomResource):
1301
1454
  name: Optional[pulumi.Input[_builtins.str]] = None,
1302
1455
  open_id_connect_config: Optional[pulumi.Input[Union['ClusterOpenIdConnectConfigArgs', 'ClusterOpenIdConnectConfigArgsDict']]] = None,
1303
1456
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
1457
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1304
1458
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
1305
1459
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
1306
1460
  region: Optional[pulumi.Input[_builtins.str]] = None,
1461
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1462
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
1307
1463
  status: Optional[pulumi.Input[_builtins.str]] = None,
1308
1464
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1309
1465
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1335,6 +1491,10 @@ class Cluster(pulumi.CustomResource):
1335
1491
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
1336
1492
  :param pulumi.Input[Union['ClusterOpenIdConnectConfigArgs', 'ClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
1337
1493
  :param pulumi.Input[_builtins.str] organization_id: The organization ID the cluster is associated with.
1494
+ :param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
1495
+
1496
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1497
+ unsetting it to go back to the default value will not have any effect.
1338
1498
  :param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
1339
1499
 
1340
1500
  > **Important:** Changes to this field will recreate a new resource.
@@ -1343,6 +1503,14 @@ class Cluster(pulumi.CustomResource):
1343
1503
  you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
1344
1504
  :param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
1345
1505
  :param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
1506
+ :param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
1507
+
1508
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1509
+ unsetting it to go back to the default value will not have any effect.
1510
+ :param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
1511
+
1512
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1513
+ unsetting it to go back to the default value will not have any effect.
1346
1514
  :param pulumi.Input[_builtins.str] status: The status of the Kubernetes cluster.
1347
1515
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
1348
1516
  :param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
@@ -1375,9 +1543,12 @@ class Cluster(pulumi.CustomResource):
1375
1543
  __props__.__dict__["name"] = name
1376
1544
  __props__.__dict__["open_id_connect_config"] = open_id_connect_config
1377
1545
  __props__.__dict__["organization_id"] = organization_id
1546
+ __props__.__dict__["pod_cidr"] = pod_cidr
1378
1547
  __props__.__dict__["private_network_id"] = private_network_id
1379
1548
  __props__.__dict__["project_id"] = project_id
1380
1549
  __props__.__dict__["region"] = region
1550
+ __props__.__dict__["service_cidr"] = service_cidr
1551
+ __props__.__dict__["service_dns_ip"] = service_dns_ip
1381
1552
  __props__.__dict__["status"] = status
1382
1553
  __props__.__dict__["tags"] = tags
1383
1554
  __props__.__dict__["type"] = type
@@ -1502,6 +1673,17 @@ class Cluster(pulumi.CustomResource):
1502
1673
  """
1503
1674
  return pulumi.get(self, "organization_id")
1504
1675
 
1676
+ @_builtins.property
1677
+ @pulumi.getter(name="podCidr")
1678
+ def pod_cidr(self) -> pulumi.Output[_builtins.str]:
1679
+ """
1680
+ The subnet used for the Pod CIDR.
1681
+
1682
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1683
+ unsetting it to go back to the default value will not have any effect.
1684
+ """
1685
+ return pulumi.get(self, "pod_cidr")
1686
+
1505
1687
  @_builtins.property
1506
1688
  @pulumi.getter(name="privateNetworkId")
1507
1689
  def private_network_id(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -1531,6 +1713,28 @@ class Cluster(pulumi.CustomResource):
1531
1713
  """
1532
1714
  return pulumi.get(self, "region")
1533
1715
 
1716
+ @_builtins.property
1717
+ @pulumi.getter(name="serviceCidr")
1718
+ def service_cidr(self) -> pulumi.Output[_builtins.str]:
1719
+ """
1720
+ The subnet used for the Service CIDR.
1721
+
1722
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1723
+ unsetting it to go back to the default value will not have any effect.
1724
+ """
1725
+ return pulumi.get(self, "service_cidr")
1726
+
1727
+ @_builtins.property
1728
+ @pulumi.getter(name="serviceDnsIp")
1729
+ def service_dns_ip(self) -> pulumi.Output[_builtins.str]:
1730
+ """
1731
+ The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
1732
+
1733
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1734
+ unsetting it to go back to the default value will not have any effect.
1735
+ """
1736
+ return pulumi.get(self, "service_dns_ip")
1737
+
1534
1738
  @_builtins.property
1535
1739
  @pulumi.getter
1536
1740
  def status(self) -> pulumi.Output[_builtins.str]: