pulumi-gcp 7.24.0a1716588893__py3-none-any.whl → 7.25.0__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 +88 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -64
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -70
- pulumi_gcp/alloydb/backup.py +50 -42
- pulumi_gcp/alloydb/cluster.py +56 -48
- pulumi_gcp/alloydb/instance.py +50 -42
- pulumi_gcp/alloydb/user.py +32 -24
- pulumi_gcp/apigateway/api_config.py +0 -114
- pulumi_gcp/apigateway/gateway.py +0 -44
- pulumi_gcp/apigee/addons_config.py +14 -4
- pulumi_gcp/apigee/endpoint_attachment.py +4 -2
- pulumi_gcp/apigee/env_group.py +4 -2
- pulumi_gcp/apigee/environment.py +4 -2
- pulumi_gcp/apigee/instance.py +22 -8
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +26 -10
- pulumi_gcp/apigee/nat_address.py +10 -2
- pulumi_gcp/apigee/organization.py +18 -6
- pulumi_gcp/apigee/sync_authorization.py +8 -4
- pulumi_gcp/apigee/target_server.py +26 -10
- pulumi_gcp/appengine/_inputs.py +18 -0
- pulumi_gcp/appengine/domain_mapping.py +1 -1
- pulumi_gcp/appengine/outputs.py +16 -0
- pulumi_gcp/apphub/service.py +40 -20
- pulumi_gcp/apphub/service_project_attachment.py +16 -8
- pulumi_gcp/apphub/workload.py +0 -418
- pulumi_gcp/applicationintegration/auth_config.py +4 -2
- pulumi_gcp/artifactregistry/repository.py +14 -12
- pulumi_gcp/backupdisasterrecovery/management_server.py +4 -2
- pulumi_gcp/bigquery/_inputs.py +286 -2
- pulumi_gcp/bigquery/data_transfer_config.py +8 -4
- pulumi_gcp/bigquery/job.py +22 -16
- pulumi_gcp/bigquery/outputs.py +289 -2
- pulumi_gcp/bigquery/table.py +77 -35
- pulumi_gcp/certificateauthority/authority.py +10 -2
- pulumi_gcp/certificateauthority/certificate.py +8 -4
- pulumi_gcp/certificatemanager/certificate.py +84 -80
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +32 -30
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +12 -6
- pulumi_gcp/cloudbuild/trigger.py +22 -14
- pulumi_gcp/cloudbuild/worker_pool.py +12 -6
- pulumi_gcp/cloudbuildv2/connection.py +10 -2
- pulumi_gcp/cloudbuildv2/repository.py +10 -2
- pulumi_gcp/cloudfunctionsv2/function.py +110 -66
- pulumi_gcp/cloudids/endpoint.py +4 -2
- pulumi_gcp/cloudrun/_inputs.py +80 -4
- pulumi_gcp/cloudrun/outputs.py +137 -4
- pulumi_gcp/cloudrunv2/job.py +32 -20
- pulumi_gcp/cloudrunv2/service.py +28 -20
- pulumi_gcp/composer/user_workloads_secret.py +4 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +398 -176
- pulumi_gcp/compute/forwarding_rule.py +225 -817
- pulumi_gcp/compute/get_subnetworks.py +157 -0
- pulumi_gcp/compute/global_forwarding_rule.py +0 -766
- pulumi_gcp/compute/instance_group.py +0 -100
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/interconnect_attachment.py +82 -0
- pulumi_gcp/compute/network_endpoint.py +2 -2
- pulumi_gcp/compute/network_endpoint_list.py +2 -2
- pulumi_gcp/compute/outputs.py +609 -161
- pulumi_gcp/compute/packet_mirroring.py +4 -2
- pulumi_gcp/compute/region_security_policy_rule.py +4 -2
- pulumi_gcp/compute/region_ssl_certificate.py +0 -188
- pulumi_gcp/compute/region_ssl_policy.py +39 -40
- pulumi_gcp/compute/route.py +10 -2
- pulumi_gcp/compute/security_policy_rule.py +55 -1
- pulumi_gcp/compute/ssl_certificate.py +0 -166
- pulumi_gcp/compute/target_instance.py +4 -2
- pulumi_gcp/compute/vpn_gateway.py +12 -2
- pulumi_gcp/compute/vpn_tunnel.py +26 -16
- pulumi_gcp/container/_inputs.py +560 -0
- pulumi_gcp/container/outputs.py +1106 -51
- pulumi_gcp/databasemigrationservice/connection_profile.py +32 -16
- pulumi_gcp/datacatalog/policy_tag.py +4 -2
- pulumi_gcp/datafusion/instance.py +14 -12
- pulumi_gcp/dataplex/__init__.py +10 -0
- pulumi_gcp/dataplex/_inputs.py +160 -0
- pulumi_gcp/dataplex/aspect_type.py +1077 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +765 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +765 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +604 -0
- pulumi_gcp/dataplex/asset.py +4 -2
- pulumi_gcp/dataplex/datascan.py +16 -14
- pulumi_gcp/dataplex/entry_group.py +722 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +765 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +765 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +604 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +164 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +164 -0
- pulumi_gcp/dataplex/outputs.py +112 -0
- pulumi_gcp/datastore/data_store_index.py +4 -2
- pulumi_gcp/datastream/connection_profile.py +47 -0
- pulumi_gcp/datastream/private_connection.py +47 -0
- pulumi_gcp/datastream/stream.py +63 -10
- pulumi_gcp/diagflow/cx_test_case.py +4 -4
- pulumi_gcp/diagflow/entity_type.py +4 -2
- pulumi_gcp/diagflow/fulfillment.py +4 -2
- pulumi_gcp/diagflow/intent.py +8 -4
- pulumi_gcp/dns/get_managed_zone.py +3 -3
- pulumi_gcp/dns/managed_zone.py +7 -7
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/edgecontainer/node_pool.py +4 -2
- pulumi_gcp/edgecontainer/vpn_connection.py +4 -2
- pulumi_gcp/eventarc/channel.py +4 -2
- pulumi_gcp/eventarc/google_channel_config.py +4 -2
- pulumi_gcp/firebase/app_check_app_attest_config.py +16 -8
- pulumi_gcp/firebase/app_check_debug_token.py +8 -4
- pulumi_gcp/firebase/app_check_device_check_config.py +8 -4
- pulumi_gcp/firebase/app_check_play_integrity_config.py +16 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +8 -4
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +8 -4
- pulumi_gcp/firebase/app_check_service_config.py +12 -6
- pulumi_gcp/firebase/database_instance.py +4 -2
- pulumi_gcp/firebaserules/release.py +0 -98
- pulumi_gcp/firestore/database.py +24 -20
- pulumi_gcp/firestore/document.py +24 -12
- pulumi_gcp/folder/access_approval_settings.py +4 -2
- pulumi_gcp/gkehub/membership_binding.py +14 -4
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +8 -4
- pulumi_gcp/gkehub/namespace.py +4 -2
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -2
- pulumi_gcp/integrationconnectors/connection.py +4 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +18 -6
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +366 -0
- pulumi_gcp/kms/key_handle.py +548 -0
- pulumi_gcp/logging/folder_settings.py +12 -10
- pulumi_gcp/logging/linked_dataset.py +4 -2
- pulumi_gcp/logging/organization_settings.py +12 -10
- pulumi_gcp/logging/project_bucket_config.py +4 -2
- pulumi_gcp/looker/instance.py +12 -10
- pulumi_gcp/netapp/volume_replication.py +4 -2
- pulumi_gcp/netapp/volume_snapshot.py +4 -2
- pulumi_gcp/networkconnectivity/internal_range.py +14 -12
- pulumi_gcp/networksecurity/gateway_security_policy.py +16 -4
- pulumi_gcp/networksecurity/tls_inspection_policy.py +22 -4
- pulumi_gcp/networkservices/__init__.py +1 -0
- pulumi_gcp/networkservices/_inputs.py +245 -27
- pulumi_gcp/networkservices/gateway.py +12 -6
- pulumi_gcp/networkservices/lb_route_extension.py +663 -0
- pulumi_gcp/networkservices/lb_traffic_extension.py +28 -540
- pulumi_gcp/networkservices/outputs.py +251 -20
- pulumi_gcp/organizations/access_approval_settings.py +4 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +20 -18
- pulumi_gcp/projects/access_approval_settings.py +4 -2
- pulumi_gcp/pubsub/_inputs.py +16 -0
- pulumi_gcp/pubsub/outputs.py +25 -0
- pulumi_gcp/pubsub/schema.py +4 -2
- pulumi_gcp/pubsub/subscription.py +102 -66
- pulumi_gcp/pubsub/topic.py +4 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +30 -28
- pulumi_gcp/redis/instance.py +4 -2
- pulumi_gcp/secretmanager/secret.py +4 -2
- pulumi_gcp/securesourcemanager/instance.py +20 -8
- pulumi_gcp/securitycenter/instance_iam_binding.py +14 -12
- pulumi_gcp/securitycenter/instance_iam_member.py +14 -12
- pulumi_gcp/securitycenter/instance_iam_policy.py +14 -12
- pulumi_gcp/serviceaccount/key.py +2 -2
- pulumi_gcp/sql/database_instance.py +4 -2
- pulumi_gcp/sql/user.py +4 -4
- pulumi_gcp/storage/get_project_service_account.py +4 -2
- pulumi_gcp/storage/insights_report_config.py +12 -10
- pulumi_gcp/storage/notification.py +18 -16
- pulumi_gcp/storage/transfer_agent_pool.py +4 -2
- pulumi_gcp/storage/transfer_job.py +14 -4
- pulumi_gcp/tpu/_inputs.py +2 -2
- pulumi_gcp/tpu/outputs.py +2 -2
- pulumi_gcp/tpu/v2_vm.py +10 -6
- pulumi_gcp/vertex/ai_endpoint.py +24 -22
- pulumi_gcp/vertex/ai_index_endpoint.py +20 -18
- pulumi_gcp/vertex/ai_tensorboard.py +14 -12
- pulumi_gcp/vmwareengine/external_address.py +4 -2
- pulumi_gcp/vmwareengine/network.py +8 -4
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0.dist-info}/RECORD +179 -165
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -3604,6 +3604,38 @@ _utilities.register(
|
|
3604
3604
|
"gcp:dataloss/preventionStoredInfoType:PreventionStoredInfoType": "PreventionStoredInfoType"
|
3605
3605
|
}
|
3606
3606
|
},
|
3607
|
+
{
|
3608
|
+
"pkg": "gcp",
|
3609
|
+
"mod": "dataplex/aspectType",
|
3610
|
+
"fqn": "pulumi_gcp.dataplex",
|
3611
|
+
"classes": {
|
3612
|
+
"gcp:dataplex/aspectType:AspectType": "AspectType"
|
3613
|
+
}
|
3614
|
+
},
|
3615
|
+
{
|
3616
|
+
"pkg": "gcp",
|
3617
|
+
"mod": "dataplex/aspectTypeIamBinding",
|
3618
|
+
"fqn": "pulumi_gcp.dataplex",
|
3619
|
+
"classes": {
|
3620
|
+
"gcp:dataplex/aspectTypeIamBinding:AspectTypeIamBinding": "AspectTypeIamBinding"
|
3621
|
+
}
|
3622
|
+
},
|
3623
|
+
{
|
3624
|
+
"pkg": "gcp",
|
3625
|
+
"mod": "dataplex/aspectTypeIamMember",
|
3626
|
+
"fqn": "pulumi_gcp.dataplex",
|
3627
|
+
"classes": {
|
3628
|
+
"gcp:dataplex/aspectTypeIamMember:AspectTypeIamMember": "AspectTypeIamMember"
|
3629
|
+
}
|
3630
|
+
},
|
3631
|
+
{
|
3632
|
+
"pkg": "gcp",
|
3633
|
+
"mod": "dataplex/aspectTypeIamPolicy",
|
3634
|
+
"fqn": "pulumi_gcp.dataplex",
|
3635
|
+
"classes": {
|
3636
|
+
"gcp:dataplex/aspectTypeIamPolicy:AspectTypeIamPolicy": "AspectTypeIamPolicy"
|
3637
|
+
}
|
3638
|
+
},
|
3607
3639
|
{
|
3608
3640
|
"pkg": "gcp",
|
3609
3641
|
"mod": "dataplex/asset",
|
@@ -3668,6 +3700,38 @@ _utilities.register(
|
|
3668
3700
|
"gcp:dataplex/datascanIamPolicy:DatascanIamPolicy": "DatascanIamPolicy"
|
3669
3701
|
}
|
3670
3702
|
},
|
3703
|
+
{
|
3704
|
+
"pkg": "gcp",
|
3705
|
+
"mod": "dataplex/entryGroup",
|
3706
|
+
"fqn": "pulumi_gcp.dataplex",
|
3707
|
+
"classes": {
|
3708
|
+
"gcp:dataplex/entryGroup:EntryGroup": "EntryGroup"
|
3709
|
+
}
|
3710
|
+
},
|
3711
|
+
{
|
3712
|
+
"pkg": "gcp",
|
3713
|
+
"mod": "dataplex/entryGroupIamBinding",
|
3714
|
+
"fqn": "pulumi_gcp.dataplex",
|
3715
|
+
"classes": {
|
3716
|
+
"gcp:dataplex/entryGroupIamBinding:EntryGroupIamBinding": "EntryGroupIamBinding"
|
3717
|
+
}
|
3718
|
+
},
|
3719
|
+
{
|
3720
|
+
"pkg": "gcp",
|
3721
|
+
"mod": "dataplex/entryGroupIamMember",
|
3722
|
+
"fqn": "pulumi_gcp.dataplex",
|
3723
|
+
"classes": {
|
3724
|
+
"gcp:dataplex/entryGroupIamMember:EntryGroupIamMember": "EntryGroupIamMember"
|
3725
|
+
}
|
3726
|
+
},
|
3727
|
+
{
|
3728
|
+
"pkg": "gcp",
|
3729
|
+
"mod": "dataplex/entryGroupIamPolicy",
|
3730
|
+
"fqn": "pulumi_gcp.dataplex",
|
3731
|
+
"classes": {
|
3732
|
+
"gcp:dataplex/entryGroupIamPolicy:EntryGroupIamPolicy": "EntryGroupIamPolicy"
|
3733
|
+
}
|
3734
|
+
},
|
3671
3735
|
{
|
3672
3736
|
"pkg": "gcp",
|
3673
3737
|
"mod": "dataplex/lake",
|
@@ -5428,6 +5492,14 @@ _utilities.register(
|
|
5428
5492
|
"gcp:integrationconnectors/managedZone:ManagedZone": "ManagedZone"
|
5429
5493
|
}
|
5430
5494
|
},
|
5495
|
+
{
|
5496
|
+
"pkg": "gcp",
|
5497
|
+
"mod": "kms/autokeyConfig",
|
5498
|
+
"fqn": "pulumi_gcp.kms",
|
5499
|
+
"classes": {
|
5500
|
+
"gcp:kms/autokeyConfig:AutokeyConfig": "AutokeyConfig"
|
5501
|
+
}
|
5502
|
+
},
|
5431
5503
|
{
|
5432
5504
|
"pkg": "gcp",
|
5433
5505
|
"mod": "kms/cryptoKey",
|
@@ -5476,6 +5548,14 @@ _utilities.register(
|
|
5476
5548
|
"gcp:kms/ekmConnection:EkmConnection": "EkmConnection"
|
5477
5549
|
}
|
5478
5550
|
},
|
5551
|
+
{
|
5552
|
+
"pkg": "gcp",
|
5553
|
+
"mod": "kms/keyHandle",
|
5554
|
+
"fqn": "pulumi_gcp.kms",
|
5555
|
+
"classes": {
|
5556
|
+
"gcp:kms/keyHandle:KeyHandle": "KeyHandle"
|
5557
|
+
}
|
5558
|
+
},
|
5479
5559
|
{
|
5480
5560
|
"pkg": "gcp",
|
5481
5561
|
"mod": "kms/keyRing",
|
@@ -6076,6 +6156,14 @@ _utilities.register(
|
|
6076
6156
|
"gcp:networkservices/httpRoute:HttpRoute": "HttpRoute"
|
6077
6157
|
}
|
6078
6158
|
},
|
6159
|
+
{
|
6160
|
+
"pkg": "gcp",
|
6161
|
+
"mod": "networkservices/lbRouteExtension",
|
6162
|
+
"fqn": "pulumi_gcp.networkservices",
|
6163
|
+
"classes": {
|
6164
|
+
"gcp:networkservices/lbRouteExtension:LbRouteExtension": "LbRouteExtension"
|
6165
|
+
}
|
6166
|
+
},
|
6079
6167
|
{
|
6080
6168
|
"pkg": "gcp",
|
6081
6169
|
"mod": "networkservices/lbTrafficExtension",
|
@@ -176,38 +176,6 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
176
176
|
|
177
177
|
## Example Usage
|
178
178
|
|
179
|
-
### Access Context Manager Service Perimeter Egress Policy
|
180
|
-
|
181
|
-
```python
|
182
|
-
import pulumi
|
183
|
-
import pulumi_gcp as gcp
|
184
|
-
|
185
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
186
|
-
parent="organizations/123456789",
|
187
|
-
title="Storage Policy")
|
188
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
189
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
190
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
191
|
-
title="Storage Perimeter",
|
192
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
193
|
-
restricted_services=["storage.googleapis.com"],
|
194
|
-
))
|
195
|
-
egress_policy = gcp.accesscontextmanager.ServicePerimeterEgressPolicy("egress_policy",
|
196
|
-
perimeter=storage_perimeter.name,
|
197
|
-
egress_from=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressFromArgs(
|
198
|
-
identity_type="ANY_IDENTITY",
|
199
|
-
),
|
200
|
-
egress_to=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToArgs(
|
201
|
-
resources=["*"],
|
202
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationArgs(
|
203
|
-
service_name="bigquery.googleapis.com",
|
204
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs(
|
205
|
-
method="*",
|
206
|
-
)],
|
207
|
-
)],
|
208
|
-
))
|
209
|
-
```
|
210
|
-
|
211
179
|
## Import
|
212
180
|
|
213
181
|
ServicePerimeterEgressPolicy can be imported using any of these accepted formats:
|
@@ -257,38 +225,6 @@ class ServicePerimeterEgressPolicy(pulumi.CustomResource):
|
|
257
225
|
|
258
226
|
## Example Usage
|
259
227
|
|
260
|
-
### Access Context Manager Service Perimeter Egress Policy
|
261
|
-
|
262
|
-
```python
|
263
|
-
import pulumi
|
264
|
-
import pulumi_gcp as gcp
|
265
|
-
|
266
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
267
|
-
parent="organizations/123456789",
|
268
|
-
title="Storage Policy")
|
269
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
270
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
271
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
272
|
-
title="Storage Perimeter",
|
273
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
274
|
-
restricted_services=["storage.googleapis.com"],
|
275
|
-
))
|
276
|
-
egress_policy = gcp.accesscontextmanager.ServicePerimeterEgressPolicy("egress_policy",
|
277
|
-
perimeter=storage_perimeter.name,
|
278
|
-
egress_from=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressFromArgs(
|
279
|
-
identity_type="ANY_IDENTITY",
|
280
|
-
),
|
281
|
-
egress_to=gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToArgs(
|
282
|
-
resources=["*"],
|
283
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationArgs(
|
284
|
-
service_name="bigquery.googleapis.com",
|
285
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs(
|
286
|
-
method="*",
|
287
|
-
)],
|
288
|
-
)],
|
289
|
-
))
|
290
|
-
```
|
291
|
-
|
292
228
|
## Import
|
293
229
|
|
294
230
|
ServicePerimeterEgressPolicy can be imported using any of these accepted formats:
|
@@ -181,41 +181,6 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
181
181
|
|
182
182
|
## Example Usage
|
183
183
|
|
184
|
-
### Access Context Manager Service Perimeter Ingress Policy
|
185
|
-
|
186
|
-
```python
|
187
|
-
import pulumi
|
188
|
-
import pulumi_gcp as gcp
|
189
|
-
|
190
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
191
|
-
parent="organizations/123456789",
|
192
|
-
title="Storage Policy")
|
193
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
194
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
195
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
196
|
-
title="Storage Perimeter",
|
197
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
198
|
-
restricted_services=["storage.googleapis.com"],
|
199
|
-
))
|
200
|
-
ingress_policy = gcp.accesscontextmanager.ServicePerimeterIngressPolicy("ingress_policy",
|
201
|
-
perimeter=storage_perimeter.name,
|
202
|
-
ingress_from=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromArgs(
|
203
|
-
identity_type="any_identity",
|
204
|
-
sources=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromSourceArgs(
|
205
|
-
access_level="*",
|
206
|
-
)],
|
207
|
-
),
|
208
|
-
ingress_to=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToArgs(
|
209
|
-
resources=["*"],
|
210
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationArgs(
|
211
|
-
service_name="bigquery.googleapis.com",
|
212
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs(
|
213
|
-
method="*",
|
214
|
-
)],
|
215
|
-
)],
|
216
|
-
))
|
217
|
-
```
|
218
|
-
|
219
184
|
## Import
|
220
185
|
|
221
186
|
ServicePerimeterIngressPolicy can be imported using any of these accepted formats:
|
@@ -267,41 +232,6 @@ class ServicePerimeterIngressPolicy(pulumi.CustomResource):
|
|
267
232
|
|
268
233
|
## Example Usage
|
269
234
|
|
270
|
-
### Access Context Manager Service Perimeter Ingress Policy
|
271
|
-
|
272
|
-
```python
|
273
|
-
import pulumi
|
274
|
-
import pulumi_gcp as gcp
|
275
|
-
|
276
|
-
access_policy = gcp.accesscontextmanager.AccessPolicy("access-policy",
|
277
|
-
parent="organizations/123456789",
|
278
|
-
title="Storage Policy")
|
279
|
-
storage_perimeter = gcp.accesscontextmanager.ServicePerimeter("storage-perimeter",
|
280
|
-
parent=access_policy.name.apply(lambda name: f"accesspolicies/{name}"),
|
281
|
-
name=access_policy.name.apply(lambda name: f"accesspolicies/{name}/serviceperimeters/storage-perimeter"),
|
282
|
-
title="Storage Perimeter",
|
283
|
-
status=gcp.accesscontextmanager.ServicePerimeterStatusArgs(
|
284
|
-
restricted_services=["storage.googleapis.com"],
|
285
|
-
))
|
286
|
-
ingress_policy = gcp.accesscontextmanager.ServicePerimeterIngressPolicy("ingress_policy",
|
287
|
-
perimeter=storage_perimeter.name,
|
288
|
-
ingress_from=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromArgs(
|
289
|
-
identity_type="any_identity",
|
290
|
-
sources=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressFromSourceArgs(
|
291
|
-
access_level="*",
|
292
|
-
)],
|
293
|
-
),
|
294
|
-
ingress_to=gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToArgs(
|
295
|
-
resources=["*"],
|
296
|
-
operations=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationArgs(
|
297
|
-
service_name="bigquery.googleapis.com",
|
298
|
-
method_selectors=[gcp.accesscontextmanager.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs(
|
299
|
-
method="*",
|
300
|
-
)],
|
301
|
-
)],
|
302
|
-
))
|
303
|
-
```
|
304
|
-
|
305
235
|
## Import
|
306
236
|
|
307
237
|
ServicePerimeterIngressPolicy can be imported using any of these accepted formats:
|
pulumi_gcp/alloydb/backup.py
CHANGED
@@ -706,14 +706,6 @@ class Backup(pulumi.CustomResource):
|
|
706
706
|
cluster_id="alloydb-cluster",
|
707
707
|
location="us-central1",
|
708
708
|
network=default_network.id)
|
709
|
-
default = gcp.alloydb.Backup("default",
|
710
|
-
location="us-central1",
|
711
|
-
backup_id="alloydb-backup",
|
712
|
-
cluster_name=default_cluster.name)
|
713
|
-
default_instance = gcp.alloydb.Instance("default",
|
714
|
-
cluster=default_cluster.name,
|
715
|
-
instance_id="alloydb-instance",
|
716
|
-
instance_type="PRIMARY")
|
717
709
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
718
710
|
name="alloydb-cluster",
|
719
711
|
address_type="INTERNAL",
|
@@ -724,6 +716,16 @@ class Backup(pulumi.CustomResource):
|
|
724
716
|
network=default_network.id,
|
725
717
|
service="servicenetworking.googleapis.com",
|
726
718
|
reserved_peering_ranges=[private_ip_alloc.name])
|
719
|
+
default_instance = gcp.alloydb.Instance("default",
|
720
|
+
cluster=default_cluster.name,
|
721
|
+
instance_id="alloydb-instance",
|
722
|
+
instance_type="PRIMARY",
|
723
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
724
|
+
default = gcp.alloydb.Backup("default",
|
725
|
+
location="us-central1",
|
726
|
+
backup_id="alloydb-backup",
|
727
|
+
cluster_name=default_cluster.name,
|
728
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
727
729
|
```
|
728
730
|
### Alloydb Backup Full
|
729
731
|
|
@@ -736,19 +738,6 @@ class Backup(pulumi.CustomResource):
|
|
736
738
|
cluster_id="alloydb-cluster",
|
737
739
|
location="us-central1",
|
738
740
|
network=default_network.id)
|
739
|
-
default = gcp.alloydb.Backup("default",
|
740
|
-
location="us-central1",
|
741
|
-
backup_id="alloydb-backup",
|
742
|
-
cluster_name=default_cluster.name,
|
743
|
-
description="example description",
|
744
|
-
type="ON_DEMAND",
|
745
|
-
labels={
|
746
|
-
"label": "key",
|
747
|
-
})
|
748
|
-
default_instance = gcp.alloydb.Instance("default",
|
749
|
-
cluster=default_cluster.name,
|
750
|
-
instance_id="alloydb-instance",
|
751
|
-
instance_type="PRIMARY")
|
752
741
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
753
742
|
name="alloydb-cluster",
|
754
743
|
address_type="INTERNAL",
|
@@ -759,6 +748,21 @@ class Backup(pulumi.CustomResource):
|
|
759
748
|
network=default_network.id,
|
760
749
|
service="servicenetworking.googleapis.com",
|
761
750
|
reserved_peering_ranges=[private_ip_alloc.name])
|
751
|
+
default_instance = gcp.alloydb.Instance("default",
|
752
|
+
cluster=default_cluster.name,
|
753
|
+
instance_id="alloydb-instance",
|
754
|
+
instance_type="PRIMARY",
|
755
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
756
|
+
default = gcp.alloydb.Backup("default",
|
757
|
+
location="us-central1",
|
758
|
+
backup_id="alloydb-backup",
|
759
|
+
cluster_name=default_cluster.name,
|
760
|
+
description="example description",
|
761
|
+
type="ON_DEMAND",
|
762
|
+
labels={
|
763
|
+
"label": "key",
|
764
|
+
},
|
765
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
762
766
|
```
|
763
767
|
|
764
768
|
## Import
|
@@ -839,14 +843,6 @@ class Backup(pulumi.CustomResource):
|
|
839
843
|
cluster_id="alloydb-cluster",
|
840
844
|
location="us-central1",
|
841
845
|
network=default_network.id)
|
842
|
-
default = gcp.alloydb.Backup("default",
|
843
|
-
location="us-central1",
|
844
|
-
backup_id="alloydb-backup",
|
845
|
-
cluster_name=default_cluster.name)
|
846
|
-
default_instance = gcp.alloydb.Instance("default",
|
847
|
-
cluster=default_cluster.name,
|
848
|
-
instance_id="alloydb-instance",
|
849
|
-
instance_type="PRIMARY")
|
850
846
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
851
847
|
name="alloydb-cluster",
|
852
848
|
address_type="INTERNAL",
|
@@ -857,6 +853,16 @@ class Backup(pulumi.CustomResource):
|
|
857
853
|
network=default_network.id,
|
858
854
|
service="servicenetworking.googleapis.com",
|
859
855
|
reserved_peering_ranges=[private_ip_alloc.name])
|
856
|
+
default_instance = gcp.alloydb.Instance("default",
|
857
|
+
cluster=default_cluster.name,
|
858
|
+
instance_id="alloydb-instance",
|
859
|
+
instance_type="PRIMARY",
|
860
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
861
|
+
default = gcp.alloydb.Backup("default",
|
862
|
+
location="us-central1",
|
863
|
+
backup_id="alloydb-backup",
|
864
|
+
cluster_name=default_cluster.name,
|
865
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
860
866
|
```
|
861
867
|
### Alloydb Backup Full
|
862
868
|
|
@@ -869,19 +875,6 @@ class Backup(pulumi.CustomResource):
|
|
869
875
|
cluster_id="alloydb-cluster",
|
870
876
|
location="us-central1",
|
871
877
|
network=default_network.id)
|
872
|
-
default = gcp.alloydb.Backup("default",
|
873
|
-
location="us-central1",
|
874
|
-
backup_id="alloydb-backup",
|
875
|
-
cluster_name=default_cluster.name,
|
876
|
-
description="example description",
|
877
|
-
type="ON_DEMAND",
|
878
|
-
labels={
|
879
|
-
"label": "key",
|
880
|
-
})
|
881
|
-
default_instance = gcp.alloydb.Instance("default",
|
882
|
-
cluster=default_cluster.name,
|
883
|
-
instance_id="alloydb-instance",
|
884
|
-
instance_type="PRIMARY")
|
885
878
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
886
879
|
name="alloydb-cluster",
|
887
880
|
address_type="INTERNAL",
|
@@ -892,6 +885,21 @@ class Backup(pulumi.CustomResource):
|
|
892
885
|
network=default_network.id,
|
893
886
|
service="servicenetworking.googleapis.com",
|
894
887
|
reserved_peering_ranges=[private_ip_alloc.name])
|
888
|
+
default_instance = gcp.alloydb.Instance("default",
|
889
|
+
cluster=default_cluster.name,
|
890
|
+
instance_id="alloydb-instance",
|
891
|
+
instance_type="PRIMARY",
|
892
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
893
|
+
default = gcp.alloydb.Backup("default",
|
894
|
+
location="us-central1",
|
895
|
+
backup_id="alloydb-backup",
|
896
|
+
cluster_name=default_cluster.name,
|
897
|
+
description="example description",
|
898
|
+
type="ON_DEMAND",
|
899
|
+
labels={
|
900
|
+
"label": "key",
|
901
|
+
},
|
902
|
+
opts=pulumi.ResourceOptions(depends_on=[default_instance]))
|
895
903
|
```
|
896
904
|
|
897
905
|
## Import
|
pulumi_gcp/alloydb/cluster.py
CHANGED
@@ -1092,17 +1092,29 @@ class Cluster(pulumi.CustomResource):
|
|
1092
1092
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
1093
1093
|
password="alloydb-source-cluster",
|
1094
1094
|
))
|
1095
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1096
|
+
name="alloydb-source-cluster",
|
1097
|
+
address_type="INTERNAL",
|
1098
|
+
purpose="VPC_PEERING",
|
1099
|
+
prefix_length=16,
|
1100
|
+
network=default.id)
|
1101
|
+
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1102
|
+
network=default.id,
|
1103
|
+
service="servicenetworking.googleapis.com",
|
1104
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
1095
1105
|
source_instance = gcp.alloydb.Instance("source",
|
1096
1106
|
cluster=source.name,
|
1097
1107
|
instance_id="alloydb-instance",
|
1098
1108
|
instance_type="PRIMARY",
|
1099
1109
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
1100
1110
|
cpu_count=2,
|
1101
|
-
)
|
1111
|
+
),
|
1112
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
1102
1113
|
source_backup = gcp.alloydb.Backup("source",
|
1103
1114
|
backup_id="alloydb-backup",
|
1104
1115
|
location="us-central1",
|
1105
|
-
cluster_name=source.name
|
1116
|
+
cluster_name=source.name,
|
1117
|
+
opts=pulumi.ResourceOptions(depends_on=[source_instance]))
|
1106
1118
|
restored_from_backup = gcp.alloydb.Cluster("restored_from_backup",
|
1107
1119
|
cluster_id="alloydb-backup-restored",
|
1108
1120
|
location="us-central1",
|
@@ -1119,16 +1131,6 @@ class Cluster(pulumi.CustomResource):
|
|
1119
1131
|
point_in_time="2023-08-03T19:19:00.094Z",
|
1120
1132
|
))
|
1121
1133
|
project = gcp.organizations.get_project()
|
1122
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1123
|
-
name="alloydb-source-cluster",
|
1124
|
-
address_type="INTERNAL",
|
1125
|
-
purpose="VPC_PEERING",
|
1126
|
-
prefix_length=16,
|
1127
|
-
network=default.id)
|
1128
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1129
|
-
network=default.id,
|
1130
|
-
service="servicenetworking.googleapis.com",
|
1131
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
1132
1134
|
```
|
1133
1135
|
### Alloydb Secondary Cluster Basic
|
1134
1136
|
|
@@ -1141,13 +1143,24 @@ class Cluster(pulumi.CustomResource):
|
|
1141
1143
|
cluster_id="alloydb-primary-cluster",
|
1142
1144
|
location="us-central1",
|
1143
1145
|
network=default.id)
|
1146
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1147
|
+
name="alloydb-secondary-cluster",
|
1148
|
+
address_type="INTERNAL",
|
1149
|
+
purpose="VPC_PEERING",
|
1150
|
+
prefix_length=16,
|
1151
|
+
network=default.id)
|
1152
|
+
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1153
|
+
network=default.id,
|
1154
|
+
service="servicenetworking.googleapis.com",
|
1155
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
1144
1156
|
primary_instance = gcp.alloydb.Instance("primary",
|
1145
1157
|
cluster=primary.name,
|
1146
1158
|
instance_id="alloydb-primary-instance",
|
1147
1159
|
instance_type="PRIMARY",
|
1148
1160
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
1149
1161
|
cpu_count=2,
|
1150
|
-
)
|
1162
|
+
),
|
1163
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
1151
1164
|
secondary = gcp.alloydb.Cluster("secondary",
|
1152
1165
|
cluster_id="alloydb-secondary-cluster",
|
1153
1166
|
location="us-east1",
|
@@ -1158,18 +1171,9 @@ class Cluster(pulumi.CustomResource):
|
|
1158
1171
|
),
|
1159
1172
|
secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
|
1160
1173
|
primary_cluster_name=primary.name,
|
1161
|
-
)
|
1174
|
+
),
|
1175
|
+
opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
|
1162
1176
|
project = gcp.organizations.get_project()
|
1163
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1164
|
-
name="alloydb-secondary-cluster",
|
1165
|
-
address_type="INTERNAL",
|
1166
|
-
purpose="VPC_PEERING",
|
1167
|
-
prefix_length=16,
|
1168
|
-
network=default.id)
|
1169
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1170
|
-
network=default.id,
|
1171
|
-
service="servicenetworking.googleapis.com",
|
1172
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
1173
1177
|
```
|
1174
1178
|
|
1175
1179
|
## Import
|
@@ -1346,17 +1350,29 @@ class Cluster(pulumi.CustomResource):
|
|
1346
1350
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
1347
1351
|
password="alloydb-source-cluster",
|
1348
1352
|
))
|
1353
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1354
|
+
name="alloydb-source-cluster",
|
1355
|
+
address_type="INTERNAL",
|
1356
|
+
purpose="VPC_PEERING",
|
1357
|
+
prefix_length=16,
|
1358
|
+
network=default.id)
|
1359
|
+
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1360
|
+
network=default.id,
|
1361
|
+
service="servicenetworking.googleapis.com",
|
1362
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
1349
1363
|
source_instance = gcp.alloydb.Instance("source",
|
1350
1364
|
cluster=source.name,
|
1351
1365
|
instance_id="alloydb-instance",
|
1352
1366
|
instance_type="PRIMARY",
|
1353
1367
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
1354
1368
|
cpu_count=2,
|
1355
|
-
)
|
1369
|
+
),
|
1370
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
1356
1371
|
source_backup = gcp.alloydb.Backup("source",
|
1357
1372
|
backup_id="alloydb-backup",
|
1358
1373
|
location="us-central1",
|
1359
|
-
cluster_name=source.name
|
1374
|
+
cluster_name=source.name,
|
1375
|
+
opts=pulumi.ResourceOptions(depends_on=[source_instance]))
|
1360
1376
|
restored_from_backup = gcp.alloydb.Cluster("restored_from_backup",
|
1361
1377
|
cluster_id="alloydb-backup-restored",
|
1362
1378
|
location="us-central1",
|
@@ -1373,16 +1389,6 @@ class Cluster(pulumi.CustomResource):
|
|
1373
1389
|
point_in_time="2023-08-03T19:19:00.094Z",
|
1374
1390
|
))
|
1375
1391
|
project = gcp.organizations.get_project()
|
1376
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1377
|
-
name="alloydb-source-cluster",
|
1378
|
-
address_type="INTERNAL",
|
1379
|
-
purpose="VPC_PEERING",
|
1380
|
-
prefix_length=16,
|
1381
|
-
network=default.id)
|
1382
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1383
|
-
network=default.id,
|
1384
|
-
service="servicenetworking.googleapis.com",
|
1385
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
1386
1392
|
```
|
1387
1393
|
### Alloydb Secondary Cluster Basic
|
1388
1394
|
|
@@ -1395,13 +1401,24 @@ class Cluster(pulumi.CustomResource):
|
|
1395
1401
|
cluster_id="alloydb-primary-cluster",
|
1396
1402
|
location="us-central1",
|
1397
1403
|
network=default.id)
|
1404
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1405
|
+
name="alloydb-secondary-cluster",
|
1406
|
+
address_type="INTERNAL",
|
1407
|
+
purpose="VPC_PEERING",
|
1408
|
+
prefix_length=16,
|
1409
|
+
network=default.id)
|
1410
|
+
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1411
|
+
network=default.id,
|
1412
|
+
service="servicenetworking.googleapis.com",
|
1413
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
1398
1414
|
primary_instance = gcp.alloydb.Instance("primary",
|
1399
1415
|
cluster=primary.name,
|
1400
1416
|
instance_id="alloydb-primary-instance",
|
1401
1417
|
instance_type="PRIMARY",
|
1402
1418
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
1403
1419
|
cpu_count=2,
|
1404
|
-
)
|
1420
|
+
),
|
1421
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
1405
1422
|
secondary = gcp.alloydb.Cluster("secondary",
|
1406
1423
|
cluster_id="alloydb-secondary-cluster",
|
1407
1424
|
location="us-east1",
|
@@ -1412,18 +1429,9 @@ class Cluster(pulumi.CustomResource):
|
|
1412
1429
|
),
|
1413
1430
|
secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
|
1414
1431
|
primary_cluster_name=primary.name,
|
1415
|
-
)
|
1432
|
+
),
|
1433
|
+
opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
|
1416
1434
|
project = gcp.organizations.get_project()
|
1417
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
1418
|
-
name="alloydb-secondary-cluster",
|
1419
|
-
address_type="INTERNAL",
|
1420
|
-
purpose="VPC_PEERING",
|
1421
|
-
prefix_length=16,
|
1422
|
-
network=default.id)
|
1423
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
1424
|
-
network=default.id,
|
1425
|
-
service="servicenetworking.googleapis.com",
|
1426
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
1427
1435
|
```
|
1428
1436
|
|
1429
1437
|
## Import
|