pulumi-gcp 8.34.0a1749538186__py3-none-any.whl → 8.34.0a1749648575__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 +32 -0
- pulumi_gcp/alloydb/cluster.py +16 -64
- pulumi_gcp/apigee/_inputs.py +89 -0
- pulumi_gcp/apigee/environment.py +68 -2
- pulumi_gcp/apigee/outputs.py +88 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/_inputs.py +184 -0
- pulumi_gcp/apihub/curation.py +812 -0
- pulumi_gcp/apihub/outputs.py +165 -0
- pulumi_gcp/beyondcorp/get_security_gateway.py +12 -1
- pulumi_gcp/beyondcorp/security_gateway.py +28 -0
- pulumi_gcp/cloudrunv2/_inputs.py +463 -0
- pulumi_gcp/cloudrunv2/outputs.py +581 -1
- pulumi_gcp/cloudrunv2/worker_pool.py +0 -8
- pulumi_gcp/colab/runtime_template.py +4 -26
- pulumi_gcp/compute/__init__.py +3 -0
- pulumi_gcp/compute/_inputs.py +1551 -0
- pulumi_gcp/compute/interconnect.py +32 -0
- pulumi_gcp/compute/interconnect_attachment.py +28 -0
- pulumi_gcp/compute/interconnect_attachment_group.py +636 -0
- pulumi_gcp/compute/interconnect_group.py +586 -0
- pulumi_gcp/compute/outputs.py +1087 -0
- pulumi_gcp/compute/snapshot_settings.py +285 -0
- pulumi_gcp/container/_inputs.py +51 -18
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +71 -16
- pulumi_gcp/dataplex/_inputs.py +20 -0
- pulumi_gcp/dataplex/datascan.py +2 -0
- pulumi_gcp/dataplex/outputs.py +15 -1
- pulumi_gcp/eventarc/_inputs.py +12 -5
- pulumi_gcp/eventarc/outputs.py +8 -3
- pulumi_gcp/eventarc/pipeline.py +0 -12
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +58 -9
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +11 -16
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +51 -2
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +11 -16
- pulumi_gcp/gkehub/_inputs.py +84 -7
- pulumi_gcp/gkehub/feature.py +38 -0
- pulumi_gcp/gkehub/outputs.py +102 -7
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +54 -2
- pulumi_gcp/gkeonprem/_inputs.py +54 -0
- pulumi_gcp/gkeonprem/outputs.py +49 -0
- pulumi_gcp/gkeonprem/vmware_admin_cluster.py +71 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/backend_authentication_config.py +64 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/_inputs.py +392 -0
- pulumi_gcp/pubsub/get_subscription.py +12 -1
- pulumi_gcp/pubsub/get_topic.py +12 -1
- pulumi_gcp/pubsub/outputs.py +548 -0
- pulumi_gcp/pubsub/subscription.py +67 -6
- pulumi_gcp/pubsub/topic.py +61 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749648575.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749648575.dist-info}/RECORD +65 -61
- {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749648575.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.34.0a1749538186.dist-info → pulumi_gcp-8.34.0a1749648575.dist-info}/top_level.txt +0 -0
@@ -37,6 +37,7 @@ class VmwareAdminClusterArgs:
|
|
37
37
|
name: Optional[pulumi.Input[builtins.str]] = None,
|
38
38
|
on_prem_version: Optional[pulumi.Input[builtins.str]] = None,
|
39
39
|
platform_config: Optional[pulumi.Input['VmwareAdminClusterPlatformConfigArgs']] = None,
|
40
|
+
private_registry_config: Optional[pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs']] = None,
|
40
41
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
41
42
|
vcenter: Optional[pulumi.Input['VmwareAdminClusterVcenterArgs']] = None):
|
42
43
|
"""
|
@@ -62,6 +63,7 @@ class VmwareAdminClusterArgs:
|
|
62
63
|
:param pulumi.Input[builtins.str] name: The VMware admin cluster resource name.
|
63
64
|
:param pulumi.Input[builtins.str] on_prem_version: The Anthos clusters on the VMware version for the admin cluster.
|
64
65
|
:param pulumi.Input['VmwareAdminClusterPlatformConfigArgs'] platform_config: The VMware platform configuration.
|
66
|
+
:param pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs'] private_registry_config: Configuration for private registry.
|
65
67
|
:param pulumi.Input['VmwareAdminClusterVcenterArgs'] vcenter: Specifies vCenter config for the admin cluster.
|
66
68
|
"""
|
67
69
|
pulumi.set(__self__, "location", location)
|
@@ -92,6 +94,8 @@ class VmwareAdminClusterArgs:
|
|
92
94
|
pulumi.set(__self__, "on_prem_version", on_prem_version)
|
93
95
|
if platform_config is not None:
|
94
96
|
pulumi.set(__self__, "platform_config", platform_config)
|
97
|
+
if private_registry_config is not None:
|
98
|
+
pulumi.set(__self__, "private_registry_config", private_registry_config)
|
95
99
|
if project is not None:
|
96
100
|
pulumi.set(__self__, "project", project)
|
97
101
|
if vcenter is not None:
|
@@ -283,6 +287,18 @@ class VmwareAdminClusterArgs:
|
|
283
287
|
def platform_config(self, value: Optional[pulumi.Input['VmwareAdminClusterPlatformConfigArgs']]):
|
284
288
|
pulumi.set(self, "platform_config", value)
|
285
289
|
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="privateRegistryConfig")
|
292
|
+
def private_registry_config(self) -> Optional[pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs']]:
|
293
|
+
"""
|
294
|
+
Configuration for private registry.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "private_registry_config")
|
297
|
+
|
298
|
+
@private_registry_config.setter
|
299
|
+
def private_registry_config(self, value: Optional[pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs']]):
|
300
|
+
pulumi.set(self, "private_registry_config", value)
|
301
|
+
|
286
302
|
@property
|
287
303
|
@pulumi.getter
|
288
304
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -330,6 +346,7 @@ class _VmwareAdminClusterState:
|
|
330
346
|
network_config: Optional[pulumi.Input['VmwareAdminClusterNetworkConfigArgs']] = None,
|
331
347
|
on_prem_version: Optional[pulumi.Input[builtins.str]] = None,
|
332
348
|
platform_config: Optional[pulumi.Input['VmwareAdminClusterPlatformConfigArgs']] = None,
|
349
|
+
private_registry_config: Optional[pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs']] = None,
|
333
350
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
334
351
|
reconciling: Optional[pulumi.Input[builtins.bool]] = None,
|
335
352
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -380,6 +397,7 @@ class _VmwareAdminClusterState:
|
|
380
397
|
Structure is documented below.
|
381
398
|
:param pulumi.Input[builtins.str] on_prem_version: The Anthos clusters on the VMware version for the admin cluster.
|
382
399
|
:param pulumi.Input['VmwareAdminClusterPlatformConfigArgs'] platform_config: The VMware platform configuration.
|
400
|
+
:param pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs'] private_registry_config: Configuration for private registry.
|
383
401
|
:param pulumi.Input[builtins.bool] reconciling: If set, there are currently changes in flight to the VMware admin cluster.
|
384
402
|
:param pulumi.Input[builtins.str] state: (Output)
|
385
403
|
The lifecycle state of the condition.
|
@@ -433,6 +451,8 @@ class _VmwareAdminClusterState:
|
|
433
451
|
pulumi.set(__self__, "on_prem_version", on_prem_version)
|
434
452
|
if platform_config is not None:
|
435
453
|
pulumi.set(__self__, "platform_config", platform_config)
|
454
|
+
if private_registry_config is not None:
|
455
|
+
pulumi.set(__self__, "private_registry_config", private_registry_config)
|
436
456
|
if project is not None:
|
437
457
|
pulumi.set(__self__, "project", project)
|
438
458
|
if reconciling is not None:
|
@@ -729,6 +749,18 @@ class _VmwareAdminClusterState:
|
|
729
749
|
def platform_config(self, value: Optional[pulumi.Input['VmwareAdminClusterPlatformConfigArgs']]):
|
730
750
|
pulumi.set(self, "platform_config", value)
|
731
751
|
|
752
|
+
@property
|
753
|
+
@pulumi.getter(name="privateRegistryConfig")
|
754
|
+
def private_registry_config(self) -> Optional[pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs']]:
|
755
|
+
"""
|
756
|
+
Configuration for private registry.
|
757
|
+
"""
|
758
|
+
return pulumi.get(self, "private_registry_config")
|
759
|
+
|
760
|
+
@private_registry_config.setter
|
761
|
+
def private_registry_config(self, value: Optional[pulumi.Input['VmwareAdminClusterPrivateRegistryConfigArgs']]):
|
762
|
+
pulumi.set(self, "private_registry_config", value)
|
763
|
+
|
732
764
|
@property
|
733
765
|
@pulumi.getter
|
734
766
|
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
@@ -834,6 +866,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
834
866
|
network_config: Optional[pulumi.Input[Union['VmwareAdminClusterNetworkConfigArgs', 'VmwareAdminClusterNetworkConfigArgsDict']]] = None,
|
835
867
|
on_prem_version: Optional[pulumi.Input[builtins.str]] = None,
|
836
868
|
platform_config: Optional[pulumi.Input[Union['VmwareAdminClusterPlatformConfigArgs', 'VmwareAdminClusterPlatformConfigArgsDict']]] = None,
|
869
|
+
private_registry_config: Optional[pulumi.Input[Union['VmwareAdminClusterPrivateRegistryConfigArgs', 'VmwareAdminClusterPrivateRegistryConfigArgsDict']]] = None,
|
837
870
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
838
871
|
vcenter: Optional[pulumi.Input[Union['VmwareAdminClusterVcenterArgs', 'VmwareAdminClusterVcenterArgsDict']]] = None,
|
839
872
|
__props__=None):
|
@@ -884,6 +917,10 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
884
917
|
"partition": "test-parition",
|
885
918
|
"snat_pool": "test-snat-pool",
|
886
919
|
},
|
920
|
+
},
|
921
|
+
private_registry_config={
|
922
|
+
"address": "test-address",
|
923
|
+
"ca_cert": "test-ca-cert",
|
887
924
|
})
|
888
925
|
```
|
889
926
|
### Gkeonprem Vmware Admin Cluster Full
|
@@ -977,6 +1014,10 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
977
1014
|
},
|
978
1015
|
platform_config={
|
979
1016
|
"required_platform_version": "1.31.0",
|
1017
|
+
},
|
1018
|
+
private_registry_config={
|
1019
|
+
"address": "test-address",
|
1020
|
+
"ca_cert": "test-ca-cert",
|
980
1021
|
})
|
981
1022
|
```
|
982
1023
|
### Gkeonprem Vmware Admin Cluster Metallb
|
@@ -1021,6 +1062,10 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1021
1062
|
"metal_lb_config": {
|
1022
1063
|
"enabled": True,
|
1023
1064
|
},
|
1065
|
+
},
|
1066
|
+
private_registry_config={
|
1067
|
+
"address": "test-address",
|
1068
|
+
"ca_cert": "test-ca-cert",
|
1024
1069
|
})
|
1025
1070
|
```
|
1026
1071
|
|
@@ -1071,6 +1116,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1071
1116
|
Structure is documented below.
|
1072
1117
|
:param pulumi.Input[builtins.str] on_prem_version: The Anthos clusters on the VMware version for the admin cluster.
|
1073
1118
|
:param pulumi.Input[Union['VmwareAdminClusterPlatformConfigArgs', 'VmwareAdminClusterPlatformConfigArgsDict']] platform_config: The VMware platform configuration.
|
1119
|
+
:param pulumi.Input[Union['VmwareAdminClusterPrivateRegistryConfigArgs', 'VmwareAdminClusterPrivateRegistryConfigArgsDict']] private_registry_config: Configuration for private registry.
|
1074
1120
|
:param pulumi.Input[Union['VmwareAdminClusterVcenterArgs', 'VmwareAdminClusterVcenterArgsDict']] vcenter: Specifies vCenter config for the admin cluster.
|
1075
1121
|
"""
|
1076
1122
|
...
|
@@ -1126,6 +1172,10 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1126
1172
|
"partition": "test-parition",
|
1127
1173
|
"snat_pool": "test-snat-pool",
|
1128
1174
|
},
|
1175
|
+
},
|
1176
|
+
private_registry_config={
|
1177
|
+
"address": "test-address",
|
1178
|
+
"ca_cert": "test-ca-cert",
|
1129
1179
|
})
|
1130
1180
|
```
|
1131
1181
|
### Gkeonprem Vmware Admin Cluster Full
|
@@ -1219,6 +1269,10 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1219
1269
|
},
|
1220
1270
|
platform_config={
|
1221
1271
|
"required_platform_version": "1.31.0",
|
1272
|
+
},
|
1273
|
+
private_registry_config={
|
1274
|
+
"address": "test-address",
|
1275
|
+
"ca_cert": "test-ca-cert",
|
1222
1276
|
})
|
1223
1277
|
```
|
1224
1278
|
### Gkeonprem Vmware Admin Cluster Metallb
|
@@ -1263,6 +1317,10 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1263
1317
|
"metal_lb_config": {
|
1264
1318
|
"enabled": True,
|
1265
1319
|
},
|
1320
|
+
},
|
1321
|
+
private_registry_config={
|
1322
|
+
"address": "test-address",
|
1323
|
+
"ca_cert": "test-ca-cert",
|
1266
1324
|
})
|
1267
1325
|
```
|
1268
1326
|
|
@@ -1320,6 +1378,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1320
1378
|
network_config: Optional[pulumi.Input[Union['VmwareAdminClusterNetworkConfigArgs', 'VmwareAdminClusterNetworkConfigArgsDict']]] = None,
|
1321
1379
|
on_prem_version: Optional[pulumi.Input[builtins.str]] = None,
|
1322
1380
|
platform_config: Optional[pulumi.Input[Union['VmwareAdminClusterPlatformConfigArgs', 'VmwareAdminClusterPlatformConfigArgsDict']]] = None,
|
1381
|
+
private_registry_config: Optional[pulumi.Input[Union['VmwareAdminClusterPrivateRegistryConfigArgs', 'VmwareAdminClusterPrivateRegistryConfigArgsDict']]] = None,
|
1323
1382
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1324
1383
|
vcenter: Optional[pulumi.Input[Union['VmwareAdminClusterVcenterArgs', 'VmwareAdminClusterVcenterArgsDict']]] = None,
|
1325
1384
|
__props__=None):
|
@@ -1350,6 +1409,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1350
1409
|
__props__.__dict__["network_config"] = network_config
|
1351
1410
|
__props__.__dict__["on_prem_version"] = on_prem_version
|
1352
1411
|
__props__.__dict__["platform_config"] = platform_config
|
1412
|
+
__props__.__dict__["private_registry_config"] = private_registry_config
|
1353
1413
|
__props__.__dict__["project"] = project
|
1354
1414
|
__props__.__dict__["vcenter"] = vcenter
|
1355
1415
|
__props__.__dict__["create_time"] = None
|
@@ -1396,6 +1456,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1396
1456
|
network_config: Optional[pulumi.Input[Union['VmwareAdminClusterNetworkConfigArgs', 'VmwareAdminClusterNetworkConfigArgsDict']]] = None,
|
1397
1457
|
on_prem_version: Optional[pulumi.Input[builtins.str]] = None,
|
1398
1458
|
platform_config: Optional[pulumi.Input[Union['VmwareAdminClusterPlatformConfigArgs', 'VmwareAdminClusterPlatformConfigArgsDict']]] = None,
|
1459
|
+
private_registry_config: Optional[pulumi.Input[Union['VmwareAdminClusterPrivateRegistryConfigArgs', 'VmwareAdminClusterPrivateRegistryConfigArgsDict']]] = None,
|
1399
1460
|
project: Optional[pulumi.Input[builtins.str]] = None,
|
1400
1461
|
reconciling: Optional[pulumi.Input[builtins.bool]] = None,
|
1401
1462
|
state: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -1451,6 +1512,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1451
1512
|
Structure is documented below.
|
1452
1513
|
:param pulumi.Input[builtins.str] on_prem_version: The Anthos clusters on the VMware version for the admin cluster.
|
1453
1514
|
:param pulumi.Input[Union['VmwareAdminClusterPlatformConfigArgs', 'VmwareAdminClusterPlatformConfigArgsDict']] platform_config: The VMware platform configuration.
|
1515
|
+
:param pulumi.Input[Union['VmwareAdminClusterPrivateRegistryConfigArgs', 'VmwareAdminClusterPrivateRegistryConfigArgsDict']] private_registry_config: Configuration for private registry.
|
1454
1516
|
:param pulumi.Input[builtins.bool] reconciling: If set, there are currently changes in flight to the VMware admin cluster.
|
1455
1517
|
:param pulumi.Input[builtins.str] state: (Output)
|
1456
1518
|
The lifecycle state of the condition.
|
@@ -1486,6 +1548,7 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1486
1548
|
__props__.__dict__["network_config"] = network_config
|
1487
1549
|
__props__.__dict__["on_prem_version"] = on_prem_version
|
1488
1550
|
__props__.__dict__["platform_config"] = platform_config
|
1551
|
+
__props__.__dict__["private_registry_config"] = private_registry_config
|
1489
1552
|
__props__.__dict__["project"] = project
|
1490
1553
|
__props__.__dict__["reconciling"] = reconciling
|
1491
1554
|
__props__.__dict__["state"] = state
|
@@ -1688,6 +1751,14 @@ class VmwareAdminCluster(pulumi.CustomResource):
|
|
1688
1751
|
"""
|
1689
1752
|
return pulumi.get(self, "platform_config")
|
1690
1753
|
|
1754
|
+
@property
|
1755
|
+
@pulumi.getter(name="privateRegistryConfig")
|
1756
|
+
def private_registry_config(self) -> pulumi.Output[Optional['outputs.VmwareAdminClusterPrivateRegistryConfig']]:
|
1757
|
+
"""
|
1758
|
+
Configuration for private registry.
|
1759
|
+
"""
|
1760
|
+
return pulumi.get(self, "private_registry_config")
|
1761
|
+
|
1691
1762
|
@property
|
1692
1763
|
@pulumi.getter
|
1693
1764
|
def project(self) -> pulumi.Output[builtins.str]:
|
@@ -339,7 +339,7 @@ class WorkloadIdentityPoolNamespace(pulumi.CustomResource):
|
|
339
339
|
mode="TRUST_DOMAIN")
|
340
340
|
example = gcp.iam.WorkloadIdentityPoolNamespace("example",
|
341
341
|
workload_identity_pool_id=pool.workload_identity_pool_id,
|
342
|
-
workload_identity_pool_namespace_id="example-
|
342
|
+
workload_identity_pool_namespace_id="example-namespace")
|
343
343
|
```
|
344
344
|
### Iam Workload Identity Pool Namespace Full
|
345
345
|
|
@@ -352,7 +352,7 @@ class WorkloadIdentityPoolNamespace(pulumi.CustomResource):
|
|
352
352
|
mode="TRUST_DOMAIN")
|
353
353
|
example = gcp.iam.WorkloadIdentityPoolNamespace("example",
|
354
354
|
workload_identity_pool_id=pool.workload_identity_pool_id,
|
355
|
-
workload_identity_pool_namespace_id="example-
|
355
|
+
workload_identity_pool_namespace_id="example-namespace",
|
356
356
|
description="Example Namespace in a Workload Identity Pool",
|
357
357
|
disabled=True)
|
358
358
|
```
|
@@ -423,7 +423,7 @@ class WorkloadIdentityPoolNamespace(pulumi.CustomResource):
|
|
423
423
|
mode="TRUST_DOMAIN")
|
424
424
|
example = gcp.iam.WorkloadIdentityPoolNamespace("example",
|
425
425
|
workload_identity_pool_id=pool.workload_identity_pool_id,
|
426
|
-
workload_identity_pool_namespace_id="example-
|
426
|
+
workload_identity_pool_namespace_id="example-namespace")
|
427
427
|
```
|
428
428
|
### Iam Workload Identity Pool Namespace Full
|
429
429
|
|
@@ -436,7 +436,7 @@ class WorkloadIdentityPoolNamespace(pulumi.CustomResource):
|
|
436
436
|
mode="TRUST_DOMAIN")
|
437
437
|
example = gcp.iam.WorkloadIdentityPoolNamespace("example",
|
438
438
|
workload_identity_pool_id=pool.workload_identity_pool_id,
|
439
|
-
workload_identity_pool_namespace_id="example-
|
439
|
+
workload_identity_pool_namespace_id="example-namespace",
|
440
440
|
description="Example Namespace in a Workload Identity Pool",
|
441
441
|
disabled=True)
|
442
442
|
```
|
@@ -255,7 +255,7 @@ class TunnelDestGroup(pulumi.CustomResource):
|
|
255
255
|
|
256
256
|
dest_group = gcp.iap.TunnelDestGroup("dest_group",
|
257
257
|
region="us-central1",
|
258
|
-
group_name="
|
258
|
+
group_name="testgroup_33395",
|
259
259
|
cidrs=[
|
260
260
|
"10.1.0.0/16",
|
261
261
|
"192.168.10.0/24",
|
@@ -341,7 +341,7 @@ class TunnelDestGroup(pulumi.CustomResource):
|
|
341
341
|
|
342
342
|
dest_group = gcp.iap.TunnelDestGroup("dest_group",
|
343
343
|
region="us-central1",
|
344
|
-
group_name="
|
344
|
+
group_name="testgroup_33395",
|
345
345
|
cidrs=[
|
346
346
|
"10.1.0.0/16",
|
347
347
|
"192.168.10.0/24",
|
@@ -380,8 +380,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
380
380
|
import pulumi_gcp as gcp
|
381
381
|
|
382
382
|
target_project = gcp.organizations.Project("target_project",
|
383
|
-
project_id="tf-
|
384
|
-
name="tf-
|
383
|
+
project_id="tf-test_76044",
|
384
|
+
name="tf-test_69391",
|
385
385
|
org_id="123456789",
|
386
386
|
billing_account="000000-0000000-0000000-000000",
|
387
387
|
deletion_policy="DELETE")
|
@@ -402,8 +402,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
402
402
|
auto_create_subnetworks=False,
|
403
403
|
opts = pulumi.ResourceOptions(depends_on=[compute]))
|
404
404
|
zone = gcp.dns.ManagedZone("zone",
|
405
|
-
name="tf-test-
|
406
|
-
dns_name="
|
405
|
+
name="tf-test-dns_8270",
|
406
|
+
dns_name="private_41150.example.com.",
|
407
407
|
visibility="private",
|
408
408
|
private_visibility_config={
|
409
409
|
"networks": [{
|
@@ -491,8 +491,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
491
491
|
import pulumi_gcp as gcp
|
492
492
|
|
493
493
|
target_project = gcp.organizations.Project("target_project",
|
494
|
-
project_id="tf-
|
495
|
-
name="tf-
|
494
|
+
project_id="tf-test_76044",
|
495
|
+
name="tf-test_69391",
|
496
496
|
org_id="123456789",
|
497
497
|
billing_account="000000-0000000-0000000-000000",
|
498
498
|
deletion_policy="DELETE")
|
@@ -513,8 +513,8 @@ class ManagedZone(pulumi.CustomResource):
|
|
513
513
|
auto_create_subnetworks=False,
|
514
514
|
opts = pulumi.ResourceOptions(depends_on=[compute]))
|
515
515
|
zone = gcp.dns.ManagedZone("zone",
|
516
|
-
name="tf-test-
|
517
|
-
dns_name="
|
516
|
+
name="tf-test-dns_8270",
|
517
|
+
dns_name="private_41150.example.com.",
|
518
518
|
visibility="private",
|
519
519
|
private_visibility_config={
|
520
520
|
"networks": [{
|
@@ -389,8 +389,8 @@ class ConnectCluster(pulumi.CustomResource):
|
|
389
389
|
import pulumi_time as time
|
390
390
|
|
391
391
|
project = gcp.organizations.Project("project",
|
392
|
-
project_id="tf-
|
393
|
-
name="tf-
|
392
|
+
project_id="tf-test_89313",
|
393
|
+
name="tf-test_60646",
|
394
394
|
org_id="123456789",
|
395
395
|
billing_account="000000-0000000-0000000-000000",
|
396
396
|
deletion_policy="DELETE")
|
@@ -516,8 +516,8 @@ class ConnectCluster(pulumi.CustomResource):
|
|
516
516
|
import pulumi_time as time
|
517
517
|
|
518
518
|
project = gcp.organizations.Project("project",
|
519
|
-
project_id="tf-
|
520
|
-
name="tf-
|
519
|
+
project_id="tf-test_89313",
|
520
|
+
name="tf-test_60646",
|
521
521
|
org_id="123456789",
|
522
522
|
billing_account="000000-0000000-0000000-000000",
|
523
523
|
deletion_policy="DELETE")
|
@@ -300,8 +300,8 @@ class Connector(pulumi.CustomResource):
|
|
300
300
|
import pulumi_time as time
|
301
301
|
|
302
302
|
project = gcp.organizations.Project("project",
|
303
|
-
project_id="tf-
|
304
|
-
name="tf-
|
303
|
+
project_id="tf-test_9394",
|
304
|
+
name="tf-test_11380",
|
305
305
|
org_id="123456789",
|
306
306
|
billing_account="000000-0000000-0000000-000000",
|
307
307
|
deletion_policy="DELETE")
|
@@ -459,8 +459,8 @@ class Connector(pulumi.CustomResource):
|
|
459
459
|
import pulumi_time as time
|
460
460
|
|
461
461
|
project = gcp.organizations.Project("project",
|
462
|
-
project_id="tf-
|
463
|
-
name="tf-
|
462
|
+
project_id="tf-test_9394",
|
463
|
+
name="tf-test_11380",
|
464
464
|
org_id="123456789",
|
465
465
|
billing_account="000000-0000000-0000000-000000",
|
466
466
|
deletion_policy="DELETE")
|
@@ -689,15 +689,15 @@ class Spoke(pulumi.CustomResource):
|
|
689
689
|
import pulumi_gcp as gcp
|
690
690
|
|
691
691
|
network = gcp.compute.Network("network",
|
692
|
-
name="tf-test-
|
692
|
+
name="tf-test-network_35305",
|
693
693
|
auto_create_subnetworks=False)
|
694
694
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
695
|
-
name="tf-test-
|
695
|
+
name="tf-test-subnet_62793",
|
696
696
|
ip_cidr_range="10.0.0.0/28",
|
697
697
|
region="us-central1",
|
698
698
|
network=network.self_link)
|
699
699
|
instance = gcp.compute.Instance("instance",
|
700
|
-
name="tf-test-
|
700
|
+
name="tf-test-instance_55438",
|
701
701
|
machine_type="e2-medium",
|
702
702
|
can_ip_forward=True,
|
703
703
|
zone="us-central1-a",
|
@@ -714,13 +714,13 @@ class Spoke(pulumi.CustomResource):
|
|
714
714
|
}],
|
715
715
|
}])
|
716
716
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
717
|
-
name="tf-test-
|
717
|
+
name="tf-test-hub_32706",
|
718
718
|
description="A sample hub",
|
719
719
|
labels={
|
720
720
|
"label-two": "value-one",
|
721
721
|
})
|
722
722
|
primary = gcp.networkconnectivity.Spoke("primary",
|
723
|
-
name="tf-test-
|
723
|
+
name="tf-test-name_49082",
|
724
724
|
location="us-central1",
|
725
725
|
description="A sample spoke with a linked routher appliance instance",
|
726
726
|
labels={
|
@@ -952,8 +952,8 @@ class Spoke(pulumi.CustomResource):
|
|
952
952
|
hub=star_hub.id,
|
953
953
|
auto_accept={
|
954
954
|
"auto_accept_projects": [
|
955
|
-
"
|
956
|
-
"
|
955
|
+
"foo_60365",
|
956
|
+
"bar_80215",
|
957
957
|
],
|
958
958
|
})
|
959
959
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -1150,15 +1150,15 @@ class Spoke(pulumi.CustomResource):
|
|
1150
1150
|
import pulumi_gcp as gcp
|
1151
1151
|
|
1152
1152
|
network = gcp.compute.Network("network",
|
1153
|
-
name="tf-test-
|
1153
|
+
name="tf-test-network_35305",
|
1154
1154
|
auto_create_subnetworks=False)
|
1155
1155
|
subnetwork = gcp.compute.Subnetwork("subnetwork",
|
1156
|
-
name="tf-test-
|
1156
|
+
name="tf-test-subnet_62793",
|
1157
1157
|
ip_cidr_range="10.0.0.0/28",
|
1158
1158
|
region="us-central1",
|
1159
1159
|
network=network.self_link)
|
1160
1160
|
instance = gcp.compute.Instance("instance",
|
1161
|
-
name="tf-test-
|
1161
|
+
name="tf-test-instance_55438",
|
1162
1162
|
machine_type="e2-medium",
|
1163
1163
|
can_ip_forward=True,
|
1164
1164
|
zone="us-central1-a",
|
@@ -1175,13 +1175,13 @@ class Spoke(pulumi.CustomResource):
|
|
1175
1175
|
}],
|
1176
1176
|
}])
|
1177
1177
|
basic_hub = gcp.networkconnectivity.Hub("basic_hub",
|
1178
|
-
name="tf-test-
|
1178
|
+
name="tf-test-hub_32706",
|
1179
1179
|
description="A sample hub",
|
1180
1180
|
labels={
|
1181
1181
|
"label-two": "value-one",
|
1182
1182
|
})
|
1183
1183
|
primary = gcp.networkconnectivity.Spoke("primary",
|
1184
|
-
name="tf-test-
|
1184
|
+
name="tf-test-name_49082",
|
1185
1185
|
location="us-central1",
|
1186
1186
|
description="A sample spoke with a linked routher appliance instance",
|
1187
1187
|
labels={
|
@@ -1413,8 +1413,8 @@ class Spoke(pulumi.CustomResource):
|
|
1413
1413
|
hub=star_hub.id,
|
1414
1414
|
auto_accept={
|
1415
1415
|
"auto_accept_projects": [
|
1416
|
-
"
|
1417
|
-
"
|
1416
|
+
"foo_60365",
|
1417
|
+
"bar_80215",
|
1418
1418
|
],
|
1419
1419
|
})
|
1420
1420
|
primary = gcp.networkconnectivity.Spoke("primary",
|
@@ -479,6 +479,38 @@ class BackendAuthenticationConfig(pulumi.CustomResource):
|
|
479
479
|
client_certificate=certificate.id,
|
480
480
|
trust_config=trust_config.id)
|
481
481
|
```
|
482
|
+
### Backend Service Tls Settings
|
483
|
+
|
484
|
+
```python
|
485
|
+
import pulumi
|
486
|
+
import pulumi_gcp as gcp
|
487
|
+
|
488
|
+
default_health_check = gcp.compute.HealthCheck("default",
|
489
|
+
name="health-check",
|
490
|
+
http_health_check={
|
491
|
+
"port": 80,
|
492
|
+
})
|
493
|
+
default_backend_authentication_config = gcp.networksecurity.BackendAuthenticationConfig("default",
|
494
|
+
name="authentication",
|
495
|
+
well_known_roots="PUBLIC_ROOTS")
|
496
|
+
default = gcp.compute.BackendService("default",
|
497
|
+
name="backend-service",
|
498
|
+
health_checks=default_health_check.id,
|
499
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
500
|
+
protocol="HTTPS",
|
501
|
+
tls_settings={
|
502
|
+
"sni": "example.com",
|
503
|
+
"subject_alt_names": [
|
504
|
+
{
|
505
|
+
"dns_name": "example.com",
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"uniform_resource_identifier": "https://example.com",
|
509
|
+
},
|
510
|
+
],
|
511
|
+
"authentication_config": default_backend_authentication_config.id.apply(lambda id: f"//networksecurity.googleapis.com/{id}"),
|
512
|
+
})
|
513
|
+
```
|
482
514
|
|
483
515
|
## Import
|
484
516
|
|
@@ -594,6 +626,38 @@ class BackendAuthenticationConfig(pulumi.CustomResource):
|
|
594
626
|
client_certificate=certificate.id,
|
595
627
|
trust_config=trust_config.id)
|
596
628
|
```
|
629
|
+
### Backend Service Tls Settings
|
630
|
+
|
631
|
+
```python
|
632
|
+
import pulumi
|
633
|
+
import pulumi_gcp as gcp
|
634
|
+
|
635
|
+
default_health_check = gcp.compute.HealthCheck("default",
|
636
|
+
name="health-check",
|
637
|
+
http_health_check={
|
638
|
+
"port": 80,
|
639
|
+
})
|
640
|
+
default_backend_authentication_config = gcp.networksecurity.BackendAuthenticationConfig("default",
|
641
|
+
name="authentication",
|
642
|
+
well_known_roots="PUBLIC_ROOTS")
|
643
|
+
default = gcp.compute.BackendService("default",
|
644
|
+
name="backend-service",
|
645
|
+
health_checks=default_health_check.id,
|
646
|
+
load_balancing_scheme="EXTERNAL_MANAGED",
|
647
|
+
protocol="HTTPS",
|
648
|
+
tls_settings={
|
649
|
+
"sni": "example.com",
|
650
|
+
"subject_alt_names": [
|
651
|
+
{
|
652
|
+
"dns_name": "example.com",
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"uniform_resource_identifier": "https://example.com",
|
656
|
+
},
|
657
|
+
],
|
658
|
+
"authentication_config": default_backend_authentication_config.id.apply(lambda id: f"//networksecurity.googleapis.com/{id}"),
|
659
|
+
})
|
660
|
+
```
|
597
661
|
|
598
662
|
## Import
|
599
663
|
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -315,7 +315,7 @@ class Policy(pulumi.CustomResource):
|
|
315
315
|
import pulumi_gcp as gcp
|
316
316
|
|
317
317
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
318
|
-
name="custom.
|
318
|
+
name="custom.disableGkeAutoUpgrade_32081",
|
319
319
|
parent="organizations/123456789",
|
320
320
|
display_name="Disable GKE auto upgrade",
|
321
321
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
@@ -504,7 +504,7 @@ class Policy(pulumi.CustomResource):
|
|
504
504
|
import pulumi_gcp as gcp
|
505
505
|
|
506
506
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
507
|
-
name="custom.
|
507
|
+
name="custom.disableGkeAutoUpgrade_32081",
|
508
508
|
parent="organizations/123456789",
|
509
509
|
display_name="Disable GKE auto upgrade",
|
510
510
|
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|