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
@@ -579,7 +579,7 @@ class TlsInspectionPolicy(pulumi.CustomResource):
|
|
579
579
|
default_ca_pool_iam_member = gcp.certificateauthority.CaPoolIamMember("default",
|
580
580
|
ca_pool=default.id,
|
581
581
|
role="roles/privateca.certificateManager",
|
582
|
-
member=ns_sa.
|
582
|
+
member=ns_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
583
583
|
default_trust_config = gcp.certificatemanager.TrustConfig("default",
|
584
584
|
name="my-trust-config",
|
585
585
|
description="sample trust config description",
|
@@ -828,7 +828,7 @@ class TlsInspectionPolicy(pulumi.CustomResource):
|
|
828
828
|
default_ca_pool_iam_member = gcp.certificateauthority.CaPoolIamMember("default",
|
829
829
|
ca_pool=default.id,
|
830
830
|
role="roles/privateca.certificateManager",
|
831
|
-
member=ns_sa.
|
831
|
+
member=ns_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
832
832
|
default_trust_config = gcp.certificatemanager.TrustConfig("default",
|
833
833
|
name="my-trust-config",
|
834
834
|
description="sample trust config description",
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -288,7 +288,7 @@ class Policy(pulumi.CustomResource):
|
|
288
288
|
{
|
289
289
|
"condition": {
|
290
290
|
"description": "A sample condition for the policy",
|
291
|
-
"expression": "resource.
|
291
|
+
"expression": "resource.matchLabels('labelKeys/123', 'labelValues/345')",
|
292
292
|
"location": "sample-location.log",
|
293
293
|
"title": "sample-condition",
|
294
294
|
},
|
@@ -310,7 +310,7 @@ class Policy(pulumi.CustomResource):
|
|
310
310
|
import pulumi_gcp as gcp
|
311
311
|
|
312
312
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
313
|
-
name="custom.
|
313
|
+
name="custom.disableGkeAutoUpgrade_40785",
|
314
314
|
parent="organizations/123456789",
|
315
315
|
display_name="Disable GKE auto upgrade",
|
316
316
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -446,7 +446,7 @@ class Policy(pulumi.CustomResource):
|
|
446
446
|
{
|
447
447
|
"condition": {
|
448
448
|
"description": "A sample condition for the policy",
|
449
|
-
"expression": "resource.
|
449
|
+
"expression": "resource.matchLabels('labelKeys/123', 'labelValues/345')",
|
450
450
|
"location": "sample-location.log",
|
451
451
|
"title": "sample-condition",
|
452
452
|
},
|
@@ -468,7 +468,7 @@ class Policy(pulumi.CustomResource):
|
|
468
468
|
import pulumi_gcp as gcp
|
469
469
|
|
470
470
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
471
|
-
name="custom.
|
471
|
+
name="custom.disableGkeAutoUpgrade_40785",
|
472
472
|
parent="organizations/123456789",
|
473
473
|
display_name="Disable GKE auto upgrade",
|
474
474
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -26,10 +26,7 @@ class GetProjectServiceResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getProjectService.
|
28
28
|
"""
|
29
|
-
def __init__(__self__,
|
30
|
-
if check_if_service_has_usage_on_destroy and not isinstance(check_if_service_has_usage_on_destroy, bool):
|
31
|
-
raise TypeError("Expected argument 'check_if_service_has_usage_on_destroy' to be a bool")
|
32
|
-
pulumi.set(__self__, "check_if_service_has_usage_on_destroy", check_if_service_has_usage_on_destroy)
|
29
|
+
def __init__(__self__, disable_dependent_services=None, disable_on_destroy=None, id=None, project=None, service=None):
|
33
30
|
if disable_dependent_services and not isinstance(disable_dependent_services, bool):
|
34
31
|
raise TypeError("Expected argument 'disable_dependent_services' to be a bool")
|
35
32
|
pulumi.set(__self__, "disable_dependent_services", disable_dependent_services)
|
@@ -46,11 +43,6 @@ class GetProjectServiceResult:
|
|
46
43
|
raise TypeError("Expected argument 'service' to be a str")
|
47
44
|
pulumi.set(__self__, "service", service)
|
48
45
|
|
49
|
-
@property
|
50
|
-
@pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
|
51
|
-
def check_if_service_has_usage_on_destroy(self) -> bool:
|
52
|
-
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
53
|
-
|
54
46
|
@property
|
55
47
|
@pulumi.getter(name="disableDependentServices")
|
56
48
|
def disable_dependent_services(self) -> bool:
|
@@ -86,7 +78,6 @@ class AwaitableGetProjectServiceResult(GetProjectServiceResult):
|
|
86
78
|
if False:
|
87
79
|
yield self
|
88
80
|
return GetProjectServiceResult(
|
89
|
-
check_if_service_has_usage_on_destroy=self.check_if_service_has_usage_on_destroy,
|
90
81
|
disable_dependent_services=self.disable_dependent_services,
|
91
82
|
disable_on_destroy=self.disable_on_destroy,
|
92
83
|
id=self.id,
|
@@ -135,7 +126,6 @@ def get_project_service(project: Optional[str] = None,
|
|
135
126
|
__ret__ = pulumi.runtime.invoke('gcp:projects/getProjectService:getProjectService', __args__, opts=opts, typ=GetProjectServiceResult).value
|
136
127
|
|
137
128
|
return AwaitableGetProjectServiceResult(
|
138
|
-
check_if_service_has_usage_on_destroy=pulumi.get(__ret__, 'check_if_service_has_usage_on_destroy'),
|
139
129
|
disable_dependent_services=pulumi.get(__ret__, 'disable_dependent_services'),
|
140
130
|
disable_on_destroy=pulumi.get(__ret__, 'disable_on_destroy'),
|
141
131
|
id=pulumi.get(__ret__, 'id'),
|
pulumi_gcp/projects/service.py
CHANGED
@@ -20,17 +20,12 @@ __all__ = ['ServiceArgs', 'Service']
|
|
20
20
|
class ServiceArgs:
|
21
21
|
def __init__(__self__, *,
|
22
22
|
service: pulumi.Input[str],
|
23
|
-
check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
|
24
23
|
disable_dependent_services: Optional[pulumi.Input[bool]] = None,
|
25
24
|
disable_on_destroy: Optional[pulumi.Input[bool]] = None,
|
26
25
|
project: Optional[pulumi.Input[str]] = None):
|
27
26
|
"""
|
28
27
|
The set of arguments for constructing a Service resource.
|
29
28
|
:param pulumi.Input[str] service: The service to enable.
|
30
|
-
:param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
|
31
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
32
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
33
|
-
Defaults to `false`.
|
34
29
|
:param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
|
35
30
|
and which depend on this service should also be disabled when this service is
|
36
31
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -39,8 +34,6 @@ class ServiceArgs:
|
|
39
34
|
is used.
|
40
35
|
"""
|
41
36
|
pulumi.set(__self__, "service", service)
|
42
|
-
if check_if_service_has_usage_on_destroy is not None:
|
43
|
-
pulumi.set(__self__, "check_if_service_has_usage_on_destroy", check_if_service_has_usage_on_destroy)
|
44
37
|
if disable_dependent_services is not None:
|
45
38
|
pulumi.set(__self__, "disable_dependent_services", disable_dependent_services)
|
46
39
|
if disable_on_destroy is not None:
|
@@ -60,21 +53,6 @@ class ServiceArgs:
|
|
60
53
|
def service(self, value: pulumi.Input[str]):
|
61
54
|
pulumi.set(self, "service", value)
|
62
55
|
|
63
|
-
@property
|
64
|
-
@pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
|
65
|
-
def check_if_service_has_usage_on_destroy(self) -> Optional[pulumi.Input[bool]]:
|
66
|
-
"""
|
67
|
-
Beta
|
68
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
69
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
70
|
-
Defaults to `false`.
|
71
|
-
"""
|
72
|
-
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
73
|
-
|
74
|
-
@check_if_service_has_usage_on_destroy.setter
|
75
|
-
def check_if_service_has_usage_on_destroy(self, value: Optional[pulumi.Input[bool]]):
|
76
|
-
pulumi.set(self, "check_if_service_has_usage_on_destroy", value)
|
77
|
-
|
78
56
|
@property
|
79
57
|
@pulumi.getter(name="disableDependentServices")
|
80
58
|
def disable_dependent_services(self) -> Optional[pulumi.Input[bool]]:
|
@@ -116,17 +94,12 @@ class ServiceArgs:
|
|
116
94
|
@pulumi.input_type
|
117
95
|
class _ServiceState:
|
118
96
|
def __init__(__self__, *,
|
119
|
-
check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
|
120
97
|
disable_dependent_services: Optional[pulumi.Input[bool]] = None,
|
121
98
|
disable_on_destroy: Optional[pulumi.Input[bool]] = None,
|
122
99
|
project: Optional[pulumi.Input[str]] = None,
|
123
100
|
service: Optional[pulumi.Input[str]] = None):
|
124
101
|
"""
|
125
102
|
Input properties used for looking up and filtering Service resources.
|
126
|
-
:param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
|
127
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
128
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
129
|
-
Defaults to `false`.
|
130
103
|
:param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
|
131
104
|
and which depend on this service should also be disabled when this service is
|
132
105
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -135,8 +108,6 @@ class _ServiceState:
|
|
135
108
|
is used.
|
136
109
|
:param pulumi.Input[str] service: The service to enable.
|
137
110
|
"""
|
138
|
-
if check_if_service_has_usage_on_destroy is not None:
|
139
|
-
pulumi.set(__self__, "check_if_service_has_usage_on_destroy", check_if_service_has_usage_on_destroy)
|
140
111
|
if disable_dependent_services is not None:
|
141
112
|
pulumi.set(__self__, "disable_dependent_services", disable_dependent_services)
|
142
113
|
if disable_on_destroy is not None:
|
@@ -146,21 +117,6 @@ class _ServiceState:
|
|
146
117
|
if service is not None:
|
147
118
|
pulumi.set(__self__, "service", service)
|
148
119
|
|
149
|
-
@property
|
150
|
-
@pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
|
151
|
-
def check_if_service_has_usage_on_destroy(self) -> Optional[pulumi.Input[bool]]:
|
152
|
-
"""
|
153
|
-
Beta
|
154
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
155
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
156
|
-
Defaults to `false`.
|
157
|
-
"""
|
158
|
-
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
159
|
-
|
160
|
-
@check_if_service_has_usage_on_destroy.setter
|
161
|
-
def check_if_service_has_usage_on_destroy(self, value: Optional[pulumi.Input[bool]]):
|
162
|
-
pulumi.set(self, "check_if_service_has_usage_on_destroy", value)
|
163
|
-
|
164
120
|
@property
|
165
121
|
@pulumi.getter(name="disableDependentServices")
|
166
122
|
def disable_dependent_services(self) -> Optional[pulumi.Input[bool]]:
|
@@ -216,7 +172,6 @@ class Service(pulumi.CustomResource):
|
|
216
172
|
def __init__(__self__,
|
217
173
|
resource_name: str,
|
218
174
|
opts: Optional[pulumi.ResourceOptions] = None,
|
219
|
-
check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
|
220
175
|
disable_dependent_services: Optional[pulumi.Input[bool]] = None,
|
221
176
|
disable_on_destroy: Optional[pulumi.Input[bool]] = None,
|
222
177
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -259,10 +214,6 @@ class Service(pulumi.CustomResource):
|
|
259
214
|
|
260
215
|
:param str resource_name: The name of the resource.
|
261
216
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
262
|
-
:param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
|
263
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
264
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
265
|
-
Defaults to `false`.
|
266
217
|
:param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
|
267
218
|
and which depend on this service should also be disabled when this service is
|
268
219
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -327,7 +278,6 @@ class Service(pulumi.CustomResource):
|
|
327
278
|
def _internal_init(__self__,
|
328
279
|
resource_name: str,
|
329
280
|
opts: Optional[pulumi.ResourceOptions] = None,
|
330
|
-
check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
|
331
281
|
disable_dependent_services: Optional[pulumi.Input[bool]] = None,
|
332
282
|
disable_on_destroy: Optional[pulumi.Input[bool]] = None,
|
333
283
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -341,7 +291,6 @@ class Service(pulumi.CustomResource):
|
|
341
291
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
342
292
|
__props__ = ServiceArgs.__new__(ServiceArgs)
|
343
293
|
|
344
|
-
__props__.__dict__["check_if_service_has_usage_on_destroy"] = check_if_service_has_usage_on_destroy
|
345
294
|
__props__.__dict__["disable_dependent_services"] = disable_dependent_services
|
346
295
|
__props__.__dict__["disable_on_destroy"] = disable_on_destroy
|
347
296
|
__props__.__dict__["project"] = project
|
@@ -358,7 +307,6 @@ class Service(pulumi.CustomResource):
|
|
358
307
|
def get(resource_name: str,
|
359
308
|
id: pulumi.Input[str],
|
360
309
|
opts: Optional[pulumi.ResourceOptions] = None,
|
361
|
-
check_if_service_has_usage_on_destroy: Optional[pulumi.Input[bool]] = None,
|
362
310
|
disable_dependent_services: Optional[pulumi.Input[bool]] = None,
|
363
311
|
disable_on_destroy: Optional[pulumi.Input[bool]] = None,
|
364
312
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -370,10 +318,6 @@ class Service(pulumi.CustomResource):
|
|
370
318
|
:param str resource_name: The unique name of the resulting resource.
|
371
319
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
372
320
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
373
|
-
:param pulumi.Input[bool] check_if_service_has_usage_on_destroy: Beta
|
374
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
375
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
376
|
-
Defaults to `false`.
|
377
321
|
:param pulumi.Input[bool] disable_dependent_services: If `true`, services that are enabled
|
378
322
|
and which depend on this service should also be disabled when this service is
|
379
323
|
destroyed. If `false` or unset, an error will be generated if any enabled
|
@@ -386,24 +330,12 @@ class Service(pulumi.CustomResource):
|
|
386
330
|
|
387
331
|
__props__ = _ServiceState.__new__(_ServiceState)
|
388
332
|
|
389
|
-
__props__.__dict__["check_if_service_has_usage_on_destroy"] = check_if_service_has_usage_on_destroy
|
390
333
|
__props__.__dict__["disable_dependent_services"] = disable_dependent_services
|
391
334
|
__props__.__dict__["disable_on_destroy"] = disable_on_destroy
|
392
335
|
__props__.__dict__["project"] = project
|
393
336
|
__props__.__dict__["service"] = service
|
394
337
|
return Service(resource_name, opts=opts, __props__=__props__)
|
395
338
|
|
396
|
-
@property
|
397
|
-
@pulumi.getter(name="checkIfServiceHasUsageOnDestroy")
|
398
|
-
def check_if_service_has_usage_on_destroy(self) -> pulumi.Output[Optional[bool]]:
|
399
|
-
"""
|
400
|
-
Beta
|
401
|
-
If `true`, the usage of the service to be disabled will be checked and an error
|
402
|
-
will be returned if the service to be disabled has usage in last 30 days.
|
403
|
-
Defaults to `false`.
|
404
|
-
"""
|
405
|
-
return pulumi.get(self, "check_if_service_has_usage_on_destroy")
|
406
|
-
|
407
339
|
@property
|
408
340
|
@pulumi.getter(name="disableDependentServices")
|
409
341
|
def disable_dependent_services(self) -> pulumi.Output[Optional[bool]]:
|
@@ -65,13 +65,11 @@ class ServiceIdentityArgs:
|
|
65
65
|
class _ServiceIdentityState:
|
66
66
|
def __init__(__self__, *,
|
67
67
|
email: Optional[pulumi.Input[str]] = None,
|
68
|
-
member: Optional[pulumi.Input[str]] = None,
|
69
68
|
project: Optional[pulumi.Input[str]] = None,
|
70
69
|
service: Optional[pulumi.Input[str]] = None):
|
71
70
|
"""
|
72
71
|
Input properties used for looking up and filtering ServiceIdentity resources.
|
73
72
|
:param pulumi.Input[str] email: The email address of the Google managed service account.
|
74
|
-
:param pulumi.Input[str] member: The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
|
75
73
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
76
74
|
If it is not provided, the provider project is used.
|
77
75
|
:param pulumi.Input[str] service: The service to generate identity for.
|
@@ -80,8 +78,6 @@ class _ServiceIdentityState:
|
|
80
78
|
"""
|
81
79
|
if email is not None:
|
82
80
|
pulumi.set(__self__, "email", email)
|
83
|
-
if member is not None:
|
84
|
-
pulumi.set(__self__, "member", member)
|
85
81
|
if project is not None:
|
86
82
|
pulumi.set(__self__, "project", project)
|
87
83
|
if service is not None:
|
@@ -99,18 +95,6 @@ class _ServiceIdentityState:
|
|
99
95
|
def email(self, value: Optional[pulumi.Input[str]]):
|
100
96
|
pulumi.set(self, "email", value)
|
101
97
|
|
102
|
-
@property
|
103
|
-
@pulumi.getter
|
104
|
-
def member(self) -> Optional[pulumi.Input[str]]:
|
105
|
-
"""
|
106
|
-
The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
|
107
|
-
"""
|
108
|
-
return pulumi.get(self, "member")
|
109
|
-
|
110
|
-
@member.setter
|
111
|
-
def member(self, value: Optional[pulumi.Input[str]]):
|
112
|
-
pulumi.set(self, "member", value)
|
113
|
-
|
114
98
|
@property
|
115
99
|
@pulumi.getter
|
116
100
|
def project(self) -> Optional[pulumi.Input[str]]:
|
@@ -176,7 +160,7 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
176
160
|
hc_sa_bq_jobuser = gcp.projects.IAMMember("hc_sa_bq_jobuser",
|
177
161
|
project=project.project_id,
|
178
162
|
role="roles/bigquery.jobUser",
|
179
|
-
member=hc_sa.
|
163
|
+
member=hc_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
180
164
|
```
|
181
165
|
|
182
166
|
## Import
|
@@ -226,7 +210,7 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
226
210
|
hc_sa_bq_jobuser = gcp.projects.IAMMember("hc_sa_bq_jobuser",
|
227
211
|
project=project.project_id,
|
228
212
|
role="roles/bigquery.jobUser",
|
229
|
-
member=hc_sa.
|
213
|
+
member=hc_sa.email.apply(lambda email: f"serviceAccount:{email}"))
|
230
214
|
```
|
231
215
|
|
232
216
|
## Import
|
@@ -264,7 +248,6 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
264
248
|
raise TypeError("Missing required property 'service'")
|
265
249
|
__props__.__dict__["service"] = service
|
266
250
|
__props__.__dict__["email"] = None
|
267
|
-
__props__.__dict__["member"] = None
|
268
251
|
super(ServiceIdentity, __self__).__init__(
|
269
252
|
'gcp:projects/serviceIdentity:ServiceIdentity',
|
270
253
|
resource_name,
|
@@ -276,7 +259,6 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
276
259
|
id: pulumi.Input[str],
|
277
260
|
opts: Optional[pulumi.ResourceOptions] = None,
|
278
261
|
email: Optional[pulumi.Input[str]] = None,
|
279
|
-
member: Optional[pulumi.Input[str]] = None,
|
280
262
|
project: Optional[pulumi.Input[str]] = None,
|
281
263
|
service: Optional[pulumi.Input[str]] = None) -> 'ServiceIdentity':
|
282
264
|
"""
|
@@ -287,7 +269,6 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
287
269
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
288
270
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
289
271
|
:param pulumi.Input[str] email: The email address of the Google managed service account.
|
290
|
-
:param pulumi.Input[str] member: The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
|
291
272
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
292
273
|
If it is not provided, the provider project is used.
|
293
274
|
:param pulumi.Input[str] service: The service to generate identity for.
|
@@ -299,7 +280,6 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
299
280
|
__props__ = _ServiceIdentityState.__new__(_ServiceIdentityState)
|
300
281
|
|
301
282
|
__props__.__dict__["email"] = email
|
302
|
-
__props__.__dict__["member"] = member
|
303
283
|
__props__.__dict__["project"] = project
|
304
284
|
__props__.__dict__["service"] = service
|
305
285
|
return ServiceIdentity(resource_name, opts=opts, __props__=__props__)
|
@@ -312,14 +292,6 @@ class ServiceIdentity(pulumi.CustomResource):
|
|
312
292
|
"""
|
313
293
|
return pulumi.get(self, "email")
|
314
294
|
|
315
|
-
@property
|
316
|
-
@pulumi.getter
|
317
|
-
def member(self) -> pulumi.Output[str]:
|
318
|
-
"""
|
319
|
-
The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
|
320
|
-
"""
|
321
|
-
return pulumi.get(self, "member")
|
322
|
-
|
323
295
|
@property
|
324
296
|
@pulumi.getter
|
325
297
|
def project(self) -> pulumi.Output[str]:
|
@@ -1104,7 +1104,7 @@ class Subscription(pulumi.CustomResource):
|
|
1104
1104
|
cloud_storage_config={
|
1105
1105
|
"bucket": example.name,
|
1106
1106
|
"filename_prefix": "pre-",
|
1107
|
-
"filename_suffix": "-
|
1107
|
+
"filename_suffix": "-_79169",
|
1108
1108
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1109
1109
|
"max_bytes": 1000,
|
1110
1110
|
"max_duration": "300s",
|
@@ -1136,7 +1136,7 @@ class Subscription(pulumi.CustomResource):
|
|
1136
1136
|
cloud_storage_config={
|
1137
1137
|
"bucket": example.name,
|
1138
1138
|
"filename_prefix": "pre-",
|
1139
|
-
"filename_suffix": "-
|
1139
|
+
"filename_suffix": "-_56529",
|
1140
1140
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1141
1141
|
"max_bytes": 1000,
|
1142
1142
|
"max_duration": "300s",
|
@@ -1173,7 +1173,7 @@ class Subscription(pulumi.CustomResource):
|
|
1173
1173
|
cloud_storage_config={
|
1174
1174
|
"bucket": example.name,
|
1175
1175
|
"filename_prefix": "pre-",
|
1176
|
-
"filename_suffix": "-
|
1176
|
+
"filename_suffix": "-_75413",
|
1177
1177
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1178
1178
|
"max_bytes": 1000,
|
1179
1179
|
"max_duration": "300s",
|
@@ -1532,7 +1532,7 @@ class Subscription(pulumi.CustomResource):
|
|
1532
1532
|
cloud_storage_config={
|
1533
1533
|
"bucket": example.name,
|
1534
1534
|
"filename_prefix": "pre-",
|
1535
|
-
"filename_suffix": "-
|
1535
|
+
"filename_suffix": "-_79169",
|
1536
1536
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1537
1537
|
"max_bytes": 1000,
|
1538
1538
|
"max_duration": "300s",
|
@@ -1564,7 +1564,7 @@ class Subscription(pulumi.CustomResource):
|
|
1564
1564
|
cloud_storage_config={
|
1565
1565
|
"bucket": example.name,
|
1566
1566
|
"filename_prefix": "pre-",
|
1567
|
-
"filename_suffix": "-
|
1567
|
+
"filename_suffix": "-_56529",
|
1568
1568
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1569
1569
|
"max_bytes": 1000,
|
1570
1570
|
"max_duration": "300s",
|
@@ -1601,7 +1601,7 @@ class Subscription(pulumi.CustomResource):
|
|
1601
1601
|
cloud_storage_config={
|
1602
1602
|
"bucket": example.name,
|
1603
1603
|
"filename_prefix": "pre-",
|
1604
|
-
"filename_suffix": "-
|
1604
|
+
"filename_suffix": "-_75413",
|
1605
1605
|
"filename_datetime_format": "YYYY-MM-DD/hh_mm_ssZ",
|
1606
1606
|
"max_bytes": 1000,
|
1607
1607
|
"max_duration": "300s",
|
pulumi_gcp/pulumi-plugin.json
CHANGED