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
@@ -27,7 +27,7 @@ class GetClusterResult:
27
27
  """
28
28
  A collection of values returned by getCluster.
29
29
  """
30
- def __init__(__self__, admission_plugins=None, apiserver_cert_sans=None, apiserver_url=None, auto_upgrades=None, autoscaler_configs=None, cluster_id=None, cni=None, created_at=None, description=None, feature_gates=None, id=None, kubeconfigs=None, name=None, open_id_connect_configs=None, organization_id=None, private_network_id=None, project_id=None, region=None, status=None, tags=None, type=None, updated_at=None, upgrade_available=None, version=None, wildcard_dns=None):
30
+ def __init__(__self__, admission_plugins=None, apiserver_cert_sans=None, apiserver_url=None, auto_upgrades=None, autoscaler_configs=None, cluster_id=None, cni=None, created_at=None, description=None, feature_gates=None, id=None, kubeconfigs=None, name=None, open_id_connect_configs=None, organization_id=None, pod_cidr=None, private_network_id=None, project_id=None, region=None, service_cidr=None, service_dns_ip=None, status=None, tags=None, type=None, updated_at=None, upgrade_available=None, version=None, wildcard_dns=None):
31
31
  if admission_plugins and not isinstance(admission_plugins, list):
32
32
  raise TypeError("Expected argument 'admission_plugins' to be a list")
33
33
  pulumi.set(__self__, "admission_plugins", admission_plugins)
@@ -73,6 +73,9 @@ class GetClusterResult:
73
73
  if organization_id and not isinstance(organization_id, str):
74
74
  raise TypeError("Expected argument 'organization_id' to be a str")
75
75
  pulumi.set(__self__, "organization_id", organization_id)
76
+ if pod_cidr and not isinstance(pod_cidr, str):
77
+ raise TypeError("Expected argument 'pod_cidr' to be a str")
78
+ pulumi.set(__self__, "pod_cidr", pod_cidr)
76
79
  if private_network_id and not isinstance(private_network_id, str):
77
80
  raise TypeError("Expected argument 'private_network_id' to be a str")
78
81
  pulumi.set(__self__, "private_network_id", private_network_id)
@@ -82,6 +85,12 @@ class GetClusterResult:
82
85
  if region and not isinstance(region, str):
83
86
  raise TypeError("Expected argument 'region' to be a str")
84
87
  pulumi.set(__self__, "region", region)
88
+ if service_cidr and not isinstance(service_cidr, str):
89
+ raise TypeError("Expected argument 'service_cidr' to be a str")
90
+ pulumi.set(__self__, "service_cidr", service_cidr)
91
+ if service_dns_ip and not isinstance(service_dns_ip, str):
92
+ raise TypeError("Expected argument 'service_dns_ip' to be a str")
93
+ pulumi.set(__self__, "service_dns_ip", service_dns_ip)
85
94
  if status and not isinstance(status, str):
86
95
  raise TypeError("Expected argument 'status' to be a str")
87
96
  pulumi.set(__self__, "status", status)
@@ -209,6 +218,11 @@ class GetClusterResult:
209
218
  """
210
219
  return pulumi.get(self, "organization_id")
211
220
 
221
+ @_builtins.property
222
+ @pulumi.getter(name="podCidr")
223
+ def pod_cidr(self) -> _builtins.str:
224
+ return pulumi.get(self, "pod_cidr")
225
+
212
226
  @_builtins.property
213
227
  @pulumi.getter(name="privateNetworkId")
214
228
  def private_network_id(self) -> _builtins.str:
@@ -230,6 +244,16 @@ class GetClusterResult:
230
244
  """
231
245
  return pulumi.get(self, "region")
232
246
 
247
+ @_builtins.property
248
+ @pulumi.getter(name="serviceCidr")
249
+ def service_cidr(self) -> _builtins.str:
250
+ return pulumi.get(self, "service_cidr")
251
+
252
+ @_builtins.property
253
+ @pulumi.getter(name="serviceDnsIp")
254
+ def service_dns_ip(self) -> _builtins.str:
255
+ return pulumi.get(self, "service_dns_ip")
256
+
233
257
  @_builtins.property
