pulumiverse-scaleway 1.35.0a1761031391__py3-none-any.whl → 1.39.0a1764841480__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.
- pulumiverse_scaleway/__init__.py +38 -0
- pulumiverse_scaleway/_inputs.py +271 -166
- pulumiverse_scaleway/audittrail/__init__.py +10 -0
- pulumiverse_scaleway/audittrail/get_event.py +410 -0
- pulumiverse_scaleway/audittrail/outputs.py +234 -0
- pulumiverse_scaleway/baremetal_server.py +159 -0
- pulumiverse_scaleway/billing/get_consumptions.py +4 -0
- pulumiverse_scaleway/block/snapshot.py +78 -0
- pulumiverse_scaleway/block_snapshot.py +78 -0
- pulumiverse_scaleway/cockpit_grafana_user.py +0 -42
- pulumiverse_scaleway/database_instance.py +105 -55
- pulumiverse_scaleway/database_user.py +6 -6
- pulumiverse_scaleway/databases/_inputs.py +97 -3
- pulumiverse_scaleway/databases/get_instance.py +12 -1
- pulumiverse_scaleway/databases/instance.py +105 -55
- pulumiverse_scaleway/databases/outputs.py +127 -2
- pulumiverse_scaleway/databases/user.py +6 -6
- pulumiverse_scaleway/datawarehouse/__init__.py +13 -0
- pulumiverse_scaleway/datawarehouse/_inputs.py +149 -0
- pulumiverse_scaleway/datawarehouse/database.py +338 -0
- pulumiverse_scaleway/datawarehouse/deployment.py +821 -0
- pulumiverse_scaleway/datawarehouse/outputs.py +113 -0
- pulumiverse_scaleway/datawarehouse/user.py +451 -0
- pulumiverse_scaleway/domain/record.py +4 -4
- pulumiverse_scaleway/domain_record.py +4 -4
- pulumiverse_scaleway/edge_services_cache_stage.py +30 -0
- pulumiverse_scaleway/edge_services_dns_stage.py +28 -0
- pulumiverse_scaleway/elasticmetal/get_offer.py +2 -0
- pulumiverse_scaleway/elasticmetal/get_server.py +12 -1
- pulumiverse_scaleway/elasticmetal/server.py +159 -0
- pulumiverse_scaleway/file_filesystem.py +39 -35
- pulumiverse_scaleway/get_baremetal_offer.py +2 -0
- pulumiverse_scaleway/get_baremetal_server.py +12 -1
- pulumiverse_scaleway/get_billing_consumptions.py +4 -0
- pulumiverse_scaleway/get_database_instance.py +12 -1
- pulumiverse_scaleway/get_instance_ip.py +14 -2
- pulumiverse_scaleway/get_instance_server.py +13 -83
- pulumiverse_scaleway/get_k8s_version.py +12 -1
- pulumiverse_scaleway/get_kubernetes_cluster.py +34 -1
- pulumiverse_scaleway/get_loadbalancer.py +12 -1
- pulumiverse_scaleway/get_loadbalancer_certificate.py +60 -0
- pulumiverse_scaleway/iam/__init__.py +1 -0
- pulumiverse_scaleway/iam/get_policy.py +293 -0
- pulumiverse_scaleway/iam/outputs.py +52 -0
- pulumiverse_scaleway/inference/deployment.py +36 -0
- pulumiverse_scaleway/inference/model.py +7 -7
- pulumiverse_scaleway/inference_deployment.py +36 -0
- pulumiverse_scaleway/instance/_inputs.py +155 -144
- pulumiverse_scaleway/instance/get_ip.py +14 -2
- pulumiverse_scaleway/instance/get_server.py +13 -83
- pulumiverse_scaleway/instance/image.py +94 -40
- pulumiverse_scaleway/instance/outputs.py +164 -167
- pulumiverse_scaleway/instance/server.py +116 -244
- pulumiverse_scaleway/instance/user_data.py +4 -4
- pulumiverse_scaleway/instance/volume.py +14 -0
- pulumiverse_scaleway/instance_image.py +94 -40
- pulumiverse_scaleway/instance_server.py +116 -244
- pulumiverse_scaleway/instance_user_data.py +4 -4
- pulumiverse_scaleway/instance_volume.py +14 -0
- pulumiverse_scaleway/iot/device.py +0 -38
- pulumiverse_scaleway/iot/hub.py +11 -11
- pulumiverse_scaleway/iot/route.py +20 -20
- pulumiverse_scaleway/iot_device.py +0 -38
- pulumiverse_scaleway/iot_hub.py +11 -11
- pulumiverse_scaleway/iot_route.py +20 -20
- pulumiverse_scaleway/ipam/_inputs.py +6 -6
- pulumiverse_scaleway/ipam/ip.py +35 -7
- pulumiverse_scaleway/ipam/ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/ipam/outputs.py +4 -4
- pulumiverse_scaleway/ipam_ip.py +35 -7
- pulumiverse_scaleway/ipam_ip_reverse_dns.py +70 -0
- pulumiverse_scaleway/key_manager_key.py +134 -25
- pulumiverse_scaleway/kubernetes/cluster.py +290 -4
- pulumiverse_scaleway/kubernetes/get_cluster.py +34 -1
- pulumiverse_scaleway/kubernetes/get_version.py +12 -1
- pulumiverse_scaleway/kubernetes/pool.py +7 -7
- pulumiverse_scaleway/kubernetes_cluster.py +290 -4
- pulumiverse_scaleway/kubernetes_node_pool.py +7 -7
- pulumiverse_scaleway/loadbalancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/__init__.py +1 -0
- pulumiverse_scaleway/loadbalancers/_inputs.py +13 -13
- pulumiverse_scaleway/loadbalancers/get_certificate.py +60 -0
- pulumiverse_scaleway/loadbalancers/get_load_balancer.py +12 -1
- pulumiverse_scaleway/loadbalancers/load_balancer.py +55 -1
- pulumiverse_scaleway/loadbalancers/outputs.py +9 -9
- pulumiverse_scaleway/loadbalancers/private_network.py +505 -0
- pulumiverse_scaleway/mongo_db_instance.py +14 -14
- pulumiverse_scaleway/mongodb/instance.py +14 -14
- pulumiverse_scaleway/network/gateway_network.py +7 -7
- pulumiverse_scaleway/object/__init__.py +1 -0
- pulumiverse_scaleway/object/bucket_policy.py +0 -64
- pulumiverse_scaleway/object/get.py +290 -0
- pulumiverse_scaleway/object/item.py +37 -7
- pulumiverse_scaleway/object_bucket_policy.py +0 -64
- pulumiverse_scaleway/object_item.py +37 -7
- pulumiverse_scaleway/observability/__init__.py +1 -0
- pulumiverse_scaleway/observability/get_grafana.py +103 -0
- pulumiverse_scaleway/observability/get_sources.py +6 -6
- pulumiverse_scaleway/observability/grafana_user.py +0 -42
- pulumiverse_scaleway/observability/outputs.py +2 -2
- pulumiverse_scaleway/outputs.py +304 -182
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/tem/domain.py +42 -0
- pulumiverse_scaleway/tem_domain.py +42 -0
- pulumiverse_scaleway/vpc_gateway_network.py +7 -7
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/RECORD +109 -96
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.35.0a1761031391.dist-info → pulumiverse_scaleway-1.39.0a1764841480.dist-info}/top_level.txt +0 -0
|
@@ -26,7 +26,7 @@ class GetVersionResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getVersion.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, available_cnis=None, available_container_runtimes=None, available_feature_gates=None, id=None, name=None, region=None):
|
|
29
|
+
def __init__(__self__, available_cnis=None, available_container_runtimes=None, available_feature_gates=None, id=None, major_minor_only=None, name=None, region=None):
|
|
30
30
|
if available_cnis and not isinstance(available_cnis, list):
|
|
31
31
|
raise TypeError("Expected argument 'available_cnis' to be a list")
|
|
32
32
|
pulumi.set(__self__, "available_cnis", available_cnis)
|
|
@@ -39,6 +39,9 @@ class GetVersionResult:
|
|
|
39
39
|
if id and not isinstance(id, str):
|
|
40
40
|
raise TypeError("Expected argument 'id' to be a str")
|
|
41
41
|
pulumi.set(__self__, "id", id)
|
|
42
|
+
if major_minor_only and not isinstance(major_minor_only, str):
|
|
43
|
+
raise TypeError("Expected argument 'major_minor_only' to be a str")
|
|
44
|
+
pulumi.set(__self__, "major_minor_only", major_minor_only)
|
|
42
45
|
if name and not isinstance(name, str):
|
|
43
46
|
raise TypeError("Expected argument 'name' to be a str")
|
|
44
47
|
pulumi.set(__self__, "name", name)
|
|
@@ -78,6 +81,11 @@ class GetVersionResult:
|
|
|
78
81
|
"""
|
|
79
82
|
return pulumi.get(self, "id")
|
|
80
83
|
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter(name="majorMinorOnly")
|
|
86
|
+
def major_minor_only(self) -> _builtins.str:
|
|
87
|
+
return pulumi.get(self, "major_minor_only")
|
|
88
|
+
|
|
81
89
|
@_builtins.property
|
|
82
90
|
@pulumi.getter
|
|
83
91
|
def name(self) -> _builtins.str:
|
|
@@ -99,6 +107,7 @@ class AwaitableGetVersionResult(GetVersionResult):
|
|
|
99
107
|
available_container_runtimes=self.available_container_runtimes,
|
|
100
108
|
available_feature_gates=self.available_feature_gates,
|
|
101
109
|
id=self.id,
|
|
110
|
+
major_minor_only=self.major_minor_only,
|
|
102
111
|
name=self.name,
|
|
103
112
|
region=self.region)
|
|
104
113
|
|
|
@@ -147,6 +156,7 @@ def get_version(name: Optional[_builtins.str] = None,
|
|
|
147
156
|
available_container_runtimes=pulumi.get(__ret__, 'available_container_runtimes'),
|
|
148
157
|
available_feature_gates=pulumi.get(__ret__, 'available_feature_gates'),
|
|
149
158
|
id=pulumi.get(__ret__, 'id'),
|
|
159
|
+
major_minor_only=pulumi.get(__ret__, 'major_minor_only'),
|
|
150
160
|
name=pulumi.get(__ret__, 'name'),
|
|
151
161
|
region=pulumi.get(__ret__, 'region'))
|
|
152
162
|
def get_version_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -192,5 +202,6 @@ def get_version_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
192
202
|
available_container_runtimes=pulumi.get(__response__, 'available_container_runtimes'),
|
|
193
203
|
available_feature_gates=pulumi.get(__response__, 'available_feature_gates'),
|
|
194
204
|
id=pulumi.get(__response__, 'id'),
|
|
205
|
+
major_minor_only=pulumi.get(__response__, 'major_minor_only'),
|
|
195
206
|
name=pulumi.get(__response__, 'name'),
|
|
196
207
|
region=pulumi.get(__response__, 'region')))
|
|
@@ -77,7 +77,7 @@ class PoolArgs:
|
|
|
77
77
|
> **Important:** Updates to this field will recreate a new resource.
|
|
78
78
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
79
79
|
|
|
80
|
-
> Note: As
|
|
80
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
81
81
|
:param pulumi.Input['PoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
|
|
82
82
|
:param pulumi.Input[_builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
|
83
83
|
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the pool should be created.
|
|
@@ -336,7 +336,7 @@ class PoolArgs:
|
|
|
336
336
|
"""
|
|
337
337
|
The tags associated with the pool.
|
|
338
338
|
|
|
339
|
-
> Note: As
|
|
339
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
340
340
|
"""
|
|
341
341
|
return pulumi.get(self, "tags")
|
|
342
342
|
|
|
@@ -452,7 +452,7 @@ class _PoolState:
|
|
|
452
452
|
:param pulumi.Input[_builtins.str] status: The status of the node.
|
|
453
453
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
454
454
|
|
|
455
|
-
> Note: As
|
|
455
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
456
456
|
:param pulumi.Input[_builtins.str] updated_at: The last update date of the pool.
|
|
457
457
|
:param pulumi.Input['PoolUpgradePolicyArgs'] upgrade_policy: The Pool upgrade policy
|
|
458
458
|
:param pulumi.Input[_builtins.str] version: The version of the pool.
|
|
@@ -776,7 +776,7 @@ class _PoolState:
|
|
|
776
776
|
"""
|
|
777
777
|
The tags associated with the pool.
|
|
778
778
|
|
|
779
|
-
> Note: As
|
|
779
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
780
780
|
"""
|
|
781
781
|
return pulumi.get(self, "tags")
|
|
782
782
|
|
|
@@ -921,7 +921,7 @@ class Pool(pulumi.CustomResource):
|
|
|
921
921
|
> **Important:** This field will only be used at creation if autoscaling is enabled.
|
|
922
922
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
923
923
|
|
|
924
|
-
> Note: As
|
|
924
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
925
925
|
:param pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']] upgrade_policy: The Pool upgrade policy
|
|
926
926
|
:param pulumi.Input[_builtins.bool] wait_for_pool_ready: Whether to wait for the pool to be ready.
|
|
927
927
|
:param pulumi.Input[_builtins.str] zone: `zone`) The zone in which the pool should be created.
|
|
@@ -1104,7 +1104,7 @@ class Pool(pulumi.CustomResource):
|
|
|
1104
1104
|
:param pulumi.Input[_builtins.str] status: The status of the node.
|
|
1105
1105
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the pool.
|
|
1106
1106
|
|
|
1107
|
-
> Note: As
|
|
1107
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
1108
1108
|
:param pulumi.Input[_builtins.str] updated_at: The last update date of the pool.
|
|
1109
1109
|
:param pulumi.Input[Union['PoolUpgradePolicyArgs', 'PoolUpgradePolicyArgsDict']] upgrade_policy: The Pool upgrade policy
|
|
1110
1110
|
:param pulumi.Input[_builtins.str] version: The version of the pool.
|
|
@@ -1327,7 +1327,7 @@ class Pool(pulumi.CustomResource):
|
|
|
1327
1327
|
"""
|
|
1328
1328
|
The tags associated with the pool.
|
|
1329
1329
|
|
|
1330
|
-
> Note: As
|
|
1330
|
+
> Note: As mentioned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (e.g.: `"taint=taintName=taintValue:Effect"`)
|
|
1331
1331
|
"""
|
|
1332
1332
|
return pulumi.get(self, "tags")
|
|
1333
1333
|
|
|
@@ -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
|
-
"
|
|
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
|
-
"
|
|
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",
|
|
@@ -925,6 +1060,47 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
925
1060
|
])
|
|
926
1061
|
```
|
|
927
1062
|
|
|
1063
|
+
## Deprecation of default_pool
|
|
1064
|
+
|
|
1065
|
+
`default_pool` is deprecated in favour the `kubernetes.Pool` resource. Here is a migration example.
|
|
1066
|
+
|
|
1067
|
+
Before:
|
|
1068
|
+
|
|
1069
|
+
```python
|
|
1070
|
+
import pulumi
|
|
1071
|
+
import pulumiverse_scaleway as scaleway
|
|
1072
|
+
|
|
1073
|
+
cluster = scaleway.kubernetes.Cluster("cluster",
|
|
1074
|
+
name="tf-cluster",
|
|
1075
|
+
version="1.18.0",
|
|
1076
|
+
cni="cilium",
|
|
1077
|
+
default_pool=[{
|
|
1078
|
+
"nodeType": "DEV1-M",
|
|
1079
|
+
"size": 1,
|
|
1080
|
+
}])
|
|
1081
|
+
```
|
|
1082
|
+
|
|
1083
|
+
After:
|
|
1084
|
+
|
|
1085
|
+
```python
|
|
1086
|
+
import pulumi
|
|
1087
|
+
import pulumiverse_scaleway as scaleway
|
|
1088
|
+
|
|
1089
|
+
cluster = scaleway.kubernetes.Cluster("cluster",
|
|
1090
|
+
name="tf-cluster",
|
|
1091
|
+
version="1.18.0",
|
|
1092
|
+
cni="cilium")
|
|
1093
|
+
default = scaleway.kubernetes.Pool("default",
|
|
1094
|
+
cluster_id=jack["id"],
|
|
1095
|
+
name="default",
|
|
1096
|
+
node_type="DEV1-M",
|
|
1097
|
+
size=1)
|
|
1098
|
+
```
|
|
1099
|
+
|
|
1100
|
+
Once you have moved all the `default_pool` into their own object, you will need to import them. If your pool had the ID 11111111-1111-1111-1111-111111111111 in the `fr-par` region, you can import it by typing:
|
|
1101
|
+
|
|
1102
|
+
Then you will only need to type `pulumi up` to have a smooth migration.
|
|
1103
|
+
|
|
928
1104
|
## Import
|
|
929
1105
|
|
|
930
1106
|
Kubernetes clusters can be imported using the `{region}/{id}`, e.g.
|
|
@@ -950,6 +1126,10 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
950
1126
|
: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.
|
|
951
1127
|
:param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
|
|
952
1128
|
:param pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
|
|
1129
|
+
:param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
|
|
1130
|
+
|
|
1131
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1132
|
+
unsetting it to go back to the default value will not have any effect.
|
|
953
1133
|
:param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
|
|
954
1134
|
|
|
955
1135
|
> **Important:** Changes to this field will recreate a new resource.
|
|
@@ -958,6 +1138,14 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
958
1138
|
you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
|
|
959
1139
|
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
|
|
960
1140
|
:param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
|
|
1141
|
+
:param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
|
|
1142
|
+
|
|
1143
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1144
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1145
|
+
:param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
|
|
1146
|
+
|
|
1147
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1148
|
+
unsetting it to go back to the default value will not have any effect.
|
|
961
1149
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
|
|
962
1150
|
:param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
|
|
963
1151
|
|
|
@@ -1078,7 +1266,7 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1078
1266
|
kubeconfig = null.Resource("kubeconfig", triggers={
|
|
1079
1267
|
"host": cluster.kubeconfigs[0].host,
|
|
1080
1268
|
"token": cluster.kubeconfigs[0].token,
|
|
1081
|
-
"
|
|
1269
|
+
"clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
|
|
1082
1270
|
},
|
|
1083
1271
|
opts = pulumi.ResourceOptions(depends_on=[pool]))
|
|
1084
1272
|
```
|
|
@@ -1109,7 +1297,7 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1109
1297
|
kubeconfig = null.Resource("kubeconfig", triggers={
|
|
1110
1298
|
"host": cluster.kubeconfigs[0].host,
|
|
1111
1299
|
"token": cluster.kubeconfigs[0].token,
|
|
1112
|
-
"
|
|
1300
|
+
"clusterCaCertificate": cluster.kubeconfigs[0].cluster_ca_certificate,
|
|
1113
1301
|
},
|
|
1114
1302
|
opts = pulumi.ResourceOptions(depends_on=[pool]))
|
|
1115
1303
|
nginx_ip = scaleway.loadbalancers.Ip("nginx_ip",
|
|
@@ -1144,6 +1332,47 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1144
1332
|
])
|
|
1145
1333
|
```
|
|
1146
1334
|
|
|
1335
|
+
## Deprecation of default_pool
|
|
1336
|
+
|
|
1337
|
+
`default_pool` is deprecated in favour the `kubernetes.Pool` resource. Here is a migration example.
|
|
1338
|
+
|
|
1339
|
+
Before:
|
|
1340
|
+
|
|
1341
|
+
```python
|
|
1342
|
+
import pulumi
|
|
1343
|
+
import pulumiverse_scaleway as scaleway
|
|
1344
|
+
|
|
1345
|
+
cluster = scaleway.kubernetes.Cluster("cluster",
|
|
1346
|
+
name="tf-cluster",
|
|
1347
|
+
version="1.18.0",
|
|
1348
|
+
cni="cilium",
|
|
1349
|
+
default_pool=[{
|
|
1350
|
+
"nodeType": "DEV1-M",
|
|
1351
|
+
"size": 1,
|
|
1352
|
+
}])
|
|
1353
|
+
```
|
|
1354
|
+
|
|
1355
|
+
After:
|
|
1356
|
+
|
|
1357
|
+
```python
|
|
1358
|
+
import pulumi
|
|
1359
|
+
import pulumiverse_scaleway as scaleway
|
|
1360
|
+
|
|
1361
|
+
cluster = scaleway.kubernetes.Cluster("cluster",
|
|
1362
|
+
name="tf-cluster",
|
|
1363
|
+
version="1.18.0",
|
|
1364
|
+
cni="cilium")
|
|
1365
|
+
default = scaleway.kubernetes.Pool("default",
|
|
1366
|
+
cluster_id=jack["id"],
|
|
1367
|
+
name="default",
|
|
1368
|
+
node_type="DEV1-M",
|
|
1369
|
+
size=1)
|
|
1370
|
+
```
|
|
1371
|
+
|
|
1372
|
+
Once you have moved all the `default_pool` into their own object, you will need to import them. If your pool had the ID 11111111-1111-1111-1111-111111111111 in the `fr-par` region, you can import it by typing:
|
|
1373
|
+
|
|
1374
|
+
Then you will only need to type `pulumi up` to have a smooth migration.
|
|
1375
|
+
|
|
1147
1376
|
## Import
|
|
1148
1377
|
|
|
1149
1378
|
Kubernetes clusters can be imported using the `{region}/{id}`, e.g.
|
|
@@ -1179,9 +1408,12 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1179
1408
|
feature_gates: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1180
1409
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1181
1410
|
open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
|
|
1411
|
+
pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1182
1412
|
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1183
1413
|
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1184
1414
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1415
|
+
service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1416
|
+
service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1185
1417
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1186
1418
|
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1187
1419
|
version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -1209,9 +1441,12 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1209
1441
|
__props__.__dict__["feature_gates"] = feature_gates
|
|
1210
1442
|
__props__.__dict__["name"] = name
|
|
1211
1443
|
__props__.__dict__["open_id_connect_config"] = open_id_connect_config
|
|
1444
|
+
__props__.__dict__["pod_cidr"] = pod_cidr
|
|
1212
1445
|
__props__.__dict__["private_network_id"] = private_network_id
|
|
1213
1446
|
__props__.__dict__["project_id"] = project_id
|
|
1214
1447
|
__props__.__dict__["region"] = region
|
|
1448
|
+
__props__.__dict__["service_cidr"] = service_cidr
|
|
1449
|
+
__props__.__dict__["service_dns_ip"] = service_dns_ip
|
|
1215
1450
|
__props__.__dict__["tags"] = tags
|
|
1216
1451
|
__props__.__dict__["type"] = type
|
|
1217
1452
|
if version is None and not opts.urn:
|
|
@@ -1251,9 +1486,12 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1251
1486
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1252
1487
|
open_id_connect_config: Optional[pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']]] = None,
|
|
1253
1488
|
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1489
|
+
pod_cidr: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1254
1490
|
private_network_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1255
1491
|
project_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1256
1492
|
region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1493
|
+
service_cidr: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1494
|
+
service_dns_ip: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1257
1495
|
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1258
1496
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1259
1497
|
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -1285,6 +1523,10 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1285
1523
|
:param pulumi.Input[_builtins.str] name: The name for the Kubernetes cluster.
|
|
1286
1524
|
:param pulumi.Input[Union['KubernetesClusterOpenIdConnectConfigArgs', 'KubernetesClusterOpenIdConnectConfigArgsDict']] open_id_connect_config: The OpenID Connect configuration of the cluster
|
|
1287
1525
|
:param pulumi.Input[_builtins.str] organization_id: The organization ID the cluster is associated with.
|
|
1526
|
+
:param pulumi.Input[_builtins.str] pod_cidr: The subnet used for the Pod CIDR.
|
|
1527
|
+
|
|
1528
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1529
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1288
1530
|
:param pulumi.Input[_builtins.str] private_network_id: The ID of the private network of the cluster.
|
|
1289
1531
|
|
|
1290
1532
|
> **Important:** Changes to this field will recreate a new resource.
|
|
@@ -1293,6 +1535,14 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1293
1535
|
you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
|
|
1294
1536
|
:param pulumi.Input[_builtins.str] project_id: `project_id`) The ID of the project the cluster is associated with.
|
|
1295
1537
|
:param pulumi.Input[_builtins.str] region: `region`) The region in which the cluster should be created.
|
|
1538
|
+
:param pulumi.Input[_builtins.str] service_cidr: The subnet used for the Service CIDR.
|
|
1539
|
+
|
|
1540
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1541
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1542
|
+
:param pulumi.Input[_builtins.str] service_dns_ip: The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
|
|
1543
|
+
|
|
1544
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1545
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1296
1546
|
:param pulumi.Input[_builtins.str] status: The status of the Kubernetes cluster.
|
|
1297
1547
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The tags associated with the Kubernetes cluster.
|
|
1298
1548
|
:param pulumi.Input[_builtins.str] type: The type of Kubernetes cluster. Possible values are:
|
|
@@ -1325,9 +1575,12 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1325
1575
|
__props__.__dict__["name"] = name
|
|
1326
1576
|
__props__.__dict__["open_id_connect_config"] = open_id_connect_config
|
|
1327
1577
|
__props__.__dict__["organization_id"] = organization_id
|
|
1578
|
+
__props__.__dict__["pod_cidr"] = pod_cidr
|
|
1328
1579
|
__props__.__dict__["private_network_id"] = private_network_id
|
|
1329
1580
|
__props__.__dict__["project_id"] = project_id
|
|
1330
1581
|
__props__.__dict__["region"] = region
|
|
1582
|
+
__props__.__dict__["service_cidr"] = service_cidr
|
|
1583
|
+
__props__.__dict__["service_dns_ip"] = service_dns_ip
|
|
1331
1584
|
__props__.__dict__["status"] = status
|
|
1332
1585
|
__props__.__dict__["tags"] = tags
|
|
1333
1586
|
__props__.__dict__["type"] = type
|
|
@@ -1452,6 +1705,17 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1452
1705
|
"""
|
|
1453
1706
|
return pulumi.get(self, "organization_id")
|
|
1454
1707
|
|
|
1708
|
+
@_builtins.property
|
|
1709
|
+
@pulumi.getter(name="podCidr")
|
|
1710
|
+
def pod_cidr(self) -> pulumi.Output[_builtins.str]:
|
|
1711
|
+
"""
|
|
1712
|
+
The subnet used for the Pod CIDR.
|
|
1713
|
+
|
|
1714
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1715
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1716
|
+
"""
|
|
1717
|
+
return pulumi.get(self, "pod_cidr")
|
|
1718
|
+
|
|
1455
1719
|
@_builtins.property
|
|
1456
1720
|
@pulumi.getter(name="privateNetworkId")
|
|
1457
1721
|
def private_network_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
@@ -1481,6 +1745,28 @@ class KubernetesCluster(pulumi.CustomResource):
|
|
|
1481
1745
|
"""
|
|
1482
1746
|
return pulumi.get(self, "region")
|
|
1483
1747
|
|
|
1748
|
+
@_builtins.property
|
|
1749
|
+
@pulumi.getter(name="serviceCidr")
|
|
1750
|
+
def service_cidr(self) -> pulumi.Output[_builtins.str]:
|
|
1751
|
+
"""
|
|
1752
|
+
The subnet used for the Service CIDR.
|
|
1753
|
+
|
|
1754
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1755
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1756
|
+
"""
|
|
1757
|
+
return pulumi.get(self, "service_cidr")
|
|
1758
|
+
|
|
1759
|
+
@_builtins.property
|
|
1760
|
+
@pulumi.getter(name="serviceDnsIp")
|
|
1761
|
+
def service_dns_ip(self) -> pulumi.Output[_builtins.str]:
|
|
1762
|
+
"""
|
|
1763
|
+
The IP used for the DNS Service. If unset, defaults to Service CIDR's network + 10.
|
|
1764
|
+
|
|
1765
|
+
> **Important:** Changes to this field will recreate a new resource. However once it has been set to a custom value,
|
|
1766
|
+
unsetting it to go back to the default value will not have any effect.
|
|
1767
|
+
"""
|
|
1768
|
+
return pulumi.get(self, "service_dns_ip")
|
|
1769
|
+
|
|
1484
1770
|
@_builtins.property
|
|
1485
1771
|
@pulumi.getter
|
|
1486
1772
|
def status(self) -> pulumi.Output[_builtins.str]:
|