pulumiverse-scaleway 1.34.0a1756885226__py3-none-any.whl → 1.34.0a1757664666__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 +8 -0
- pulumiverse_scaleway/_inputs.py +235 -34
- pulumiverse_scaleway/cockpit.py +14 -0
- pulumiverse_scaleway/container_namespace.py +16 -7
- pulumiverse_scaleway/containers/namespace.py +16 -7
- pulumiverse_scaleway/database_user.py +83 -11
- pulumiverse_scaleway/databases/user.py +83 -11
- pulumiverse_scaleway/elasticmetal/outputs.py +4 -0
- pulumiverse_scaleway/function_namespace.py +16 -7
- pulumiverse_scaleway/functions/namespace.py +16 -7
- pulumiverse_scaleway/get_mongo_db_instance.py +34 -1
- pulumiverse_scaleway/hosting/_inputs.py +42 -0
- pulumiverse_scaleway/hosting/outputs.py +84 -0
- pulumiverse_scaleway/instance/_inputs.py +107 -13
- pulumiverse_scaleway/instance/outputs.py +187 -10
- pulumiverse_scaleway/instance/security_group_rules.py +16 -16
- pulumiverse_scaleway/instance/snapshot.py +26 -27
- pulumiverse_scaleway/instance_security_group_rules.py +16 -16
- pulumiverse_scaleway/instance_snapshot.py +26 -27
- pulumiverse_scaleway/loadbalancer_backend.py +39 -0
- pulumiverse_scaleway/loadbalancers/backend.py +39 -0
- pulumiverse_scaleway/loadbalancers/outputs.py +16 -0
- pulumiverse_scaleway/mnq/_inputs.py +52 -0
- pulumiverse_scaleway/mnq/outputs.py +47 -0
- pulumiverse_scaleway/mnq/sqs_queue.py +159 -0
- pulumiverse_scaleway/mnq_sqs_queue.py +159 -0
- pulumiverse_scaleway/mongo_db_instance.py +171 -23
- pulumiverse_scaleway/mongo_db_snapshot.py +2 -2
- pulumiverse_scaleway/mongodb/__init__.py +1 -0
- pulumiverse_scaleway/mongodb/_inputs.py +73 -0
- pulumiverse_scaleway/mongodb/get_instance.py +34 -1
- pulumiverse_scaleway/mongodb/instance.py +171 -23
- pulumiverse_scaleway/mongodb/outputs.py +62 -0
- pulumiverse_scaleway/mongodb/snapshot.py +2 -2
- pulumiverse_scaleway/mongodb/user.py +508 -0
- pulumiverse_scaleway/network/outputs.py +4 -0
- pulumiverse_scaleway/object/_inputs.py +14 -0
- pulumiverse_scaleway/object/bucket.py +13 -0
- pulumiverse_scaleway/object/outputs.py +30 -0
- pulumiverse_scaleway/object_bucket.py +13 -0
- pulumiverse_scaleway/observability/__init__.py +1 -0
- pulumiverse_scaleway/observability/cockpit.py +14 -0
- pulumiverse_scaleway/observability/get_sources.py +376 -0
- pulumiverse_scaleway/observability/outputs.py +140 -0
- pulumiverse_scaleway/outputs.py +387 -26
- pulumiverse_scaleway/pulumi-plugin.json +1 -1
- pulumiverse_scaleway/secret.py +8 -0
- pulumiverse_scaleway/secrets/secret.py +8 -0
- {pulumiverse_scaleway-1.34.0a1756885226.dist-info → pulumiverse_scaleway-1.34.0a1757664666.dist-info}/METADATA +1 -1
- {pulumiverse_scaleway-1.34.0a1756885226.dist-info → pulumiverse_scaleway-1.34.0a1757664666.dist-info}/RECORD +52 -50
- {pulumiverse_scaleway-1.34.0a1756885226.dist-info → pulumiverse_scaleway-1.34.0a1757664666.dist-info}/WHEEL +0 -0
- {pulumiverse_scaleway-1.34.0a1756885226.dist-info → pulumiverse_scaleway-1.34.0a1757664666.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,7 @@ class NamespaceArgs:
|
|
33
33
|
The set of arguments for constructing a Namespace resource.
|
34
34
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
35
35
|
|
36
|
-
> **Important
|
36
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
37
37
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
38
38
|
:param pulumi.Input[builtins.bool] destroy_registry: Destroy registry on deletion
|
39
39
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
@@ -45,6 +45,9 @@ class NamespaceArgs:
|
|
45
45
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] secret_environment_variables: The secret environment variables of the namespace.
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The list of tags associated with the namespace.
|
47
47
|
"""
|
48
|
+
if activate_vpc_integration is not None:
|
49
|
+
warnings.warn("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""", DeprecationWarning)
|
50
|
+
pulumi.log.warn("""activate_vpc_integration is deprecated: VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
48
51
|
if activate_vpc_integration is not None:
|
49
52
|
pulumi.set(__self__, "activate_vpc_integration", activate_vpc_integration)
|
50
53
|
if description is not None:
|
@@ -69,11 +72,12 @@ class NamespaceArgs:
|
|
69
72
|
|
70
73
|
@property
|
71
74
|
@pulumi.getter(name="activateVpcIntegration")
|
75
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
72
76
|
def activate_vpc_integration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
73
77
|
"""
|
74
78
|
Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
75
79
|
|
76
|
-
> **Important
|
80
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
77
81
|
"""
|
78
82
|
return pulumi.get(self, "activate_vpc_integration")
|
79
83
|
|
@@ -200,7 +204,7 @@ class _NamespaceState:
|
|
200
204
|
Input properties used for looking up and filtering Namespace resources.
|
201
205
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
202
206
|
|
203
|
-
> **Important
|
207
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
204
208
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
205
209
|
:param pulumi.Input[builtins.bool] destroy_registry: Destroy registry on deletion
|
206
210
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
@@ -215,6 +219,9 @@ class _NamespaceState:
|
|
215
219
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] secret_environment_variables: The secret environment variables of the namespace.
|
216
220
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The list of tags associated with the namespace.
|
217
221
|
"""
|
222
|
+
if activate_vpc_integration is not None:
|
223
|
+
warnings.warn("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""", DeprecationWarning)
|
224
|
+
pulumi.log.warn("""activate_vpc_integration is deprecated: VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
218
225
|
if activate_vpc_integration is not None:
|
219
226
|
pulumi.set(__self__, "activate_vpc_integration", activate_vpc_integration)
|
220
227
|
if description is not None:
|
@@ -245,11 +252,12 @@ class _NamespaceState:
|
|
245
252
|
|
246
253
|
@property
|
247
254
|
@pulumi.getter(name="activateVpcIntegration")
|
255
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
248
256
|
def activate_vpc_integration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
249
257
|
"""
|
250
258
|
Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
251
259
|
|
252
|
-
> **Important
|
260
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
253
261
|
"""
|
254
262
|
return pulumi.get(self, "activate_vpc_integration")
|
255
263
|
|
@@ -444,7 +452,7 @@ class Namespace(pulumi.CustomResource):
|
|
444
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
445
453
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
446
454
|
|
447
|
-
> **Important
|
455
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
448
456
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
449
457
|
:param pulumi.Input[builtins.bool] destroy_registry: Destroy registry on deletion
|
450
458
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
@@ -573,7 +581,7 @@ class Namespace(pulumi.CustomResource):
|
|
573
581
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
574
582
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
575
583
|
|
576
|
-
> **Important
|
584
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
577
585
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
578
586
|
:param pulumi.Input[builtins.bool] destroy_registry: Destroy registry on deletion
|
579
587
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
@@ -608,11 +616,12 @@ class Namespace(pulumi.CustomResource):
|
|
608
616
|
|
609
617
|
@property
|
610
618
|
@pulumi.getter(name="activateVpcIntegration")
|
619
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
611
620
|
def activate_vpc_integration(self) -> pulumi.Output[Optional[builtins.bool]]:
|
612
621
|
"""
|
613
622
|
Activates VPC integration for the namespace. Containers of a namespace with VPC integration activated will be able to connect to a Private Network.
|
614
623
|
|
615
|
-
> **Important
|
624
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
616
625
|
"""
|
617
626
|
return pulumi.get(self, "activate_vpc_integration")
|
618
627
|
|
@@ -30,7 +30,15 @@ class DatabaseUserArgs:
|
|
30
30
|
:param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
|
31
31
|
|
32
32
|
> **Important:** Updates to `instance_id` will recreate the database user.
|
33
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
33
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
34
|
+
- **Length**: 8-128 characters
|
35
|
+
- **Character types required**:
|
36
|
+
- At least 1 lowercase letter (a-z)
|
37
|
+
- At least 1 uppercase letter (A-Z)
|
38
|
+
- At least 1 digit (0-9)
|
39
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
40
|
+
|
41
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
34
42
|
:param pulumi.Input[builtins.bool] is_admin: Grant admin permissions to the database user.
|
35
43
|
:param pulumi.Input[builtins.str] name: database user name.
|
36
44
|
|
@@ -64,7 +72,15 @@ class DatabaseUserArgs:
|
|
64
72
|
@pulumi.getter
|
65
73
|
def password(self) -> pulumi.Input[builtins.str]:
|
66
74
|
"""
|
67
|
-
database user password.
|
75
|
+
database user password. The password must meet the following requirements based on ISO27001 standards:
|
76
|
+
- **Length**: 8-128 characters
|
77
|
+
- **Character types required**:
|
78
|
+
- At least 1 lowercase letter (a-z)
|
79
|
+
- At least 1 uppercase letter (A-Z)
|
80
|
+
- At least 1 digit (0-9)
|
81
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
82
|
+
|
83
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
68
84
|
"""
|
69
85
|
return pulumi.get(self, "password")
|
70
86
|
|
@@ -128,7 +144,15 @@ class _DatabaseUserState:
|
|
128
144
|
:param pulumi.Input[builtins.str] name: database user name.
|
129
145
|
|
130
146
|
> **Important:** Updates to `name` will recreate the database user.
|
131
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
147
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
148
|
+
- **Length**: 8-128 characters
|
149
|
+
- **Character types required**:
|
150
|
+
- At least 1 lowercase letter (a-z)
|
151
|
+
- At least 1 uppercase letter (A-Z)
|
152
|
+
- At least 1 digit (0-9)
|
153
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
154
|
+
|
155
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
132
156
|
:param pulumi.Input[builtins.str] region: The Scaleway region this resource resides in.
|
133
157
|
"""
|
134
158
|
if instance_id is not None:
|
@@ -186,7 +210,15 @@ class _DatabaseUserState:
|
|
186
210
|
@pulumi.getter
|
187
211
|
def password(self) -> Optional[pulumi.Input[builtins.str]]:
|
188
212
|
"""
|
189
|
-
database user password.
|
213
|
+
database user password. The password must meet the following requirements based on ISO27001 standards:
|
214
|
+
- **Length**: 8-128 characters
|
215
|
+
- **Character types required**:
|
216
|
+
- At least 1 lowercase letter (a-z)
|
217
|
+
- At least 1 uppercase letter (A-Z)
|
218
|
+
- At least 1 digit (0-9)
|
219
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
220
|
+
|
221
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
190
222
|
"""
|
191
223
|
return pulumi.get(self, "password")
|
192
224
|
|
@@ -246,8 +278,16 @@ class DatabaseUser(pulumi.CustomResource):
|
|
246
278
|
user_name="my_initial_user",
|
247
279
|
password="thiZ_is_v&ry_s3cret")
|
248
280
|
db_password = random.RandomPassword("db_password",
|
249
|
-
length=
|
250
|
-
special=True
|
281
|
+
length=20,
|
282
|
+
special=True,
|
283
|
+
upper=True,
|
284
|
+
lower=True,
|
285
|
+
numeric=True,
|
286
|
+
min_upper=1,
|
287
|
+
min_lower=1,
|
288
|
+
min_numeric=1,
|
289
|
+
min_special=1,
|
290
|
+
override_special="!@#$%^&*()_+-=[]{}|;:,.<>?")
|
251
291
|
db_admin = scaleway.databases.User("db_admin",
|
252
292
|
instance_id=main.id,
|
253
293
|
name="devtools",
|
@@ -274,7 +314,15 @@ class DatabaseUser(pulumi.CustomResource):
|
|
274
314
|
:param pulumi.Input[builtins.str] name: database user name.
|
275
315
|
|
276
316
|
> **Important:** Updates to `name` will recreate the database user.
|
277
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
317
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
318
|
+
- **Length**: 8-128 characters
|
319
|
+
- **Character types required**:
|
320
|
+
- At least 1 lowercase letter (a-z)
|
321
|
+
- At least 1 uppercase letter (A-Z)
|
322
|
+
- At least 1 digit (0-9)
|
323
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
324
|
+
|
325
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
278
326
|
:param pulumi.Input[builtins.str] region: The Scaleway region this resource resides in.
|
279
327
|
"""
|
280
328
|
...
|
@@ -305,8 +353,16 @@ class DatabaseUser(pulumi.CustomResource):
|
|
305
353
|
user_name="my_initial_user",
|
306
354
|
password="thiZ_is_v&ry_s3cret")
|
307
355
|
db_password = random.RandomPassword("db_password",
|
308
|
-
length=
|
309
|
-
special=True
|
356
|
+
length=20,
|
357
|
+
special=True,
|
358
|
+
upper=True,
|
359
|
+
lower=True,
|
360
|
+
numeric=True,
|
361
|
+
min_upper=1,
|
362
|
+
min_lower=1,
|
363
|
+
min_numeric=1,
|
364
|
+
min_special=1,
|
365
|
+
override_special="!@#$%^&*()_+-=[]{}|;:,.<>?")
|
310
366
|
db_admin = scaleway.databases.User("db_admin",
|
311
367
|
instance_id=main.id,
|
312
368
|
name="devtools",
|
@@ -394,7 +450,15 @@ class DatabaseUser(pulumi.CustomResource):
|
|
394
450
|
:param pulumi.Input[builtins.str] name: database user name.
|
395
451
|
|
396
452
|
> **Important:** Updates to `name` will recreate the database user.
|
397
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
453
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
454
|
+
- **Length**: 8-128 characters
|
455
|
+
- **Character types required**:
|
456
|
+
- At least 1 lowercase letter (a-z)
|
457
|
+
- At least 1 uppercase letter (A-Z)
|
458
|
+
- At least 1 digit (0-9)
|
459
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
460
|
+
|
461
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
398
462
|
:param pulumi.Input[builtins.str] region: The Scaleway region this resource resides in.
|
399
463
|
"""
|
400
464
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -440,7 +504,15 @@ class DatabaseUser(pulumi.CustomResource):
|
|
440
504
|
@pulumi.getter
|
441
505
|
def password(self) -> pulumi.Output[builtins.str]:
|
442
506
|
"""
|
443
|
-
database user password.
|
507
|
+
database user password. The password must meet the following requirements based on ISO27001 standards:
|
508
|
+
- **Length**: 8-128 characters
|
509
|
+
- **Character types required**:
|
510
|
+
- At least 1 lowercase letter (a-z)
|
511
|
+
- At least 1 uppercase letter (A-Z)
|
512
|
+
- At least 1 digit (0-9)
|
513
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
514
|
+
|
515
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
444
516
|
"""
|
445
517
|
return pulumi.get(self, "password")
|
446
518
|
|
@@ -30,7 +30,15 @@ class UserArgs:
|
|
30
30
|
:param pulumi.Input[builtins.str] instance_id: UUID of the Database Instance.
|
31
31
|
|
32
32
|
> **Important:** Updates to `instance_id` will recreate the database user.
|
33
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
33
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
34
|
+
- **Length**: 8-128 characters
|
35
|
+
- **Character types required**:
|
36
|
+
- At least 1 lowercase letter (a-z)
|
37
|
+
- At least 1 uppercase letter (A-Z)
|
38
|
+
- At least 1 digit (0-9)
|
39
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
40
|
+
|
41
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
34
42
|
:param pulumi.Input[builtins.bool] is_admin: Grant admin permissions to the database user.
|
35
43
|
:param pulumi.Input[builtins.str] name: database user name.
|
36
44
|
|
@@ -64,7 +72,15 @@ class UserArgs:
|
|
64
72
|
@pulumi.getter
|
65
73
|
def password(self) -> pulumi.Input[builtins.str]:
|
66
74
|
"""
|
67
|
-
database user password.
|
75
|
+
database user password. The password must meet the following requirements based on ISO27001 standards:
|
76
|
+
- **Length**: 8-128 characters
|
77
|
+
- **Character types required**:
|
78
|
+
- At least 1 lowercase letter (a-z)
|
79
|
+
- At least 1 uppercase letter (A-Z)
|
80
|
+
- At least 1 digit (0-9)
|
81
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
82
|
+
|
83
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
68
84
|
"""
|
69
85
|
return pulumi.get(self, "password")
|
70
86
|
|
@@ -128,7 +144,15 @@ class _UserState:
|
|
128
144
|
:param pulumi.Input[builtins.str] name: database user name.
|
129
145
|
|
130
146
|
> **Important:** Updates to `name` will recreate the database user.
|
131
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
147
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
148
|
+
- **Length**: 8-128 characters
|
149
|
+
- **Character types required**:
|
150
|
+
- At least 1 lowercase letter (a-z)
|
151
|
+
- At least 1 uppercase letter (A-Z)
|
152
|
+
- At least 1 digit (0-9)
|
153
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
154
|
+
|
155
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
132
156
|
:param pulumi.Input[builtins.str] region: The Scaleway region this resource resides in.
|
133
157
|
"""
|
134
158
|
if instance_id is not None:
|
@@ -186,7 +210,15 @@ class _UserState:
|
|
186
210
|
@pulumi.getter
|
187
211
|
def password(self) -> Optional[pulumi.Input[builtins.str]]:
|
188
212
|
"""
|
189
|
-
database user password.
|
213
|
+
database user password. The password must meet the following requirements based on ISO27001 standards:
|
214
|
+
- **Length**: 8-128 characters
|
215
|
+
- **Character types required**:
|
216
|
+
- At least 1 lowercase letter (a-z)
|
217
|
+
- At least 1 uppercase letter (A-Z)
|
218
|
+
- At least 1 digit (0-9)
|
219
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
220
|
+
|
221
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
190
222
|
"""
|
191
223
|
return pulumi.get(self, "password")
|
192
224
|
|
@@ -241,8 +273,16 @@ class User(pulumi.CustomResource):
|
|
241
273
|
user_name="my_initial_user",
|
242
274
|
password="thiZ_is_v&ry_s3cret")
|
243
275
|
db_password = random.RandomPassword("db_password",
|
244
|
-
length=
|
245
|
-
special=True
|
276
|
+
length=20,
|
277
|
+
special=True,
|
278
|
+
upper=True,
|
279
|
+
lower=True,
|
280
|
+
numeric=True,
|
281
|
+
min_upper=1,
|
282
|
+
min_lower=1,
|
283
|
+
min_numeric=1,
|
284
|
+
min_special=1,
|
285
|
+
override_special="!@#$%^&*()_+-=[]{}|;:,.<>?")
|
246
286
|
db_admin = scaleway.databases.User("db_admin",
|
247
287
|
instance_id=main.id,
|
248
288
|
name="devtools",
|
@@ -269,7 +309,15 @@ class User(pulumi.CustomResource):
|
|
269
309
|
:param pulumi.Input[builtins.str] name: database user name.
|
270
310
|
|
271
311
|
> **Important:** Updates to `name` will recreate the database user.
|
272
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
312
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
313
|
+
- **Length**: 8-128 characters
|
314
|
+
- **Character types required**:
|
315
|
+
- At least 1 lowercase letter (a-z)
|
316
|
+
- At least 1 uppercase letter (A-Z)
|
317
|
+
- At least 1 digit (0-9)
|
318
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
319
|
+
|
320
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
273
321
|
:param pulumi.Input[builtins.str] region: The Scaleway region this resource resides in.
|
274
322
|
"""
|
275
323
|
...
|
@@ -300,8 +348,16 @@ class User(pulumi.CustomResource):
|
|
300
348
|
user_name="my_initial_user",
|
301
349
|
password="thiZ_is_v&ry_s3cret")
|
302
350
|
db_password = random.RandomPassword("db_password",
|
303
|
-
length=
|
304
|
-
special=True
|
351
|
+
length=20,
|
352
|
+
special=True,
|
353
|
+
upper=True,
|
354
|
+
lower=True,
|
355
|
+
numeric=True,
|
356
|
+
min_upper=1,
|
357
|
+
min_lower=1,
|
358
|
+
min_numeric=1,
|
359
|
+
min_special=1,
|
360
|
+
override_special="!@#$%^&*()_+-=[]{}|;:,.<>?")
|
305
361
|
db_admin = scaleway.databases.User("db_admin",
|
306
362
|
instance_id=main.id,
|
307
363
|
name="devtools",
|
@@ -390,7 +446,15 @@ class User(pulumi.CustomResource):
|
|
390
446
|
:param pulumi.Input[builtins.str] name: database user name.
|
391
447
|
|
392
448
|
> **Important:** Updates to `name` will recreate the database user.
|
393
|
-
:param pulumi.Input[builtins.str] password: database user password.
|
449
|
+
:param pulumi.Input[builtins.str] password: database user password. The password must meet the following requirements based on ISO27001 standards:
|
450
|
+
- **Length**: 8-128 characters
|
451
|
+
- **Character types required**:
|
452
|
+
- At least 1 lowercase letter (a-z)
|
453
|
+
- At least 1 uppercase letter (A-Z)
|
454
|
+
- At least 1 digit (0-9)
|
455
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
456
|
+
|
457
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
394
458
|
:param pulumi.Input[builtins.str] region: The Scaleway region this resource resides in.
|
395
459
|
"""
|
396
460
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -436,7 +500,15 @@ class User(pulumi.CustomResource):
|
|
436
500
|
@pulumi.getter
|
437
501
|
def password(self) -> pulumi.Output[builtins.str]:
|
438
502
|
"""
|
439
|
-
database user password.
|
503
|
+
database user password. The password must meet the following requirements based on ISO27001 standards:
|
504
|
+
- **Length**: 8-128 characters
|
505
|
+
- **Character types required**:
|
506
|
+
- At least 1 lowercase letter (a-z)
|
507
|
+
- At least 1 uppercase letter (A-Z)
|
508
|
+
- At least 1 digit (0-9)
|
509
|
+
- At least 1 special character (!@#$%^&*()_+-=[]{}|;:,.<>?)
|
510
|
+
|
511
|
+
For secure password generation, consider using the `random_password` resource with appropriate parameters.
|
440
512
|
"""
|
441
513
|
return pulumi.get(self, "password")
|
442
514
|
|
@@ -423,6 +423,7 @@ class GetIpsIpResult(dict):
|
|
423
423
|
:param builtins.str created_at: The date on which the flexible IP was created (RFC 3339 format).
|
424
424
|
:param builtins.str description: The description of the flexible IP.
|
425
425
|
:param builtins.str id: The MAC address ID.
|
426
|
+
:param builtins.str ip_address: IP address of the flexible IP
|
426
427
|
:param Sequence['GetIpsIpMacAddressArgs'] mac_addresses: The MAC address of the Virtual MAC.
|
427
428
|
:param builtins.str organization_id: (Defaults to provider `organization_id`) The ID of the organization the IP is in.
|
428
429
|
:param builtins.str project_id: (Defaults to provider `project_id`) The ID of the project the IP is in.
|
@@ -472,6 +473,9 @@ class GetIpsIpResult(dict):
|
|
472
473
|
@property
|
473
474
|
@pulumi.getter(name="ipAddress")
|
474
475
|
def ip_address(self) -> builtins.str:
|
476
|
+
"""
|
477
|
+
IP address of the flexible IP
|
478
|
+
"""
|
475
479
|
return pulumi.get(self, "ip_address")
|
476
480
|
|
477
481
|
@property
|
@@ -32,7 +32,7 @@ class FunctionNamespaceArgs:
|
|
32
32
|
The set of arguments for constructing a FunctionNamespace resource.
|
33
33
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
34
34
|
|
35
|
-
> **Important
|
35
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
36
36
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
37
37
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
38
38
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -43,6 +43,9 @@ class FunctionNamespaceArgs:
|
|
43
43
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] secret_environment_variables: The secret environment variables of the namespace.
|
44
44
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The list of tags associated with the namespace.
|
45
45
|
"""
|
46
|
+
if activate_vpc_integration is not None:
|
47
|
+
warnings.warn("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""", DeprecationWarning)
|
48
|
+
pulumi.log.warn("""activate_vpc_integration is deprecated: VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
46
49
|
if activate_vpc_integration is not None:
|
47
50
|
pulumi.set(__self__, "activate_vpc_integration", activate_vpc_integration)
|
48
51
|
if description is not None:
|
@@ -62,11 +65,12 @@ class FunctionNamespaceArgs:
|
|
62
65
|
|
63
66
|
@property
|
64
67
|
@pulumi.getter(name="activateVpcIntegration")
|
68
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
65
69
|
def activate_vpc_integration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
66
70
|
"""
|
67
71
|
Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
68
72
|
|
69
|
-
> **Important
|
73
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
70
74
|
"""
|
71
75
|
return pulumi.get(self, "activate_vpc_integration")
|
72
76
|
|
@@ -179,7 +183,7 @@ class _FunctionNamespaceState:
|
|
179
183
|
Input properties used for looking up and filtering FunctionNamespace resources.
|
180
184
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
181
185
|
|
182
|
-
> **Important
|
186
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
183
187
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
184
188
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
185
189
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -193,6 +197,9 @@ class _FunctionNamespaceState:
|
|
193
197
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] secret_environment_variables: The secret environment variables of the namespace.
|
194
198
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The list of tags associated with the namespace.
|
195
199
|
"""
|
200
|
+
if activate_vpc_integration is not None:
|
201
|
+
warnings.warn("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""", DeprecationWarning)
|
202
|
+
pulumi.log.warn("""activate_vpc_integration is deprecated: VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
196
203
|
if activate_vpc_integration is not None:
|
197
204
|
pulumi.set(__self__, "activate_vpc_integration", activate_vpc_integration)
|
198
205
|
if description is not None:
|
@@ -218,11 +225,12 @@ class _FunctionNamespaceState:
|
|
218
225
|
|
219
226
|
@property
|
220
227
|
@pulumi.getter(name="activateVpcIntegration")
|
228
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
221
229
|
def activate_vpc_integration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
222
230
|
"""
|
223
231
|
Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
224
232
|
|
225
|
-
> **Important
|
233
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
226
234
|
"""
|
227
235
|
return pulumi.get(self, "activate_vpc_integration")
|
228
236
|
|
@@ -408,7 +416,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
408
416
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
409
417
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
410
418
|
|
411
|
-
> **Important
|
419
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
412
420
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
413
421
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
414
422
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -532,7 +540,7 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
532
540
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
533
541
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
534
542
|
|
535
|
-
> **Important
|
543
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
536
544
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
537
545
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
538
546
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -565,11 +573,12 @@ class FunctionNamespace(pulumi.CustomResource):
|
|
565
573
|
|
566
574
|
@property
|
567
575
|
@pulumi.getter(name="activateVpcIntegration")
|
576
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
568
577
|
def activate_vpc_integration(self) -> pulumi.Output[Optional[builtins.bool]]:
|
569
578
|
"""
|
570
579
|
Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
571
580
|
|
572
|
-
> **Important
|
581
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
573
582
|
"""
|
574
583
|
return pulumi.get(self, "activate_vpc_integration")
|
575
584
|
|
@@ -32,7 +32,7 @@ class NamespaceArgs:
|
|
32
32
|
The set of arguments for constructing a Namespace resource.
|
33
33
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
34
34
|
|
35
|
-
> **Important
|
35
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
36
36
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
37
37
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
38
38
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -43,6 +43,9 @@ class NamespaceArgs:
|
|
43
43
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] secret_environment_variables: The secret environment variables of the namespace.
|
44
44
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The list of tags associated with the namespace.
|
45
45
|
"""
|
46
|
+
if activate_vpc_integration is not None:
|
47
|
+
warnings.warn("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""", DeprecationWarning)
|
48
|
+
pulumi.log.warn("""activate_vpc_integration is deprecated: VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
46
49
|
if activate_vpc_integration is not None:
|
47
50
|
pulumi.set(__self__, "activate_vpc_integration", activate_vpc_integration)
|
48
51
|
if description is not None:
|
@@ -62,11 +65,12 @@ class NamespaceArgs:
|
|
62
65
|
|
63
66
|
@property
|
64
67
|
@pulumi.getter(name="activateVpcIntegration")
|
68
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
65
69
|
def activate_vpc_integration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
66
70
|
"""
|
67
71
|
Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
68
72
|
|
69
|
-
> **Important
|
73
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
70
74
|
"""
|
71
75
|
return pulumi.get(self, "activate_vpc_integration")
|
72
76
|
|
@@ -179,7 +183,7 @@ class _NamespaceState:
|
|
179
183
|
Input properties used for looking up and filtering Namespace resources.
|
180
184
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
181
185
|
|
182
|
-
> **Important
|
186
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
183
187
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
184
188
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
185
189
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -193,6 +197,9 @@ class _NamespaceState:
|
|
193
197
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] secret_environment_variables: The secret environment variables of the namespace.
|
194
198
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The list of tags associated with the namespace.
|
195
199
|
"""
|
200
|
+
if activate_vpc_integration is not None:
|
201
|
+
warnings.warn("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""", DeprecationWarning)
|
202
|
+
pulumi.log.warn("""activate_vpc_integration is deprecated: VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
196
203
|
if activate_vpc_integration is not None:
|
197
204
|
pulumi.set(__self__, "activate_vpc_integration", activate_vpc_integration)
|
198
205
|
if description is not None:
|
@@ -218,11 +225,12 @@ class _NamespaceState:
|
|
218
225
|
|
219
226
|
@property
|
220
227
|
@pulumi.getter(name="activateVpcIntegration")
|
228
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
221
229
|
def activate_vpc_integration(self) -> Optional[pulumi.Input[builtins.bool]]:
|
222
230
|
"""
|
223
231
|
Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
224
232
|
|
225
|
-
> **Important
|
233
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
226
234
|
"""
|
227
235
|
return pulumi.get(self, "activate_vpc_integration")
|
228
236
|
|
@@ -403,7 +411,7 @@ class Namespace(pulumi.CustomResource):
|
|
403
411
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
404
412
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
405
413
|
|
406
|
-
> **Important
|
414
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
407
415
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
408
416
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
409
417
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -528,7 +536,7 @@ class Namespace(pulumi.CustomResource):
|
|
528
536
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
529
537
|
:param pulumi.Input[builtins.bool] activate_vpc_integration: Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
530
538
|
|
531
|
-
> **Important
|
539
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
532
540
|
:param pulumi.Input[builtins.str] description: The description of the namespace.
|
533
541
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] environment_variables: The environment variables of the namespace.
|
534
542
|
:param pulumi.Input[builtins.str] name: The unique name of the Functions namespace.
|
@@ -561,11 +569,12 @@ class Namespace(pulumi.CustomResource):
|
|
561
569
|
|
562
570
|
@property
|
563
571
|
@pulumi.getter(name="activateVpcIntegration")
|
572
|
+
@_utilities.deprecated("""VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be \"true\".""")
|
564
573
|
def activate_vpc_integration(self) -> pulumi.Output[Optional[builtins.bool]]:
|
565
574
|
"""
|
566
575
|
Activates VPC integration for the namespace. Functions of a namespace with VPC integration activated will be able to connect to a Private Network.
|
567
576
|
|
568
|
-
> **Important
|
577
|
+
> **Important:** VPC integration is now available on all namespaces, so this field is not configurable anymore and its value will always be "true".
|
569
578
|
"""
|
570
579
|
return pulumi.get(self, "activate_vpc_integration")
|
571
580
|
|