pulumi-gcp 8.21.0a1740810968__py3-none-any.whl → 8.21.0a1741103856__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.
- pulumi_gcp/__init__.py +16 -0
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/get_cluster.py +491 -0
- pulumi_gcp/alloydb/outputs.py +808 -0
- pulumi_gcp/appengine/_inputs.py +3 -3
- pulumi_gcp/appengine/outputs.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +16 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +16 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +16 -0
- pulumi_gcp/bigquery/_inputs.py +6 -8
- pulumi_gcp/bigquery/data_transfer_config.py +28 -0
- pulumi_gcp/bigquery/outputs.py +4 -5
- pulumi_gcp/chronicle/rule_deployment.py +21 -7
- pulumi_gcp/composer/get_environment.py +12 -0
- pulumi_gcp/composer/get_image_versions.py +12 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +12 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +12 -0
- pulumi_gcp/compute/network_peering_routes_config.py +140 -6
- pulumi_gcp/datacatalog/entry_group.py +4 -0
- pulumi_gcp/datacatalog/tag_template.py +4 -0
- pulumi_gcp/developerconnect/_inputs.py +575 -0
- pulumi_gcp/developerconnect/connection.py +200 -0
- pulumi_gcp/developerconnect/git_repository_link.py +12 -0
- pulumi_gcp/developerconnect/outputs.py +461 -0
- pulumi_gcp/gemini/__init__.py +1 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +6 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +722 -0
- pulumi_gcp/gemini/logging_setting.py +4 -0
- pulumi_gcp/gemini/logging_setting_binding.py +12 -0
- pulumi_gcp/iam/organizations_policy_binding.py +10 -2
- pulumi_gcp/iam/projects_policy_binding.py +10 -2
- pulumi_gcp/iam/workforce_pool_provider.py +63 -11
- pulumi_gcp/parametermanager/get_parameter_version_render.py +3 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +3 -0
- pulumi_gcp/projects/__init__.py +1 -0
- pulumi_gcp/projects/get_ancestry.py +150 -0
- pulumi_gcp/projects/outputs.py +30 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +211 -94
- pulumi_gcp/secretmanager/secret_version.py +73 -23
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/instance_partition.py +658 -0
- pulumi_gcp/sql/user.py +20 -14
- pulumi_gcp/tpu/_inputs.py +150 -1
- pulumi_gcp/tpu/outputs.py +114 -1
- pulumi_gcp/tpu/v2_queued_resource.py +74 -0
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/RECORD +50 -46
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.21.0a1740810968.dist-info → pulumi_gcp-8.21.0a1741103856.dist-info}/top_level.txt +0 -0
@@ -20,18 +20,17 @@ __all__ = ['SecretVersionArgs', 'SecretVersion']
|
|
20
20
|
class SecretVersionArgs:
|
21
21
|
def __init__(__self__, *,
|
22
22
|
secret: pulumi.Input[str],
|
23
|
-
secret_data: pulumi.Input[str],
|
24
23
|
deletion_policy: Optional[pulumi.Input[str]] = None,
|
25
24
|
enabled: Optional[pulumi.Input[bool]] = None,
|
26
|
-
is_secret_data_base64: Optional[pulumi.Input[bool]] = None
|
25
|
+
is_secret_data_base64: Optional[pulumi.Input[bool]] = None,
|
26
|
+
secret_data: Optional[pulumi.Input[str]] = None,
|
27
|
+
secret_data_wo_version: Optional[pulumi.Input[int]] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a SecretVersion resource.
|
29
30
|
:param pulumi.Input[str] secret: Secret Manager secret resource
|
30
31
|
|
31
32
|
|
32
33
|
- - -
|
33
|
-
:param pulumi.Input[str] secret_data: The secret data. Must be no larger than 64KiB.
|
34
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
35
34
|
:param pulumi.Input[str] deletion_policy: The deletion policy for the secret version. Setting `ABANDON` allows the resource
|
36
35
|
to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be
|
37
36
|
disabled rather than deleted. Default is `DELETE`. Possible values are:
|
@@ -40,15 +39,21 @@ class SecretVersionArgs:
|
|
40
39
|
* ABANDON
|
41
40
|
:param pulumi.Input[bool] enabled: The current state of the SecretVersion.
|
42
41
|
:param pulumi.Input[bool] is_secret_data_base64: If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
|
42
|
+
:param pulumi.Input[str] secret_data: The secret data. Must be no larger than 64KiB.
|
43
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
44
|
+
:param pulumi.Input[int] secret_data_wo_version: Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
43
45
|
"""
|
44
46
|
pulumi.set(__self__, "secret", secret)
|
45
|
-
pulumi.set(__self__, "secret_data", secret_data)
|
46
47
|
if deletion_policy is not None:
|
47
48
|
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
48
49
|
if enabled is not None:
|
49
50
|
pulumi.set(__self__, "enabled", enabled)
|
50
51
|
if is_secret_data_base64 is not None:
|
51
52
|
pulumi.set(__self__, "is_secret_data_base64", is_secret_data_base64)
|
53
|
+
if secret_data is not None:
|
54
|
+
pulumi.set(__self__, "secret_data", secret_data)
|
55
|
+
if secret_data_wo_version is not None:
|
56
|
+
pulumi.set(__self__, "secret_data_wo_version", secret_data_wo_version)
|
52
57
|
|
53
58
|
@property
|
54
59
|
@pulumi.getter
|
@@ -65,19 +70,6 @@ class SecretVersionArgs:
|
|
65
70
|
def secret(self, value: pulumi.Input[str]):
|
66
71
|
pulumi.set(self, "secret", value)
|
67
72
|
|
68
|
-
@property
|
69
|
-
@pulumi.getter(name="secretData")
|
70
|
-
def secret_data(self) -> pulumi.Input[str]:
|
71
|
-
"""
|
72
|
-
The secret data. Must be no larger than 64KiB.
|
73
|
-
**Note**: This property is sensitive and will not be displayed in the plan.
|
74
|
-
"""
|
75
|
-
return pulumi.get(self, "secret_data")
|
76
|
-
|
77
|
-
@secret_data.setter
|
78
|
-
def secret_data(self, value: pulumi.Input[str]):
|
79
|
-
pulumi.set(self, "secret_data", value)
|
80
|
-
|
81
73
|
@property
|
82
74
|
@pulumi.getter(name="deletionPolicy")
|
83
75
|
def deletion_policy(self) -> Optional[pulumi.Input[str]]:
|
@@ -119,6 +111,31 @@ class SecretVersionArgs:
|
|
119
111
|
def is_secret_data_base64(self, value: Optional[pulumi.Input[bool]]):
|
120
112
|
pulumi.set(self, "is_secret_data_base64", value)
|
121
113
|
|
114
|
+
@property
|
115
|
+
@pulumi.getter(name="secretData")
|
116
|
+
def secret_data(self) -> Optional[pulumi.Input[str]]:
|
117
|
+
"""
|
118
|
+
The secret data. Must be no larger than 64KiB.
|
119
|
+
**Note**: This property is sensitive and will not be displayed in the plan.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "secret_data")
|
122
|
+
|
123
|
+
@secret_data.setter
|
124
|
+
def secret_data(self, value: Optional[pulumi.Input[str]]):
|
125
|
+
pulumi.set(self, "secret_data", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="secretDataWoVersion")
|
129
|
+
def secret_data_wo_version(self) -> Optional[pulumi.Input[int]]:
|
130
|
+
"""
|
131
|
+
Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "secret_data_wo_version")
|
134
|
+
|
135
|
+
@secret_data_wo_version.setter
|
136
|
+
def secret_data_wo_version(self, value: Optional[pulumi.Input[int]]):
|
137
|
+
pulumi.set(self, "secret_data_wo_version", value)
|
138
|
+
|
122
139
|
|
123
140
|
@pulumi.input_type
|
124
141
|
class _SecretVersionState:
|
@@ -131,6 +148,7 @@ class _SecretVersionState:
|
|
131
148
|
name: Optional[pulumi.Input[str]] = None,
|
132
149
|
secret: Optional[pulumi.Input[str]] = None,
|
133
150
|
secret_data: Optional[pulumi.Input[str]] = None,
|
151
|
+
secret_data_wo_version: Optional[pulumi.Input[int]] = None,
|
134
152
|
version: Optional[pulumi.Input[str]] = None):
|
135
153
|
"""
|
136
154
|
Input properties used for looking up and filtering SecretVersion resources.
|
@@ -152,6 +170,7 @@ class _SecretVersionState:
|
|
152
170
|
- - -
|
153
171
|
:param pulumi.Input[str] secret_data: The secret data. Must be no larger than 64KiB.
|
154
172
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
173
|
+
:param pulumi.Input[int] secret_data_wo_version: Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
155
174
|
:param pulumi.Input[str] version: The version of the Secret.
|
156
175
|
"""
|
157
176
|
if create_time is not None:
|
@@ -170,6 +189,8 @@ class _SecretVersionState:
|
|
170
189
|
pulumi.set(__self__, "secret", secret)
|
171
190
|
if secret_data is not None:
|
172
191
|
pulumi.set(__self__, "secret_data", secret_data)
|
192
|
+
if secret_data_wo_version is not None:
|
193
|
+
pulumi.set(__self__, "secret_data_wo_version", secret_data_wo_version)
|
173
194
|
if version is not None:
|
174
195
|
pulumi.set(__self__, "version", version)
|
175
196
|
|
@@ -279,6 +300,18 @@ class _SecretVersionState:
|
|
279
300
|
def secret_data(self, value: Optional[pulumi.Input[str]]):
|
280
301
|
pulumi.set(self, "secret_data", value)
|
281
302
|
|
303
|
+
@property
|
304
|
+
@pulumi.getter(name="secretDataWoVersion")
|
305
|
+
def secret_data_wo_version(self) -> Optional[pulumi.Input[int]]:
|
306
|
+
"""
|
307
|
+
Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
308
|
+
"""
|
309
|
+
return pulumi.get(self, "secret_data_wo_version")
|
310
|
+
|
311
|
+
@secret_data_wo_version.setter
|
312
|
+
def secret_data_wo_version(self, value: Optional[pulumi.Input[int]]):
|
313
|
+
pulumi.set(self, "secret_data_wo_version", value)
|
314
|
+
|
282
315
|
@property
|
283
316
|
@pulumi.getter
|
284
317
|
def version(self) -> Optional[pulumi.Input[str]]:
|
@@ -302,6 +335,7 @@ class SecretVersion(pulumi.CustomResource):
|
|
302
335
|
is_secret_data_base64: Optional[pulumi.Input[bool]] = None,
|
303
336
|
secret: Optional[pulumi.Input[str]] = None,
|
304
337
|
secret_data: Optional[pulumi.Input[str]] = None,
|
338
|
+
secret_data_wo_version: Optional[pulumi.Input[int]] = None,
|
305
339
|
__props__=None):
|
306
340
|
"""
|
307
341
|
A secret version resource.
|
@@ -312,6 +346,9 @@ class SecretVersion(pulumi.CustomResource):
|
|
312
346
|
* How-to Guides
|
313
347
|
* [Create and deploy a Secret Version](https://cloud.google.com/secret-manager/docs/add-secret-version)
|
314
348
|
|
349
|
+
> **Note:** All arguments marked as write-only values will not be stored in the state: `payload.secret_data_wo`.
|
350
|
+
Read more about Write-only Attributes.
|
351
|
+
|
315
352
|
## Example Usage
|
316
353
|
|
317
354
|
### Secret Version Basic
|
@@ -393,7 +430,6 @@ class SecretVersion(pulumi.CustomResource):
|
|
393
430
|
is_secret_data_base64=True,
|
394
431
|
secret_data=std.filebase64(input="secret-data.pfx").result)
|
395
432
|
```
|
396
|
-
|
397
433
|
## Import
|
398
434
|
|
399
435
|
SecretVersion can be imported using any of these accepted formats:
|
@@ -422,6 +458,7 @@ class SecretVersion(pulumi.CustomResource):
|
|
422
458
|
- - -
|
423
459
|
:param pulumi.Input[str] secret_data: The secret data. Must be no larger than 64KiB.
|
424
460
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
461
|
+
:param pulumi.Input[int] secret_data_wo_version: Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
425
462
|
"""
|
426
463
|
...
|
427
464
|
@overload
|
@@ -438,6 +475,9 @@ class SecretVersion(pulumi.CustomResource):
|
|
438
475
|
* How-to Guides
|
439
476
|
* [Create and deploy a Secret Version](https://cloud.google.com/secret-manager/docs/add-secret-version)
|
440
477
|
|
478
|
+
> **Note:** All arguments marked as write-only values will not be stored in the state: `payload.secret_data_wo`.
|
479
|
+
Read more about Write-only Attributes.
|
480
|
+
|
441
481
|
## Example Usage
|
442
482
|
|
443
483
|
### Secret Version Basic
|
@@ -519,7 +559,6 @@ class SecretVersion(pulumi.CustomResource):
|
|
519
559
|
is_secret_data_base64=True,
|
520
560
|
secret_data=std.filebase64(input="secret-data.pfx").result)
|
521
561
|
```
|
522
|
-
|
523
562
|
## Import
|
524
563
|
|
525
564
|
SecretVersion can be imported using any of these accepted formats:
|
@@ -552,6 +591,7 @@ class SecretVersion(pulumi.CustomResource):
|
|
552
591
|
is_secret_data_base64: Optional[pulumi.Input[bool]] = None,
|
553
592
|
secret: Optional[pulumi.Input[str]] = None,
|
554
593
|
secret_data: Optional[pulumi.Input[str]] = None,
|
594
|
+
secret_data_wo_version: Optional[pulumi.Input[int]] = None,
|
555
595
|
__props__=None):
|
556
596
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
557
597
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -567,9 +607,8 @@ class SecretVersion(pulumi.CustomResource):
|
|
567
607
|
if secret is None and not opts.urn:
|
568
608
|
raise TypeError("Missing required property 'secret'")
|
569
609
|
__props__.__dict__["secret"] = secret
|
570
|
-
if secret_data is None and not opts.urn:
|
571
|
-
raise TypeError("Missing required property 'secret_data'")
|
572
610
|
__props__.__dict__["secret_data"] = None if secret_data is None else pulumi.Output.secret(secret_data)
|
611
|
+
__props__.__dict__["secret_data_wo_version"] = secret_data_wo_version
|
573
612
|
__props__.__dict__["create_time"] = None
|
574
613
|
__props__.__dict__["destroy_time"] = None
|
575
614
|
__props__.__dict__["name"] = None
|
@@ -594,6 +633,7 @@ class SecretVersion(pulumi.CustomResource):
|
|
594
633
|
name: Optional[pulumi.Input[str]] = None,
|
595
634
|
secret: Optional[pulumi.Input[str]] = None,
|
596
635
|
secret_data: Optional[pulumi.Input[str]] = None,
|
636
|
+
secret_data_wo_version: Optional[pulumi.Input[int]] = None,
|
597
637
|
version: Optional[pulumi.Input[str]] = None) -> 'SecretVersion':
|
598
638
|
"""
|
599
639
|
Get an existing SecretVersion resource's state with the given name, id, and optional extra
|
@@ -620,6 +660,7 @@ class SecretVersion(pulumi.CustomResource):
|
|
620
660
|
- - -
|
621
661
|
:param pulumi.Input[str] secret_data: The secret data. Must be no larger than 64KiB.
|
622
662
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
663
|
+
:param pulumi.Input[int] secret_data_wo_version: Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
623
664
|
:param pulumi.Input[str] version: The version of the Secret.
|
624
665
|
"""
|
625
666
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -634,6 +675,7 @@ class SecretVersion(pulumi.CustomResource):
|
|
634
675
|
__props__.__dict__["name"] = name
|
635
676
|
__props__.__dict__["secret"] = secret
|
636
677
|
__props__.__dict__["secret_data"] = secret_data
|
678
|
+
__props__.__dict__["secret_data_wo_version"] = secret_data_wo_version
|
637
679
|
__props__.__dict__["version"] = version
|
638
680
|
return SecretVersion(resource_name, opts=opts, __props__=__props__)
|
639
681
|
|
@@ -704,13 +746,21 @@ class SecretVersion(pulumi.CustomResource):
|
|
704
746
|
|
705
747
|
@property
|
706
748
|
@pulumi.getter(name="secretData")
|
707
|
-
def secret_data(self) -> pulumi.Output[str]:
|
749
|
+
def secret_data(self) -> pulumi.Output[Optional[str]]:
|
708
750
|
"""
|
709
751
|
The secret data. Must be no larger than 64KiB.
|
710
752
|
**Note**: This property is sensitive and will not be displayed in the plan.
|
711
753
|
"""
|
712
754
|
return pulumi.get(self, "secret_data")
|
713
755
|
|
756
|
+
@property
|
757
|
+
@pulumi.getter(name="secretDataWoVersion")
|
758
|
+
def secret_data_wo_version(self) -> pulumi.Output[Optional[int]]:
|
759
|
+
"""
|
760
|
+
Triggers update of secret data write-only. For more info see [updating write-only attributes](https://www.terraform.io/docs/providers/google/guides/using_write_only_attributes.html#updating-write-only-attributes)
|
761
|
+
"""
|
762
|
+
return pulumi.get(self, "secret_data_wo_version")
|
763
|
+
|
714
764
|
@property
|
715
765
|
@pulumi.getter
|
716
766
|
def version(self) -> pulumi.Output[str]:
|
pulumi_gcp/spanner/__init__.py
CHANGED