234
258
  @pulumi.getter
235
259
  def status(self) -> _builtins.str:
@@ -308,9 +332,12 @@ class AwaitableGetClusterResult(GetClusterResult):
308
332
  name=self.name,
309
333
  open_id_connect_configs=self.open_id_connect_configs,
310
334
  organization_id=self.organization_id,
335
+ pod_cidr=self.pod_cidr,
311
336
  private_network_id=self.private_network_id,
312
337
  project_id=self.project_id,
313
338
  region=self.region,
339
+ service_cidr=self.service_cidr,
340
+ service_dns_ip=self.service_dns_ip,
314
341
  status=self.status,
315
342
  tags=self.tags,
316
343
  type=self.type,
@@ -358,9 +385,12 @@ def get_cluster(cluster_id: Optional[_builtins.str] = None,
358
385
  name=pulumi.get(__ret__, 'name'),
359
386
  open_id_connect_configs=pulumi.get(__ret__, 'open_id_connect_configs'),
360
387
  organization_id=pulumi.get(__ret__, 'organization_id'),
388
+ pod_cidr=pulumi.get(__ret__, 'pod_cidr'),
361
389
  private_network_id=pulumi.get(__ret__, 'private_network_id'),
362
390
  project_id=pulumi.get(__ret__, 'project_id'),
363
391
  region=pulumi.get(__ret__, 'region'),
392
+ service_cidr=pulumi.get(__ret__, 'service_cidr'),
393
+ service_dns_ip=pulumi.get(__ret__, 'service_dns_ip'),
364
394
  status=pulumi.get(__ret__, 'status'),
365
395
  tags=pulumi.get(__ret__, 'tags'),
366
396
  type=pulumi.get(__ret__, 'type'),
@@ -405,9 +435,12 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[Optional[_builtins.str]
405
435
  name=pulumi.get(__response__, 'name'),
406
436
  open_id_connect_configs=pulumi.get(__response__, 'open_id_connect_configs'),
407
437
  organization_id=pulumi.get(__response__, 'organization_id'),
438
+ pod_cidr=pulumi.get(__response__, 'pod_cidr'),
408
439
  private_network_id=pulumi.get(__response__, 'private_network_id'),
409
440
  project_id=pulumi.get(__response__, 'project_id'),
410
441
  region=pulumi.get(__response__, 'region'),
442
+ service_cidr=pulumi.get(__response__, 'service_cidr'),
443
+ service_dns_ip=pulumi.get(__response__, 'service_dns_ip'),
411
444
  status=pulumi.get(__response__, 'status'),
412
445
  tags=pulumi.get(__response__, 'tags'),
413
446
  type=pulumi.get(__response__, 'type'),
@@ -32,9 +32,12 @@ class KubernetesClusterArgs:
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['KubernetesClusterOpenIdConnectConfigArgs']] = 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 KubernetesClusterArgs:
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['KubernetesClusterOpenIdConnectConfigArgs'] 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 KubernetesClusterArgs:
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 KubernetesClusterArgs:
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 KubernetesClusterArgs:
235
256
  def open_id_connect_config(self, value: Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']]):
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 KubernetesClusterArgs:
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 _KubernetesClusterState:
324
390
  name: Optional[pulumi.Input[_builtins.str]] = None,
325
391
  open_id_connect_config: Optional[pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs']] = 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 _KubernetesClusterState:
353
422
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
354
423
  :param pulumi.Input['KubernetesClusterOpenIdConnectConfigArgs'] 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 _KubernetesClusterState:
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 _KubernetesClusterState:
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 _KubernetesClusterState:
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 _KubernetesClusterState:
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]]:
@@ -748,9 +880,12 @@ class KubernetesCluster(pulumi.CustomResource):
748
880
  feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
749
881
  name: Optional[pulumi.Input[_builtins.str]] = None,
750
882
  open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
883
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
751
884
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
752
885
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
753
886
  region: Optional[pulumi.Input[_builtins.str]] = None,
887
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
888
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
754
889
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
755
890
  type: Optional[pulumi.Input[_builtins.str]] = None,
756
891
  version: Optional[pulumi.Input[_builtins.str]] = None,
@@ -859,7 +994,7 @@ class KubernetesCluster(pulumi.CustomResource):
859
994
  kubeconfig = null.Resource("kubeconfig", triggers={
860
995
  "host": cluster.kubeconfigs[0].host,
861
996
  "token": cluster.kubeconfigs[0].token,
862
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
997
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
863
998
  },
864
999
  opts = pulumi.ResourceOptions(depends_on=[pool]))
865
1000
  ```
@@ -890,7 +1025,7 @@ class KubernetesCluster(pulumi.CustomResource):
890
1025
  kubeconfig = null.Resource("kubeconfig", triggers={
891
1026
  "host": cluster.kubeconfigs[0].host,
892
1027
  "token": cluster.kubeconfigs[0].token,
893
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1028
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
894
1029
  },
895
1030
  opts = pulumi.ResourceOptions(depends_on=[pool]))
896
1031
  nginx_ip = scaleway.loadbalancers.Ip("nginx_ip",
@@ -977,6 +1112,10 @@ class KubernetesCluster(pulumi.CustomResource):
977
1112
  :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.
978
1113
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
979
1114
  :param pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
1115
+ :param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
1116
+
1117
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1118
+ unsetting it to go back to the default value will not have any effect.
980
1119
  :param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
981
1120
 
982
1121
  > **Important:** Changes to this field will recreate a new resource.
@@ -985,6 +1124,14 @@ class KubernetesCluster(pulumi.CustomResource):
985
1124
  you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
986
1125
  :param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
987
1126
  :param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
1127
+ :param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
1128
+
1129
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1130
+ unsetting it to go back to the default value will not have any effect.
1131
+ :param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
1132
+
1133
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1134
+ unsetting it to go back to the default value will not have any effect.
988
1135
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
989
1136
  :param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
990
1137
 
@@ -1105,7 +1252,7 @@ class KubernetesCluster(pulumi.CustomResource):
1105
1252
  kubeconfig = null.Resource("kubeconfig", triggers={
1106
1253
  "host": cluster.kubeconfigs[0].host,
1107
1254
  "token": cluster.kubeconfigs[0].token,
1108
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1255
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1109
1256
  },
1110
1257
  opts = pulumi.ResourceOptions(depends_on=[pool]))
1111
1258
  ```
@@ -1136,7 +1283,7 @@ class KubernetesCluster(pulumi.CustomResource):
1136
1283
  kubeconfig = null.Resource("kubeconfig", triggers={
1137
1284
  "host": cluster.kubeconfigs[0].host,
1138
1285
  "token": cluster.kubeconfigs[0].token,
1139
- "cluster_ca_certificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1286
+ "clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
1140
1287
  },
1141
1288
  opts = pulumi.ResourceOptions(depends_on=[pool]))
1142
1289
  nginx_ip = scaleway.loadbalancers.Ip("nginx_ip",
@@ -1233,9 +1380,12 @@ class KubernetesCluster(pulumi.CustomResource):
1233
1380
  feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1234
1381
  name: Optional[pulumi.Input[_builtins.str]] = None,
1235
1382
  open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
1383
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1236
1384
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
1237
1385
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
1238
1386
  region: Optional[pulumi.Input[_builtins.str]] = None,
1387
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1388
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
1239
1389
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1240
1390
  type: Optional[pulumi.Input[_builtins.str]] = None,
1241
1391
  version: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1263,9 +1413,12 @@ class KubernetesCluster(pulumi.CustomResource):
1263
1413
  __props__.__dict__["feature_gates"] = feature_gates
1264
1414
  __props__.__dict__["name"] = name
1265
1415
  __props__.__dict__["open_id_connect_config"] = open_id_connect_config
1416
+ __props__.__dict__["pod_cidr"] = pod_cidr
1266
1417
  __props__.__dict__["private_network_id"] = private_network_id
1267
1418
  __props__.__dict__["project_id"] = project_id
1268
1419
  __props__.__dict__["region"] = region
1420
+ __props__.__dict__["service_cidr"] = service_cidr
1421
+ __props__.__dict__["service_dns_ip"] = service_dns_ip
1269
1422
  __props__.__dict__["tags"] = tags
1270
1423
  __props__.__dict__["type"] = type
1271
1424
  if version is None and not opts.urn:
@@ -1305,9 +1458,12 @@ class KubernetesCluster(pulumi.CustomResource):
1305
1458
  name: Optional[pulumi.Input[_builtins.str]] = None,
1306
1459
  open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
1307
1460
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
1461
+ pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1308
1462
  private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
1309
1463
  project_id: Optional[pulumi.Input[_builtins.str]] = None,
1310
1464
  region: Optional[pulumi.Input[_builtins.str]] = None,
1465
+ service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
1466
+ service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
1311
1467
  status: Optional[pulumi.Input[_builtins.str]] = None,
1312
1468
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1313
1469
  type: Optional[pulumi.Input[_builtins.str]] = None,
@@ -1339,6 +1495,10 @@ class KubernetesCluster(pulumi.CustomResource):
1339
1495
  :param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
1340
1496
  :param pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
1341
1497
  :param pulumi.Input[_builtins.str] organization_id: The organization ID the cluster is associated with.
1498
+ :param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
1499
+
1500
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1501
+ unsetting it to go back to the default value will not have any effect.
1342
1502
  :param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
1343
1503
 
1344
1504
  > **Important:** Changes to this field will recreate a new resource.
@@ -1347,6 +1507,14 @@ class KubernetesCluster(pulumi.CustomResource):
1347
1507
  you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
1348
1508
  :param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
1349
1509
  :param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
1510
+ :param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
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.
1514
+ :param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
1515
+
1516
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1517
+ unsetting it to go back to the default value will not have any effect.
1350
1518
  :param pulumi.Input[_builtins.str] status: The status of the Kubernetes cluster.
1351
1519
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
1352
1520
  :param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
@@ -1379,9 +1547,12 @@ class KubernetesCluster(pulumi.CustomResource):
1379
1547
  __props__.__dict__["name"] = name
1380
1548
  __props__.__dict__["open_id_connect_config"] = open_id_connect_config
1381
1549
  __props__.__dict__["organization_id"] = organization_id
1550
+ __props__.__dict__["pod_cidr"] = pod_cidr
1382
1551
  __props__.__dict__["private_network_id"] = private_network_id
1383
1552
  __props__.__dict__["project_id"] = project_id
1384
1553
  __props__.__dict__["region"] = region
1554
+ __props__.__dict__["service_cidr"] = service_cidr
1555
+ __props__.__dict__["service_dns_ip"] = service_dns_ip
1385
1556
  __props__.__dict__["status"] = status
1386
1557
  __props__.__dict__["tags"] = tags
1387
1558
  __props__.__dict__["type"] = type
@@ -1506,6 +1677,17 @@ class KubernetesCluster(pulumi.CustomResource):
1506
1677
  """
1507
1678
  return pulumi.get(self, "organization_id")
1508
1679
 
1680
+ @_builtins.property
1681
+ @pulumi.getter(name="podCidr")
1682
+ def pod_cidr(self) -> pulumi.Output[_builtins.str]:
1683
+ """
1684
+ The subnet used for the Pod CIDR.
1685
+
1686
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1687
+ unsetting it to go back to the default value will not have any effect.
1688
+ """
1689
+ return pulumi.get(self, "pod_cidr")
1690
+
1509
1691
  @_builtins.property
1510
1692
  @pulumi.getter(name="privateNetworkId")
1511
1693
  def private_network_id(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -1535,6 +1717,28 @@ class KubernetesCluster(pulumi.CustomResource):
1535
1717
  """
1536
1718
  return pulumi.get(self, "region")
1537
1719
 
1720
+ @_builtins.property
1721
+ @pulumi.getter(name="serviceCidr")
1722
+ def service_cidr(self) -> pulumi.Output[_builtins.str]:
1723
+ """
1724
+ The subnet used for the Service CIDR.
1725
+
1726
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1727
+ unsetting it to go back to the default value will not have any effect.
1728
+ """
1729
+ return pulumi.get(self, "service_cidr")
1730
+
1731
+ @_builtins.property
1732
+ @pulumi.getter(name="serviceDnsIp")
1733
+ def service_dns_ip(self) -> pulumi.Output[_builtins.str]:
1734
+ """
1735
+ The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
1736
+
1737
+ > **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
1738
+ unsetting it to go back to the default value will not have any effect.
1739
+ """
1740
+ return pulumi.get(self, "service_dns_ip")
1741
+
1538
1742
  @_builtins.property
1539
1743
  @pulumi.getter
1540
1744
  def status(self) -> pulumi.Output[_builtins.str]:
@@ -273,38 +273,6 @@ class BucketPolicy(pulumi.CustomResource):
273
273
  bucket = scaleway.object.get_bucket(name="some-unique-name")
274
274
  ```
275
275
 
276
- ### Example with AWS provider
277
-
278
- ```python
279
- import pulumi
280
- import pulumi_aws as aws
281
- import pulumi_scaleway as scaleway
282
- import pulumiverse_scaleway as scaleway
283
-
284
- # Scaleway project ID
285
- default = scaleway.account.get_project(name="default")
286
- # Object storage configuration
287
- bucket = scaleway.object.Bucket("bucket", name="some-unique-name")
288
- # AWS data source
289
- policy = aws.iam.get_policy_document_output(version="2012-10-17",
290
- statements=[{
291
- "sid": "Delegate access",
292
- "effect": "Allow",
293
- "principals": [{
294
- "type": "SCW",
295
- "identifiers": [f"project_id:{default.id}"],
296
- }],
297
- "actions": ["s3:ListBucket"],
298
- "resources": [
299
- bucket.name,
300
- bucket.name.apply(lambda name: f"{name}/*"),
301
- ],
302
- }])
303
- main = scaleway.object.BucketPolicy("main",
304
- bucket=bucket.id,
305
- policy=policy.json)
306
- ```
307
-
308
276
  ### Example with deprecated version 2012-10-17
309
277
 
310
278
  ```python
@@ -479,38 +447,6 @@ class BucketPolicy(pulumi.CustomResource):
479
447
  bucket = scaleway.object.get_bucket(name="some-unique-name")
480
448
  ```
481
449
 
482
- ### Example with AWS provider
483
-
484
- ```python
485
- import pulumi
486
- import pulumi_aws as aws
487
- import pulumi_scaleway as scaleway
488
- import pulumiverse_scaleway as scaleway
489
-
490
- # Scaleway project ID
491
- default = scaleway.account.get_project(name="default")
492
- # Object storage configuration
493
- bucket = scaleway.object.Bucket("bucket", name="some-unique-name")
494
- # AWS data source
495
- policy = aws.iam.get_policy_document_output(version="2012-10-17",
496
- statements=[{
497
- "sid": "Delegate access",
498
- "effect": "Allow",
499
- "principals": [{
500
- "type": "SCW",
501
- "identifiers": [f"project_id:{default.id}"],
502
- }],
503
- "actions": ["s3:ListBucket"],
504
- "resources": [
505
- bucket.name,
506
- bucket.name.apply(lambda name: f"{name}/*"),
507
- ],
508
- }])
509
- main = scaleway.object.BucketPolicy("main",
510
- bucket=bucket.id,
511
- policy=policy.json)
512
- ```
513
-
514
450
  ### Example with deprecated version 2012-10-17
515
451
 
516
452
  ```python