pulumi-gcp 7.34.0__py3-none-any.whl → 7.34.0a1722421695__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.
Potentially problematic release.
This version of pulumi-gcp might be problematic. Click here for more details.
- pulumi_gcp/__init__.py +0 -40
- pulumi_gcp/alloydb/_inputs.py +0 -174
- pulumi_gcp/alloydb/instance.py +0 -54
- pulumi_gcp/alloydb/outputs.py +0 -133
- pulumi_gcp/apigee/__init__.py +0 -2
- pulumi_gcp/apigee/instance.py +2 -2
- pulumi_gcp/apigee/nat_address.py +2 -2
- pulumi_gcp/apigee/organization.py +4 -4
- pulumi_gcp/apphub/service_project_attachment.py +11 -11
- pulumi_gcp/bigquery/_inputs.py +0 -36
- pulumi_gcp/bigquery/app_profile.py +0 -54
- pulumi_gcp/bigquery/outputs.py +0 -38
- pulumi_gcp/bigquery/reservation.py +4 -34
- pulumi_gcp/bigquery/table.py +21 -65
- pulumi_gcp/bigtable/table.py +26 -27
- pulumi_gcp/certificateauthority/authority.py +4 -4
- pulumi_gcp/cloudfunctions/function.py +0 -47
- pulumi_gcp/cloudfunctions/get_function.py +1 -11
- pulumi_gcp/cloudfunctionsv2/function.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +21 -24
- pulumi_gcp/cloudrun/outputs.py +24 -20
- pulumi_gcp/cloudrunv2/_inputs.py +0 -3
- pulumi_gcp/cloudrunv2/outputs.py +0 -4
- pulumi_gcp/compute/__init__.py +0 -2
- pulumi_gcp/compute/_inputs.py +328 -2333
- pulumi_gcp/compute/backend_service.py +0 -6
- pulumi_gcp/compute/outputs.py +7 -1466
- pulumi_gcp/compute/public_advertised_prefix.py +2 -30
- pulumi_gcp/compute/router_peer.py +0 -437
- pulumi_gcp/compute/service_attachment.py +14 -7
- pulumi_gcp/container/_inputs.py +18 -215
- pulumi_gcp/container/node_pool.py +14 -0
- pulumi_gcp/container/outputs.py +12 -226
- pulumi_gcp/databasemigrationservice/private_connection.py +6 -10
- pulumi_gcp/dataloss/_inputs.py +21 -707
- pulumi_gcp/dataloss/outputs.py +14 -588
- pulumi_gcp/datastore/data_store_index.py +12 -24
- pulumi_gcp/datastream/_inputs.py +3 -83
- pulumi_gcp/datastream/outputs.py +3 -51
- pulumi_gcp/datastream/stream.py +0 -170
- pulumi_gcp/firebase/database_instance.py +8 -8
- pulumi_gcp/firebase/hosting_site.py +8 -8
- pulumi_gcp/firestore/index.py +10 -10
- pulumi_gcp/gkeonprem/_inputs.py +78 -78
- pulumi_gcp/gkeonprem/outputs.py +52 -52
- pulumi_gcp/iap/client.py +4 -4
- pulumi_gcp/integrationconnectors/_inputs.py +30 -30
- pulumi_gcp/integrationconnectors/outputs.py +20 -20
- pulumi_gcp/netapp/volume.py +1 -1
- pulumi_gcp/networkconnectivity/_inputs.py +6 -3
- pulumi_gcp/networkconnectivity/hub.py +49 -60
- pulumi_gcp/networkconnectivity/outputs.py +4 -2
- pulumi_gcp/networkconnectivity/spoke.py +104 -159
- pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +4 -4
- pulumi_gcp/projects/get_project_service.py +1 -11
- pulumi_gcp/projects/service.py +0 -68
- pulumi_gcp/projects/service_identity.py +2 -30
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/instance.py +4 -528
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
- pulumi_gcp/vmwareengine/private_cloud.py +2 -121
- pulumi_gcp/workbench/_inputs.py +0 -77
- pulumi_gcp/workbench/instance.py +4 -18
- pulumi_gcp/workbench/outputs.py +1 -67
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/RECORD +73 -78
- pulumi_gcp/apigee/environment_keyvaluemaps.py +0 -370
- pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +0 -440
- pulumi_gcp/compute/resize_request.py +0 -782
- pulumi_gcp/compute/router_route_policy.py +0 -616
- pulumi_gcp/securitycenter/v2_organization_mute_config.py +0 -673
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/top_level.txt +0 -0
pulumi_gcp/bigquery/table.py
CHANGED
@@ -49,13 +49,8 @@ class TableArgs:
|
|
49
49
|
Changing this forces a new resource to be created.
|
50
50
|
:param pulumi.Input[str] table_id: A unique ID for the resource.
|
51
51
|
Changing this forces a new resource to be created.
|
52
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
53
|
-
|
54
|
-
false.
|
55
|
-
|
56
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
57
|
-
removed in a future major release. The default behavior will be allowing
|
58
|
-
the presence of resource tags on deletion after the next major release.
|
52
|
+
:param pulumi.Input[bool] allow_resource_tags_on_deletion: This field is in beta. If set to true, it allows table deletion when there
|
53
|
+
are still resource tags attached. The default value is false.
|
59
54
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
60
55
|
Up to four top-level columns are allowed, and should be specified in
|
61
56
|
descending priority order.
|
@@ -91,7 +86,7 @@ class TableArgs:
|
|
91
86
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
92
87
|
require a partition filter that can be used for partition elimination to be
|
93
88
|
specified.
|
94
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are
|
89
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: This field is in beta. The tags attached to this table. Tag keys are
|
95
90
|
globally unique. Tag key is expected to be in the namespaced format, for
|
96
91
|
example "123456789012/environment" where 123456789012 is the ID of the
|
97
92
|
parent organization or project resource for this tag key. Tag value is
|
@@ -110,9 +105,6 @@ class TableArgs:
|
|
110
105
|
"""
|
111
106
|
pulumi.set(__self__, "dataset_id", dataset_id)
|
112
107
|
pulumi.set(__self__, "table_id", table_id)
|
113
|
-
if allow_resource_tags_on_deletion is not None:
|
114
|
-
warnings.warn("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""", DeprecationWarning)
|
115
|
-
pulumi.log.warn("""allow_resource_tags_on_deletion is deprecated: This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
116
108
|
if allow_resource_tags_on_deletion is not None:
|
117
109
|
pulumi.set(__self__, "allow_resource_tags_on_deletion", allow_resource_tags_on_deletion)
|
118
110
|
if clusterings is not None:
|
@@ -182,16 +174,10 @@ class TableArgs:
|
|
182
174
|
|
183
175
|
@property
|
184
176
|
@pulumi.getter(name="allowResourceTagsOnDeletion")
|
185
|
-
@_utilities.deprecated("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
186
177
|
def allow_resource_tags_on_deletion(self) -> Optional[pulumi.Input[bool]]:
|
187
178
|
"""
|
188
|
-
If set to true, it allows table
|
189
|
-
|
190
|
-
false.
|
191
|
-
|
192
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
193
|
-
removed in a future major release. The default behavior will be allowing
|
194
|
-
the presence of resource tags on deletion after the next major release.
|
179
|
+
This field is in beta. If set to true, it allows table deletion when there
|
180
|
+
are still resource tags attached. The default value is false.
|
195
181
|
"""
|
196
182
|
return pulumi.get(self, "allow_resource_tags_on_deletion")
|
197
183
|
|
@@ -381,7 +367,7 @@ class TableArgs:
|
|
381
367
|
@pulumi.getter(name="resourceTags")
|
382
368
|
def resource_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
383
369
|
"""
|
384
|
-
The tags attached to this table. Tag keys are
|
370
|
+
This field is in beta. The tags attached to this table. Tag keys are
|
385
371
|
globally unique. Tag key is expected to be in the namespaced format, for
|
386
372
|
example "123456789012/environment" where 123456789012 is the ID of the
|
387
373
|
parent organization or project resource for this tag key. Tag value is
|
@@ -498,13 +484,8 @@ class _TableState:
|
|
498
484
|
view: Optional[pulumi.Input['TableViewArgs']] = None):
|
499
485
|
"""
|
500
486
|
Input properties used for looking up and filtering Table resources.
|
501
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
502
|
-
|
503
|
-
false.
|
504
|
-
|
505
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
506
|
-
removed in a future major release. The default behavior will be allowing
|
507
|
-
the presence of resource tags on deletion after the next major release.
|
487
|
+
:param pulumi.Input[bool] allow_resource_tags_on_deletion: This field is in beta. If set to true, it allows table deletion when there
|
488
|
+
are still resource tags attached. The default value is false.
|
508
489
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
509
490
|
Up to four top-level columns are allowed, and should be specified in
|
510
491
|
descending priority order.
|
@@ -566,7 +547,7 @@ class _TableState:
|
|
566
547
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
567
548
|
require a partition filter that can be used for partition elimination to be
|
568
549
|
specified.
|
569
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are
|
550
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: This field is in beta. The tags attached to this table. Tag keys are
|
570
551
|
globally unique. Tag key is expected to be in the namespaced format, for
|
571
552
|
example "123456789012/environment" where 123456789012 is the ID of the
|
572
553
|
parent organization or project resource for this tag key. Tag value is
|
@@ -587,9 +568,6 @@ class _TableState:
|
|
587
568
|
:param pulumi.Input['TableViewArgs'] view: If specified, configures this table as a view.
|
588
569
|
Structure is documented below.
|
589
570
|
"""
|
590
|
-
if allow_resource_tags_on_deletion is not None:
|
591
|
-
warnings.warn("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""", DeprecationWarning)
|
592
|
-
pulumi.log.warn("""allow_resource_tags_on_deletion is deprecated: This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
593
571
|
if allow_resource_tags_on_deletion is not None:
|
594
572
|
pulumi.set(__self__, "allow_resource_tags_on_deletion", allow_resource_tags_on_deletion)
|
595
573
|
if clusterings is not None:
|
@@ -659,16 +637,10 @@ class _TableState:
|
|
659
637
|
|
660
638
|
@property
|
661
639
|
@pulumi.getter(name="allowResourceTagsOnDeletion")
|
662
|
-
@_utilities.deprecated("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
663
640
|
def allow_resource_tags_on_deletion(self) -> Optional[pulumi.Input[bool]]:
|
664
641
|
"""
|
665
|
-
If set to true, it allows table
|
666
|
-
|
667
|
-
false.
|
668
|
-
|
669
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
670
|
-
removed in a future major release. The default behavior will be allowing
|
671
|
-
the presence of resource tags on deletion after the next major release.
|
642
|
+
This field is in beta. If set to true, it allows table deletion when there
|
643
|
+
are still resource tags attached. The default value is false.
|
672
644
|
"""
|
673
645
|
return pulumi.get(self, "allow_resource_tags_on_deletion")
|
674
646
|
|
@@ -994,7 +966,7 @@ class _TableState:
|
|
994
966
|
@pulumi.getter(name="resourceTags")
|
995
967
|
def resource_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
996
968
|
"""
|
997
|
-
The tags attached to this table. Tag keys are
|
969
|
+
This field is in beta. The tags attached to this table. Tag keys are
|
998
970
|
globally unique. Tag key is expected to be in the namespaced format, for
|
999
971
|
example "123456789012/environment" where 123456789012 is the ID of the
|
1000
972
|
parent organization or project resource for this tag key. Tag value is
|
@@ -1225,13 +1197,8 @@ class Table(pulumi.CustomResource):
|
|
1225
1197
|
|
1226
1198
|
:param str resource_name: The name of the resource.
|
1227
1199
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1228
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
1229
|
-
|
1230
|
-
false.
|
1231
|
-
|
1232
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
1233
|
-
removed in a future major release. The default behavior will be allowing
|
1234
|
-
the presence of resource tags on deletion after the next major release.
|
1200
|
+
:param pulumi.Input[bool] allow_resource_tags_on_deletion: This field is in beta. If set to true, it allows table deletion when there
|
1201
|
+
are still resource tags attached. The default value is false.
|
1235
1202
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
1236
1203
|
Up to four top-level columns are allowed, and should be specified in
|
1237
1204
|
descending priority order.
|
@@ -1269,7 +1236,7 @@ class Table(pulumi.CustomResource):
|
|
1269
1236
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
1270
1237
|
require a partition filter that can be used for partition elimination to be
|
1271
1238
|
specified.
|
1272
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are
|
1239
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: This field is in beta. The tags attached to this table. Tag keys are
|
1273
1240
|
globally unique. Tag key is expected to be in the namespaced format, for
|
1274
1241
|
example "123456789012/environment" where 123456789012 is the ID of the
|
1275
1242
|
parent organization or project resource for this tag key. Tag value is
|
@@ -1514,13 +1481,8 @@ class Table(pulumi.CustomResource):
|
|
1514
1481
|
:param str resource_name: The unique name of the resulting resource.
|
1515
1482
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1516
1483
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1517
|
-
:param pulumi.Input[bool] allow_resource_tags_on_deletion: If set to true, it allows table
|
1518
|
-
|
1519
|
-
false.
|
1520
|
-
|
1521
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
1522
|
-
removed in a future major release. The default behavior will be allowing
|
1523
|
-
the presence of resource tags on deletion after the next major release.
|
1484
|
+
:param pulumi.Input[bool] allow_resource_tags_on_deletion: This field is in beta. If set to true, it allows table deletion when there
|
1485
|
+
are still resource tags attached. The default value is false.
|
1524
1486
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] clusterings: Specifies column names to use for data clustering.
|
1525
1487
|
Up to four top-level columns are allowed, and should be specified in
|
1526
1488
|
descending priority order.
|
@@ -1582,7 +1544,7 @@ class Table(pulumi.CustomResource):
|
|
1582
1544
|
:param pulumi.Input[bool] require_partition_filter: If set to true, queries over this table
|
1583
1545
|
require a partition filter that can be used for partition elimination to be
|
1584
1546
|
specified.
|
1585
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: The tags attached to this table. Tag keys are
|
1547
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] resource_tags: This field is in beta. The tags attached to this table. Tag keys are
|
1586
1548
|
globally unique. Tag key is expected to be in the namespaced format, for
|
1587
1549
|
example "123456789012/environment" where 123456789012 is the ID of the
|
1588
1550
|
parent organization or project resource for this tag key. Tag value is
|
@@ -1644,16 +1606,10 @@ class Table(pulumi.CustomResource):
|
|
1644
1606
|
|
1645
1607
|
@property
|
1646
1608
|
@pulumi.getter(name="allowResourceTagsOnDeletion")
|
1647
|
-
@_utilities.deprecated("""This field is deprecated and will be removed in a future major release. The default behavior will be allowing the presence of resource tags on deletion after the next major release.""")
|
1648
1609
|
def allow_resource_tags_on_deletion(self) -> pulumi.Output[Optional[bool]]:
|
1649
1610
|
"""
|
1650
|
-
If set to true, it allows table
|
1651
|
-
|
1652
|
-
false.
|
1653
|
-
|
1654
|
-
~>**Warning:** `allow_resource_tags_on_deletion` is deprecated and will be
|
1655
|
-
removed in a future major release. The default behavior will be allowing
|
1656
|
-
the presence of resource tags on deletion after the next major release.
|
1611
|
+
This field is in beta. If set to true, it allows table deletion when there
|
1612
|
+
are still resource tags attached. The default value is false.
|
1657
1613
|
"""
|
1658
1614
|
return pulumi.get(self, "allow_resource_tags_on_deletion")
|
1659
1615
|
|
@@ -1883,7 +1839,7 @@ class Table(pulumi.CustomResource):
|
|
1883
1839
|
@pulumi.getter(name="resourceTags")
|
1884
1840
|
def resource_tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1885
1841
|
"""
|
1886
|
-
The tags attached to this table. Tag keys are
|
1842
|
+
This field is in beta. The tags attached to this table. Tag keys are
|
1887
1843
|
globally unique. Tag key is expected to be in the namespaced format, for
|
1888
1844
|
example "123456789012/environment" where 123456789012 is the ID of the
|
1889
1845
|
parent organization or project resource for this tag key. Tag value is
|
pulumi_gcp/bigtable/table.py
CHANGED
@@ -32,10 +32,11 @@ class TableArgs:
|
|
32
32
|
"""
|
33
33
|
The set of arguments for constructing a Table resource.
|
34
34
|
:param pulumi.Input[str] instance_name: The name of the Bigtable instance.
|
35
|
-
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
35
|
+
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
36
|
+
Retention Period and Frequency to 0.
|
37
|
+
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
36
38
|
|
37
39
|
-----
|
38
|
-
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
39
40
|
:param pulumi.Input[Sequence[pulumi.Input['TableColumnFamilyArgs']]] column_families: A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
|
40
41
|
:param pulumi.Input[str] deletion_protection: A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.
|
41
42
|
:param pulumi.Input[str] name: The name of the table. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
@@ -77,9 +78,8 @@ class TableArgs:
|
|
77
78
|
@pulumi.getter(name="automatedBackupPolicy")
|
78
79
|
def automated_backup_policy(self) -> Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]:
|
79
80
|
"""
|
80
|
-
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
81
|
-
|
82
|
-
-----
|
81
|
+
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
82
|
+
Retention Period and Frequency to 0.
|
83
83
|
"""
|
84
84
|
return pulumi.get(self, "automated_backup_policy")
|
85
85
|
|
@@ -92,6 +92,8 @@ class TableArgs:
|
|
92
92
|
def change_stream_retention(self) -> Optional[pulumi.Input[str]]:
|
93
93
|
"""
|
94
94
|
Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
95
|
+
|
96
|
+
-----
|
95
97
|
"""
|
96
98
|
return pulumi.get(self, "change_stream_retention")
|
97
99
|
|
@@ -176,10 +178,11 @@ class _TableState:
|
|
176
178
|
split_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
177
179
|
"""
|
178
180
|
Input properties used for looking up and filtering Table resources.
|
179
|
-
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
181
|
+
:param pulumi.Input['TableAutomatedBackupPolicyArgs'] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
182
|
+
Retention Period and Frequency to 0.
|
183
|
+
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
180
184
|
|
181
185
|
-----
|
182
|
-
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
183
186
|
:param pulumi.Input[Sequence[pulumi.Input['TableColumnFamilyArgs']]] column_families: A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
|
184
187
|
:param pulumi.Input[str] deletion_protection: A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.
|
185
188
|
:param pulumi.Input[str] instance_name: The name of the Bigtable instance.
|
@@ -211,9 +214,8 @@ class _TableState:
|
|
211
214
|
@pulumi.getter(name="automatedBackupPolicy")
|
212
215
|
def automated_backup_policy(self) -> Optional[pulumi.Input['TableAutomatedBackupPolicyArgs']]:
|
213
216
|
"""
|
214
|
-
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
215
|
-
|
216
|
-
-----
|
217
|
+
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
218
|
+
Retention Period and Frequency to 0.
|
217
219
|
"""
|
218
220
|
return pulumi.get(self, "automated_backup_policy")
|
219
221
|
|
@@ -226,6 +228,8 @@ class _TableState:
|
|
226
228
|
def change_stream_retention(self) -> Optional[pulumi.Input[str]]:
|
227
229
|
"""
|
228
230
|
Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
231
|
+
|
232
|
+
-----
|
229
233
|
"""
|
230
234
|
return pulumi.get(self, "change_stream_retention")
|
231
235
|
|
@@ -358,11 +362,7 @@ class Table(pulumi.CustomResource):
|
|
358
362
|
"family": "family-second",
|
359
363
|
},
|
360
364
|
],
|
361
|
-
change_stream_retention="24h0m0s"
|
362
|
-
automated_backup_policy={
|
363
|
-
"retention_period": "72h0m0s",
|
364
|
-
"frequency": "24h0m0s",
|
365
|
-
})
|
365
|
+
change_stream_retention="24h0m0s")
|
366
366
|
```
|
367
367
|
|
368
368
|
## Import
|
@@ -393,10 +393,11 @@ class Table(pulumi.CustomResource):
|
|
393
393
|
|
394
394
|
:param str resource_name: The name of the resource.
|
395
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
396
|
-
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
396
|
+
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
397
|
+
Retention Period and Frequency to 0.
|
398
|
+
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
397
399
|
|
398
400
|
-----
|
399
|
-
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
400
401
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TableColumnFamilyArgs', 'TableColumnFamilyArgsDict']]]] column_families: A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
|
401
402
|
:param pulumi.Input[str] deletion_protection: A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.
|
402
403
|
:param pulumi.Input[str] instance_name: The name of the Bigtable instance.
|
@@ -448,11 +449,7 @@ class Table(pulumi.CustomResource):
|
|
448
449
|
"family": "family-second",
|
449
450
|
},
|
450
451
|
],
|
451
|
-
change_stream_retention="24h0m0s"
|
452
|
-
automated_backup_policy={
|
453
|
-
"retention_period": "72h0m0s",
|
454
|
-
"frequency": "24h0m0s",
|
455
|
-
})
|
452
|
+
change_stream_retention="24h0m0s")
|
456
453
|
```
|
457
454
|
|
458
455
|
## Import
|
@@ -548,10 +545,11 @@ class Table(pulumi.CustomResource):
|
|
548
545
|
:param str resource_name: The unique name of the resulting resource.
|
549
546
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
550
547
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
551
|
-
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
548
|
+
:param pulumi.Input[Union['TableAutomatedBackupPolicyArgs', 'TableAutomatedBackupPolicyArgsDict']] automated_backup_policy: Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
549
|
+
Retention Period and Frequency to 0.
|
550
|
+
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
552
551
|
|
553
552
|
-----
|
554
|
-
:param pulumi.Input[str] change_stream_retention: Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
555
553
|
:param pulumi.Input[Sequence[pulumi.Input[Union['TableColumnFamilyArgs', 'TableColumnFamilyArgsDict']]]] column_families: A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
|
556
554
|
:param pulumi.Input[str] deletion_protection: A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.
|
557
555
|
:param pulumi.Input[str] instance_name: The name of the Bigtable instance.
|
@@ -580,9 +578,8 @@ class Table(pulumi.CustomResource):
|
|
580
578
|
@pulumi.getter(name="automatedBackupPolicy")
|
581
579
|
def automated_backup_policy(self) -> pulumi.Output[Optional['outputs.TableAutomatedBackupPolicy']]:
|
582
580
|
"""
|
583
|
-
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
584
|
-
|
585
|
-
-----
|
581
|
+
Defines an automated backup policy for a table, specified by Retention Period and Frequency. To disable, set both
|
582
|
+
Retention Period and Frequency to 0.
|
586
583
|
"""
|
587
584
|
return pulumi.get(self, "automated_backup_policy")
|
588
585
|
|
@@ -591,6 +588,8 @@ class Table(pulumi.CustomResource):
|
|
591
588
|
def change_stream_retention(self) -> pulumi.Output[str]:
|
592
589
|
"""
|
593
590
|
Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days.
|
591
|
+
|
592
|
+
-----
|
594
593
|
"""
|
595
594
|
return pulumi.get(self, "change_stream_retention")
|
596
595
|
|
@@ -932,11 +932,11 @@ class Authority(pulumi.CustomResource):
|
|
932
932
|
privateca_sa_keyuser_signerverifier = gcp.kms.CryptoKeyIAMMember("privateca_sa_keyuser_signerverifier",
|
933
933
|
crypto_key_id="projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key",
|
934
934
|
role="roles/cloudkms.signerVerifier",
|
935
|
-
member=privateca_sa.
|
935
|
+
member=privateca_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
936
936
|
privateca_sa_keyuser_viewer = gcp.kms.CryptoKeyIAMMember("privateca_sa_keyuser_viewer",
|
937
937
|
crypto_key_id="projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key",
|
938
938
|
role="roles/viewer",
|
939
|
-
member=privateca_sa.
|
939
|
+
member=privateca_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
940
940
|
default = gcp.certificateauthority.Authority("default",
|
941
941
|
pool="ca-pool",
|
942
942
|
certificate_authority_id="my-certificate-authority",
|
@@ -1273,11 +1273,11 @@ class Authority(pulumi.CustomResource):
|
|
1273
1273
|
privateca_sa_keyuser_signerverifier = gcp.kms.CryptoKeyIAMMember("privateca_sa_keyuser_signerverifier",
|
1274
1274
|
crypto_key_id="projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key",
|
1275
1275
|
role="roles/cloudkms.signerVerifier",
|
1276
|
-
member=privateca_sa.
|
1276
|
+
member=privateca_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
1277
1277
|
privateca_sa_keyuser_viewer = gcp.kms.CryptoKeyIAMMember("privateca_sa_keyuser_viewer",
|
1278
1278
|
crypto_key_id="projects/keys-project/locations/us-central1/keyRings/key-ring/cryptoKeys/crypto-key",
|
1279
1279
|
role="roles/viewer",
|
1280
|
-
member=privateca_sa.
|
1280
|
+
member=privateca_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
1281
1281
|
default = gcp.certificateauthority.Authority("default",
|
1282
1282
|
pool="ca-pool",
|
1283
1283
|
certificate_authority_id="my-certificate-authority",
|
@@ -24,7 +24,6 @@ class FunctionArgs:
|
|
24
24
|
runtime: pulumi.Input[str],
|
25
25
|
available_memory_mb: Optional[pulumi.Input[int]] = None,
|
26
26
|
build_environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
27
|
-
build_service_account: Optional[pulumi.Input[str]] = None,
|
28
27
|
build_worker_pool: Optional[pulumi.Input[str]] = None,
|
29
28
|
description: Optional[pulumi.Input[str]] = None,
|
30
29
|
docker_registry: Optional[pulumi.Input[str]] = None,
|
@@ -60,7 +59,6 @@ class FunctionArgs:
|
|
60
59
|
- - -
|
61
60
|
:param pulumi.Input[int] available_memory_mb: Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc.
|
62
61
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
63
|
-
:param pulumi.Input[str] build_service_account: If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
64
62
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
65
63
|
:param pulumi.Input[str] description: Description of the function.
|
66
64
|
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
@@ -102,8 +100,6 @@ class FunctionArgs:
|
|
102
100
|
pulumi.set(__self__, "available_memory_mb", available_memory_mb)
|
103
101
|
if build_environment_variables is not None:
|
104
102
|
pulumi.set(__self__, "build_environment_variables", build_environment_variables)
|
105
|
-
if build_service_account is not None:
|
106
|
-
pulumi.set(__self__, "build_service_account", build_service_account)
|
107
103
|
if build_worker_pool is not None:
|
108
104
|
pulumi.set(__self__, "build_worker_pool", build_worker_pool)
|
109
105
|
if description is not None:
|
@@ -198,18 +194,6 @@ class FunctionArgs:
|
|
198
194
|
def build_environment_variables(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
199
195
|
pulumi.set(self, "build_environment_variables", value)
|
200
196
|
|
201
|
-
@property
|
202
|
-
@pulumi.getter(name="buildServiceAccount")
|
203
|
-
def build_service_account(self) -> Optional[pulumi.Input[str]]:
|
204
|
-
"""
|
205
|
-
If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
206
|
-
"""
|
207
|
-
return pulumi.get(self, "build_service_account")
|
208
|
-
|
209
|
-
@build_service_account.setter
|
210
|
-
def build_service_account(self, value: Optional[pulumi.Input[str]]):
|
211
|
-
pulumi.set(self, "build_service_account", value)
|
212
|
-
|
213
197
|
@property
|
214
198
|
@pulumi.getter(name="buildWorkerPool")
|
215
199
|
def build_worker_pool(self) -> Optional[pulumi.Input[str]]:
|
@@ -548,7 +532,6 @@ class _FunctionState:
|
|
548
532
|
def __init__(__self__, *,
|
549
533
|
available_memory_mb: Optional[pulumi.Input[int]] = None,
|
550
534
|
build_environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
551
|
-
build_service_account: Optional[pulumi.Input[str]] = None,
|
552
535
|
build_worker_pool: Optional[pulumi.Input[str]] = None,
|
553
536
|
description: Optional[pulumi.Input[str]] = None,
|
554
537
|
docker_registry: Optional[pulumi.Input[str]] = None,
|
@@ -585,7 +568,6 @@ class _FunctionState:
|
|
585
568
|
Input properties used for looking up and filtering Function resources.
|
586
569
|
:param pulumi.Input[int] available_memory_mb: Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc.
|
587
570
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
588
|
-
:param pulumi.Input[str] build_service_account: If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
589
571
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
590
572
|
:param pulumi.Input[str] description: Description of the function.
|
591
573
|
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
@@ -635,8 +617,6 @@ class _FunctionState:
|
|
635
617
|
pulumi.set(__self__, "available_memory_mb", available_memory_mb)
|
636
618
|
if build_environment_variables is not None:
|
637
619
|
pulumi.set(__self__, "build_environment_variables", build_environment_variables)
|
638
|
-
if build_service_account is not None:
|
639
|
-
pulumi.set(__self__, "build_service_account", build_service_account)
|
640
620
|
if build_worker_pool is not None:
|
641
621
|
pulumi.set(__self__, "build_worker_pool", build_worker_pool)
|
642
622
|
if description is not None:
|
@@ -726,18 +706,6 @@ class _FunctionState:
|
|
726
706
|
def build_environment_variables(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
727
707
|
pulumi.set(self, "build_environment_variables", value)
|
728
708
|
|
729
|
-
@property
|
730
|
-
@pulumi.getter(name="buildServiceAccount")
|
731
|
-
def build_service_account(self) -> Optional[pulumi.Input[str]]:
|
732
|
-
"""
|
733
|
-
If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
734
|
-
"""
|
735
|
-
return pulumi.get(self, "build_service_account")
|
736
|
-
|
737
|
-
@build_service_account.setter
|
738
|
-
def build_service_account(self, value: Optional[pulumi.Input[str]]):
|
739
|
-
pulumi.set(self, "build_service_account", value)
|
740
|
-
|
741
709
|
@property
|
742
710
|
@pulumi.getter(name="buildWorkerPool")
|
743
711
|
def build_worker_pool(self) -> Optional[pulumi.Input[str]]:
|
@@ -1142,7 +1110,6 @@ class Function(pulumi.CustomResource):
|
|
1142
1110
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1143
1111
|
available_memory_mb: Optional[pulumi.Input[int]] = None,
|
1144
1112
|
build_environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1145
|
-
build_service_account: Optional[pulumi.Input[str]] = None,
|
1146
1113
|
build_worker_pool: Optional[pulumi.Input[str]] = None,
|
1147
1114
|
description: Optional[pulumi.Input[str]] = None,
|
1148
1115
|
docker_registry: Optional[pulumi.Input[str]] = None,
|
@@ -1279,7 +1246,6 @@ class Function(pulumi.CustomResource):
|
|
1279
1246
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1280
1247
|
:param pulumi.Input[int] available_memory_mb: Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc.
|
1281
1248
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
1282
|
-
:param pulumi.Input[str] build_service_account: If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
1283
1249
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1284
1250
|
:param pulumi.Input[str] description: Description of the function.
|
1285
1251
|
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
@@ -1446,7 +1412,6 @@ class Function(pulumi.CustomResource):
|
|
1446
1412
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1447
1413
|
available_memory_mb: Optional[pulumi.Input[int]] = None,
|
1448
1414
|
build_environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1449
|
-
build_service_account: Optional[pulumi.Input[str]] = None,
|
1450
1415
|
build_worker_pool: Optional[pulumi.Input[str]] = None,
|
1451
1416
|
description: Optional[pulumi.Input[str]] = None,
|
1452
1417
|
docker_registry: Optional[pulumi.Input[str]] = None,
|
@@ -1486,7 +1451,6 @@ class Function(pulumi.CustomResource):
|
|
1486
1451
|
|
1487
1452
|
__props__.__dict__["available_memory_mb"] = available_memory_mb
|
1488
1453
|
__props__.__dict__["build_environment_variables"] = build_environment_variables
|
1489
|
-
__props__.__dict__["build_service_account"] = build_service_account
|
1490
1454
|
__props__.__dict__["build_worker_pool"] = build_worker_pool
|
1491
1455
|
__props__.__dict__["description"] = description
|
1492
1456
|
__props__.__dict__["docker_registry"] = docker_registry
|
@@ -1535,7 +1499,6 @@ class Function(pulumi.CustomResource):
|
|
1535
1499
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1536
1500
|
available_memory_mb: Optional[pulumi.Input[int]] = None,
|
1537
1501
|
build_environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
1538
|
-
build_service_account: Optional[pulumi.Input[str]] = None,
|
1539
1502
|
build_worker_pool: Optional[pulumi.Input[str]] = None,
|
1540
1503
|
description: Optional[pulumi.Input[str]] = None,
|
1541
1504
|
docker_registry: Optional[pulumi.Input[str]] = None,
|
@@ -1577,7 +1540,6 @@ class Function(pulumi.CustomResource):
|
|
1577
1540
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1578
1541
|
:param pulumi.Input[int] available_memory_mb: Memory (in MB), available to the function. Default value is `256`. Possible values include `128`, `256`, `512`, `1024`, etc.
|
1579
1542
|
:param pulumi.Input[Mapping[str, Any]] build_environment_variables: A set of key/value environment variable pairs available during build time.
|
1580
|
-
:param pulumi.Input[str] build_service_account: If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
1581
1543
|
:param pulumi.Input[str] build_worker_pool: Name of the Cloud Build Custom Worker Pool that should be used to build the function.
|
1582
1544
|
:param pulumi.Input[str] description: Description of the function.
|
1583
1545
|
:param pulumi.Input[str] docker_registry: Docker Registry to use for storing the function's Docker images. Allowed values are ARTIFACT_REGISTRY (default) and CONTAINER_REGISTRY.
|
@@ -1629,7 +1591,6 @@ class Function(pulumi.CustomResource):
|
|
1629
1591
|
|
1630
1592
|
__props__.__dict__["available_memory_mb"] = available_memory_mb
|
1631
1593
|
__props__.__dict__["build_environment_variables"] = build_environment_variables
|
1632
|
-
__props__.__dict__["build_service_account"] = build_service_account
|
1633
1594
|
__props__.__dict__["build_worker_pool"] = build_worker_pool
|
1634
1595
|
__props__.__dict__["description"] = description
|
1635
1596
|
__props__.__dict__["docker_registry"] = docker_registry
|
@@ -1680,14 +1641,6 @@ class Function(pulumi.CustomResource):
|
|
1680
1641
|
"""
|
1681
1642
|
return pulumi.get(self, "build_environment_variables")
|
1682
1643
|
|
1683
|
-
@property
|
1684
|
-
@pulumi.getter(name="buildServiceAccount")
|
1685
|
-
def build_service_account(self) -> pulumi.Output[str]:
|
1686
|
-
"""
|
1687
|
-
If provided, the self-provided service account to use to build the function. The format of this field is `projects/{project}/serviceAccounts/{serviceAccountEmail}`
|
1688
|
-
"""
|
1689
|
-
return pulumi.get(self, "build_service_account")
|
1690
|
-
|
1691
1644
|
@property
|
1692
1645
|
@pulumi.getter(name="buildWorkerPool")
|
1693
1646
|
def build_worker_pool(self) -> pulumi.Output[Optional[str]]:
|
@@ -27,16 +27,13 @@ class GetFunctionResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getFunction.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, available_memory_mb=None, build_environment_variables=None,
|
30
|
+
def __init__(__self__, available_memory_mb=None, build_environment_variables=None, build_worker_pool=None, description=None, docker_registry=None, docker_repository=None, effective_labels=None, entry_point=None, environment_variables=None, event_triggers=None, https_trigger_security_level=None, https_trigger_url=None, id=None, ingress_settings=None, kms_key_name=None, labels=None, max_instances=None, min_instances=None, name=None, project=None, pulumi_labels=None, region=None, runtime=None, secret_environment_variables=None, secret_volumes=None, service_account_email=None, source_archive_bucket=None, source_archive_object=None, source_repositories=None, status=None, timeout=None, trigger_http=None, version_id=None, vpc_connector=None, vpc_connector_egress_settings=None):
|
31
31
|
if available_memory_mb and not isinstance(available_memory_mb, int):
|
32
32
|
raise TypeError("Expected argument 'available_memory_mb' to be a int")
|
33
33
|
pulumi.set(__self__, "available_memory_mb", available_memory_mb)
|
34
34
|
if build_environment_variables and not isinstance(build_environment_variables, dict):
|
35
35
|
raise TypeError("Expected argument 'build_environment_variables' to be a dict")
|
36
36
|
pulumi.set(__self__, "build_environment_variables", build_environment_variables)
|
37
|
-
if build_service_account and not isinstance(build_service_account, str):
|
38
|
-
raise TypeError("Expected argument 'build_service_account' to be a str")
|
39
|
-
pulumi.set(__self__, "build_service_account", build_service_account)
|
40
37
|
if build_worker_pool and not isinstance(build_worker_pool, str):
|
41
38
|
raise TypeError("Expected argument 'build_worker_pool' to be a str")
|
42
39
|
pulumi.set(__self__, "build_worker_pool", build_worker_pool)
|
@@ -150,11 +147,6 @@ class GetFunctionResult:
|
|
150
147
|
def build_environment_variables(self) -> Mapping[str, Any]:
|
151
148
|
return pulumi.get(self, "build_environment_variables")
|
152
149
|
|
153
|
-
@property
|
154
|
-
@pulumi.getter(name="buildServiceAccount")
|
155
|
-
def build_service_account(self) -> str:
|
156
|
-
return pulumi.get(self, "build_service_account")
|
157
|
-
|
158
150
|
@property
|
159
151
|
@pulumi.getter(name="buildWorkerPool")
|
160
152
|
def build_worker_pool(self) -> str:
|
@@ -383,7 +375,6 @@ class AwaitableGetFunctionResult(GetFunctionResult):
|
|
383
375
|
return GetFunctionResult(
|
384
376
|
available_memory_mb=self.available_memory_mb,
|
385
377
|
build_environment_variables=self.build_environment_variables,
|
386
|
-
build_service_account=self.build_service_account,
|
387
378
|
build_worker_pool=self.build_worker_pool,
|
388
379
|
description=self.description,
|
389
380
|
docker_registry=self.docker_registry,
|
@@ -456,7 +447,6 @@ def get_function(name: Optional[str] = None,
|
|
456
447
|
return AwaitableGetFunctionResult(
|
457
448
|
available_memory_mb=pulumi.get(__ret__, 'available_memory_mb'),
|
458
449
|
build_environment_variables=pulumi.get(__ret__, 'build_environment_variables'),
|
459
|
-
build_service_account=pulumi.get(__ret__, 'build_service_account'),
|
460
450
|
build_worker_pool=pulumi.get(__ret__, 'build_worker_pool'),
|
461
451
|
description=pulumi.get(__ret__, 'description'),
|
462
452
|
docker_registry=pulumi.get(__ret__, 'docker_registry'),
|
@@ -1085,7 +1085,7 @@ class Function(pulumi.CustomResource):
|
|
1085
1085
|
f"serviceAccount:service-{project_get_project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com",
|
1086
1086
|
f"serviceAccount:service-{project_get_project.number}@gs-project-accounts.iam.gserviceaccount.com",
|
1087
1087
|
f"serviceAccount:service-{project_get_project.number}@serverless-robot-prod.iam.gserviceaccount.com",
|
1088
|
-
ea_sa.
|
1088
|
+
ea_sa.email.apply(lambda email: f"serviceAccount:{email}"),
|
1089
1089
|
],
|
1090
1090
|
opts = pulumi.ResourceOptions(depends_on=[ea_sa]))
|
1091
1091
|
encoded_ar_repo = gcp.artifactregistry.Repository("encoded-ar-repo",
|
@@ -1890,7 +1890,7 @@ class Function(pulumi.CustomResource):
|
|
1890
1890
|
f"serviceAccount:service-{project_get_project.number}@gcp-sa-artifactregistry.iam.gserviceaccount.com",
|
1891
1891
|
f"serviceAccount:service-{project_get_project.number}@gs-project-accounts.iam.gserviceaccount.com",
|
1892
1892
|
f"serviceAccount:service-{project_get_project.number}@serverless-robot-prod.iam.gserviceaccount.com",
|
1893
|
-
ea_sa.
|
1893
|
+
ea_sa.email.apply(lambda email: f"serviceAccount:{email}"),
|
1894
1894
|
],
|
1895
1895
|
opts = pulumi.ResourceOptions(depends_on=[ea_sa]))
|
1896
1896
|
encoded_ar_repo = gcp.artifactregistry.Repository("encoded-ar-repo",
|