pulumi-gcp 7.24.0a1716588893__py3-none-any.whl → 7.25.0a1717097889__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/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/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/data_transfer_config.py +8 -4
- pulumi_gcp/bigquery/job.py +22 -16
- 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 -62
- pulumi_gcp/cloudids/endpoint.py +4 -2
- pulumi_gcp/cloudrunv2/job.py +32 -20
- pulumi_gcp/cloudrunv2/service.py +28 -20
- pulumi_gcp/compute/forwarding_rule.py +225 -817
- pulumi_gcp/compute/global_forwarding_rule.py +0 -766
- pulumi_gcp/compute/instance_group.py +0 -100
- 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/route.py +10 -2
- 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/databasemigrationservice/connection_profile.py +32 -16
- pulumi_gcp/datacatalog/policy_tag.py +4 -2
- pulumi_gcp/datafusion/instance.py +14 -12
- pulumi_gcp/dataplex/asset.py +4 -2
- pulumi_gcp/dataplex/datascan.py +16 -14
- pulumi_gcp/datastore/data_store_index.py +4 -2
- pulumi_gcp/datastream/stream.py +16 -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/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/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/gateway.py +12 -6
- pulumi_gcp/networkservices/lb_traffic_extension.py +0 -526
- pulumi_gcp/organizations/access_approval_settings.py +4 -2
- pulumi_gcp/parallelstore/instance.py +20 -18
- pulumi_gcp/projects/access_approval_settings.py +4 -2
- pulumi_gcp/pubsub/schema.py +4 -2
- pulumi_gcp/pubsub/subscription.py +94 -62
- 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/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/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.0a1717097889.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/RECORD +126 -126
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.24.0a1716588893.dist-info → pulumi_gcp-7.25.0a1717097889.dist-info}/top_level.txt +0 -0
pulumi_gcp/alloydb/user.py
CHANGED
@@ -256,11 +256,6 @@ class User(pulumi.CustomResource):
|
|
256
256
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
257
257
|
password="cluster_secret",
|
258
258
|
))
|
259
|
-
default = gcp.alloydb.Instance("default",
|
260
|
-
cluster=default_cluster.name,
|
261
|
-
instance_id="alloydb-instance",
|
262
|
-
instance_type="PRIMARY")
|
263
|
-
project = gcp.organizations.get_project()
|
264
259
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
265
260
|
name="alloydb-cluster",
|
266
261
|
address_type="INTERNAL",
|
@@ -271,12 +266,19 @@ class User(pulumi.CustomResource):
|
|
271
266
|
network=default_network.id,
|
272
267
|
service="servicenetworking.googleapis.com",
|
273
268
|
reserved_peering_ranges=[private_ip_alloc.name])
|
269
|
+
default = gcp.alloydb.Instance("default",
|
270
|
+
cluster=default_cluster.name,
|
271
|
+
instance_id="alloydb-instance",
|
272
|
+
instance_type="PRIMARY",
|
273
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
274
|
+
project = gcp.organizations.get_project()
|
274
275
|
user1 = gcp.alloydb.User("user1",
|
275
276
|
cluster=default_cluster.name,
|
276
277
|
user_id="user1",
|
277
278
|
user_type="ALLOYDB_BUILT_IN",
|
278
279
|
password="user_secret",
|
279
|
-
database_roles=["alloydbsuperuser"]
|
280
|
+
database_roles=["alloydbsuperuser"],
|
281
|
+
opts=pulumi.ResourceOptions(depends_on=[default]))
|
280
282
|
```
|
281
283
|
### Alloydb User Iam
|
282
284
|
|
@@ -292,11 +294,6 @@ class User(pulumi.CustomResource):
|
|
292
294
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
293
295
|
password="cluster_secret",
|
294
296
|
))
|
295
|
-
default = gcp.alloydb.Instance("default",
|
296
|
-
cluster=default_cluster.name,
|
297
|
-
instance_id="alloydb-instance",
|
298
|
-
instance_type="PRIMARY")
|
299
|
-
project = gcp.organizations.get_project()
|
300
297
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
301
298
|
name="alloydb-cluster",
|
302
299
|
address_type="INTERNAL",
|
@@ -307,11 +304,18 @@ class User(pulumi.CustomResource):
|
|
307
304
|
network=default_network.id,
|
308
305
|
service="servicenetworking.googleapis.com",
|
309
306
|
reserved_peering_ranges=[private_ip_alloc.name])
|
307
|
+
default = gcp.alloydb.Instance("default",
|
308
|
+
cluster=default_cluster.name,
|
309
|
+
instance_id="alloydb-instance",
|
310
|
+
instance_type="PRIMARY",
|
311
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
312
|
+
project = gcp.organizations.get_project()
|
310
313
|
user2 = gcp.alloydb.User("user2",
|
311
314
|
cluster=default_cluster.name,
|
312
315
|
user_id="user2@foo.com",
|
313
316
|
user_type="ALLOYDB_IAM_USER",
|
314
|
-
database_roles=["alloydbiamuser"]
|
317
|
+
database_roles=["alloydbiamuser"],
|
318
|
+
opts=pulumi.ResourceOptions(depends_on=[default]))
|
315
319
|
```
|
316
320
|
|
317
321
|
## Import
|
@@ -382,11 +386,6 @@ class User(pulumi.CustomResource):
|
|
382
386
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
383
387
|
password="cluster_secret",
|
384
388
|
))
|
385
|
-
default = gcp.alloydb.Instance("default",
|
386
|
-
cluster=default_cluster.name,
|
387
|
-
instance_id="alloydb-instance",
|
388
|
-
instance_type="PRIMARY")
|
389
|
-
project = gcp.organizations.get_project()
|
390
389
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
391
390
|
name="alloydb-cluster",
|
392
391
|
address_type="INTERNAL",
|
@@ -397,12 +396,19 @@ class User(pulumi.CustomResource):
|
|
397
396
|
network=default_network.id,
|
398
397
|
service="servicenetworking.googleapis.com",
|
399
398
|
reserved_peering_ranges=[private_ip_alloc.name])
|
399
|
+
default = gcp.alloydb.Instance("default",
|
400
|
+
cluster=default_cluster.name,
|
401
|
+
instance_id="alloydb-instance",
|
402
|
+
instance_type="PRIMARY",
|
403
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
404
|
+
project = gcp.organizations.get_project()
|
400
405
|
user1 = gcp.alloydb.User("user1",
|
401
406
|
cluster=default_cluster.name,
|
402
407
|
user_id="user1",
|
403
408
|
user_type="ALLOYDB_BUILT_IN",
|
404
409
|
password="user_secret",
|
405
|
-
database_roles=["alloydbsuperuser"]
|
410
|
+
database_roles=["alloydbsuperuser"],
|
411
|
+
opts=pulumi.ResourceOptions(depends_on=[default]))
|
406
412
|
```
|
407
413
|
### Alloydb User Iam
|
408
414
|
|
@@ -418,11 +424,6 @@ class User(pulumi.CustomResource):
|
|
418
424
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
419
425
|
password="cluster_secret",
|
420
426
|
))
|
421
|
-
default = gcp.alloydb.Instance("default",
|
422
|
-
cluster=default_cluster.name,
|
423
|
-
instance_id="alloydb-instance",
|
424
|
-
instance_type="PRIMARY")
|
425
|
-
project = gcp.organizations.get_project()
|
426
427
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
427
428
|
name="alloydb-cluster",
|
428
429
|
address_type="INTERNAL",
|
@@ -433,11 +434,18 @@ class User(pulumi.CustomResource):
|
|
433
434
|
network=default_network.id,
|
434
435
|
service="servicenetworking.googleapis.com",
|
435
436
|
reserved_peering_ranges=[private_ip_alloc.name])
|
437
|
+
default = gcp.alloydb.Instance("default",
|
438
|
+
cluster=default_cluster.name,
|
439
|
+
instance_id="alloydb-instance",
|
440
|
+
instance_type="PRIMARY",
|
441
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
442
|
+
project = gcp.organizations.get_project()
|
436
443
|
user2 = gcp.alloydb.User("user2",
|
437
444
|
cluster=default_cluster.name,
|
438
445
|
user_id="user2@foo.com",
|
439
446
|
user_type="ALLOYDB_IAM_USER",
|
440
|
-
database_roles=["alloydbiamuser"]
|
447
|
+
database_roles=["alloydbiamuser"],
|
448
|
+
opts=pulumi.ResourceOptions(depends_on=[default]))
|
441
449
|
```
|
442
450
|
|
443
451
|
## Import
|
@@ -497,63 +497,6 @@ class ApiConfig(pulumi.CustomResource):
|
|
497
497
|
|
498
498
|
## Example Usage
|
499
499
|
|
500
|
-
### Apigateway Api Config Basic
|
501
|
-
|
502
|
-
```python
|
503
|
-
import pulumi
|
504
|
-
import pulumi_gcp as gcp
|
505
|
-
import pulumi_std as std
|
506
|
-
|
507
|
-
api_cfg = gcp.apigateway.Api("api_cfg", api_id="my-api")
|
508
|
-
api_cfg_api_config = gcp.apigateway.ApiConfig("api_cfg",
|
509
|
-
api=api_cfg.api_id,
|
510
|
-
api_config_id="my-config",
|
511
|
-
openapi_documents=[gcp.apigateway.ApiConfigOpenapiDocumentArgs(
|
512
|
-
document=gcp.apigateway.ApiConfigOpenapiDocumentDocumentArgs(
|
513
|
-
path="spec.yaml",
|
514
|
-
contents=std.filebase64(input="test-fixtures/openapi.yaml").result,
|
515
|
-
),
|
516
|
-
)])
|
517
|
-
```
|
518
|
-
### Apigateway Api Config Grpc
|
519
|
-
|
520
|
-
```python
|
521
|
-
import pulumi
|
522
|
-
import pulumi_gcp as gcp
|
523
|
-
import pulumi_std as std
|
524
|
-
|
525
|
-
api_cfg = gcp.apigateway.Api("api_cfg", api_id="my-api")
|
526
|
-
api_cfg_api_config = gcp.apigateway.ApiConfig("api_cfg",
|
527
|
-
api=api_cfg.api_id,
|
528
|
-
api_config_id="my-config",
|
529
|
-
grpc_services=[gcp.apigateway.ApiConfigGrpcServiceArgs(
|
530
|
-
file_descriptor_set=gcp.apigateway.ApiConfigGrpcServiceFileDescriptorSetArgs(
|
531
|
-
path="api_descriptor.pb",
|
532
|
-
contents=std.filebase64(input="test-fixtures/api_descriptor.pb").result,
|
533
|
-
),
|
534
|
-
)],
|
535
|
-
managed_service_configs=[gcp.apigateway.ApiConfigManagedServiceConfigArgs(
|
536
|
-
path="api_config.yaml",
|
537
|
-
contents=std.base64encode_output(input=api_cfg.managed_service.apply(lambda managed_service: f\"\"\"type: google.api.Service
|
538
|
-
config_version: 3
|
539
|
-
name: {managed_service}
|
540
|
-
title: gRPC API example
|
541
|
-
apis:
|
542
|
-
- name: endpoints.examples.bookstore.Bookstore
|
543
|
-
usage:
|
544
|
-
rules:
|
545
|
-
- selector: endpoints.examples.bookstore.Bookstore.ListShelves
|
546
|
-
allow_unregistered_calls: true
|
547
|
-
backend:
|
548
|
-
rules:
|
549
|
-
- selector: "*"
|
550
|
-
address: grpcs://example.com
|
551
|
-
disable_auth: true
|
552
|
-
|
553
|
-
\"\"\")).apply(lambda invoke: invoke.result),
|
554
|
-
)])
|
555
|
-
```
|
556
|
-
|
557
500
|
## Import
|
558
501
|
|
559
502
|
ApiConfig can be imported using any of these accepted formats:
|
@@ -622,63 +565,6 @@ class ApiConfig(pulumi.CustomResource):
|
|
622
565
|
|
623
566
|
## Example Usage
|
624
567
|
|
625
|
-
### Apigateway Api Config Basic
|
626
|
-
|
627
|
-
```python
|
628
|
-
import pulumi
|
629
|
-
import pulumi_gcp as gcp
|
630
|
-
import pulumi_std as std
|
631
|
-
|
632
|
-
api_cfg = gcp.apigateway.Api("api_cfg", api_id="my-api")
|
633
|
-
api_cfg_api_config = gcp.apigateway.ApiConfig("api_cfg",
|
634
|
-
api=api_cfg.api_id,
|
635
|
-
api_config_id="my-config",
|
636
|
-
openapi_documents=[gcp.apigateway.ApiConfigOpenapiDocumentArgs(
|
637
|
-
document=gcp.apigateway.ApiConfigOpenapiDocumentDocumentArgs(
|
638
|
-
path="spec.yaml",
|
639
|
-
contents=std.filebase64(input="test-fixtures/openapi.yaml").result,
|
640
|
-
),
|
641
|
-
)])
|
642
|
-
```
|
643
|
-
### Apigateway Api Config Grpc
|
644
|
-
|
645
|
-
```python
|
646
|
-
import pulumi
|
647
|
-
import pulumi_gcp as gcp
|
648
|
-
import pulumi_std as std
|
649
|
-
|
650
|
-
api_cfg = gcp.apigateway.Api("api_cfg", api_id="my-api")
|
651
|
-
api_cfg_api_config = gcp.apigateway.ApiConfig("api_cfg",
|
652
|
-
api=api_cfg.api_id,
|
653
|
-
api_config_id="my-config",
|
654
|
-
grpc_services=[gcp.apigateway.ApiConfigGrpcServiceArgs(
|
655
|
-
file_descriptor_set=gcp.apigateway.ApiConfigGrpcServiceFileDescriptorSetArgs(
|
656
|
-
path="api_descriptor.pb",
|
657
|
-
contents=std.filebase64(input="test-fixtures/api_descriptor.pb").result,
|
658
|
-
),
|
659
|
-
)],
|
660
|
-
managed_service_configs=[gcp.apigateway.ApiConfigManagedServiceConfigArgs(
|
661
|
-
path="api_config.yaml",
|
662
|
-
contents=std.base64encode_output(input=api_cfg.managed_service.apply(lambda managed_service: f\"\"\"type: google.api.Service
|
663
|
-
config_version: 3
|
664
|
-
name: {managed_service}
|
665
|
-
title: gRPC API example
|
666
|
-
apis:
|
667
|
-
- name: endpoints.examples.bookstore.Bookstore
|
668
|
-
usage:
|
669
|
-
rules:
|
670
|
-
- selector: endpoints.examples.bookstore.Bookstore.ListShelves
|
671
|
-
allow_unregistered_calls: true
|
672
|
-
backend:
|
673
|
-
rules:
|
674
|
-
- selector: "*"
|
675
|
-
address: grpcs://example.com
|
676
|
-
disable_auth: true
|
677
|
-
|
678
|
-
\"\"\")).apply(lambda invoke: invoke.result),
|
679
|
-
)])
|
680
|
-
```
|
681
|
-
|
682
568
|
## Import
|
683
569
|
|
684
570
|
ApiConfig can be imported using any of these accepted formats:
|
pulumi_gcp/apigateway/gateway.py
CHANGED
@@ -342,28 +342,6 @@ class Gateway(pulumi.CustomResource):
|
|
342
342
|
|
343
343
|
## Example Usage
|
344
344
|
|
345
|
-
### Apigateway Gateway Basic
|
346
|
-
|
347
|
-
```python
|
348
|
-
import pulumi
|
349
|
-
import pulumi_gcp as gcp
|
350
|
-
import pulumi_std as std
|
351
|
-
|
352
|
-
api_gw = gcp.apigateway.Api("api_gw", api_id="my-api")
|
353
|
-
api_gw_api_config = gcp.apigateway.ApiConfig("api_gw",
|
354
|
-
api=api_gw.api_id,
|
355
|
-
api_config_id="my-config",
|
356
|
-
openapi_documents=[gcp.apigateway.ApiConfigOpenapiDocumentArgs(
|
357
|
-
document=gcp.apigateway.ApiConfigOpenapiDocumentDocumentArgs(
|
358
|
-
path="spec.yaml",
|
359
|
-
contents=std.filebase64(input="test-fixtures/openapi.yaml").result,
|
360
|
-
),
|
361
|
-
)])
|
362
|
-
api_gw_gateway = gcp.apigateway.Gateway("api_gw",
|
363
|
-
api_config=api_gw_api_config.id,
|
364
|
-
gateway_id="my-gateway")
|
365
|
-
```
|
366
|
-
|
367
345
|
## Import
|
368
346
|
|
369
347
|
Gateway can be imported using any of these accepted formats:
|
@@ -429,28 +407,6 @@ class Gateway(pulumi.CustomResource):
|
|
429
407
|
|
430
408
|
## Example Usage
|
431
409
|
|
432
|
-
### Apigateway Gateway Basic
|
433
|
-
|
434
|
-
```python
|
435
|
-
import pulumi
|
436
|
-
import pulumi_gcp as gcp
|
437
|
-
import pulumi_std as std
|
438
|
-
|
439
|
-
api_gw = gcp.apigateway.Api("api_gw", api_id="my-api")
|
440
|
-
api_gw_api_config = gcp.apigateway.ApiConfig("api_gw",
|
441
|
-
api=api_gw.api_id,
|
442
|
-
api_config_id="my-config",
|
443
|
-
openapi_documents=[gcp.apigateway.ApiConfigOpenapiDocumentArgs(
|
444
|
-
document=gcp.apigateway.ApiConfigOpenapiDocumentDocumentArgs(
|
445
|
-
path="spec.yaml",
|
446
|
-
contents=std.filebase64(input="test-fixtures/openapi.yaml").result,
|
447
|
-
),
|
448
|
-
)])
|
449
|
-
api_gw_gateway = gcp.apigateway.Gateway("api_gw",
|
450
|
-
api_config=api_gw_api_config.id,
|
451
|
-
gateway_id="my-gateway")
|
452
|
-
```
|
453
|
-
|
454
410
|
## Import
|
455
411
|
|
456
412
|
Gateway can be imported using any of these accepted formats:
|
@@ -162,7 +162,8 @@ class AddonsConfig(pulumi.CustomResource):
|
|
162
162
|
service="servicenetworking.googleapis.com")
|
163
163
|
apigee_network = gcp.compute.Network("apigee_network",
|
164
164
|
name="apigee-network",
|
165
|
-
project=current.project
|
165
|
+
project=current.project,
|
166
|
+
opts=pulumi.ResourceOptions(depends_on=[compute]))
|
166
167
|
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
167
168
|
name="apigee-range",
|
168
169
|
purpose="VPC_PEERING",
|
@@ -178,7 +179,11 @@ class AddonsConfig(pulumi.CustomResource):
|
|
178
179
|
analytics_region="us-central1",
|
179
180
|
project_id=current.project,
|
180
181
|
authorized_network=apigee_network.id,
|
181
|
-
billing_type="EVALUATION"
|
182
|
+
billing_type="EVALUATION",
|
183
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
184
|
+
apigee_vpc_connection,
|
185
|
+
apigee,
|
186
|
+
]))
|
182
187
|
test_organization = gcp.apigee.AddonsConfig("test_organization",
|
183
188
|
org=org.name,
|
184
189
|
addons_config=gcp.apigee.AddonsConfigAddonsConfigArgs(
|
@@ -279,7 +284,8 @@ class AddonsConfig(pulumi.CustomResource):
|
|
279
284
|
service="servicenetworking.googleapis.com")
|
280
285
|
apigee_network = gcp.compute.Network("apigee_network",
|
281
286
|
name="apigee-network",
|
282
|
-
project=current.project
|
287
|
+
project=current.project,
|
288
|
+
opts=pulumi.ResourceOptions(depends_on=[compute]))
|
283
289
|
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
284
290
|
name="apigee-range",
|
285
291
|
purpose="VPC_PEERING",
|
@@ -295,7 +301,11 @@ class AddonsConfig(pulumi.CustomResource):
|
|
295
301
|
analytics_region="us-central1",
|
296
302
|
project_id=current.project,
|
297
303
|
authorized_network=apigee_network.id,
|
298
|
-
billing_type="EVALUATION"
|
304
|
+
billing_type="EVALUATION",
|
305
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
306
|
+
apigee_vpc_connection,
|
307
|
+
apigee,
|
308
|
+
]))
|
299
309
|
test_organization = gcp.apigee.AddonsConfig("test_organization",
|
300
310
|
org=org.name,
|
301
311
|
addons_config=gcp.apigee.AddonsConfigAddonsConfigArgs(
|
@@ -259,7 +259,8 @@ class EndpointAttachment(pulumi.CustomResource):
|
|
259
259
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
260
260
|
analytics_region="us-central1",
|
261
261
|
project_id=current.project,
|
262
|
-
authorized_network=apigee_network.id
|
262
|
+
authorized_network=apigee_network.id,
|
263
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
263
264
|
apigee_endpoint_attachment = gcp.apigee.EndpointAttachment("apigee_endpoint_attachment",
|
264
265
|
org_id=apigee_org.id,
|
265
266
|
endpoint_attachment_id="test1",
|
@@ -334,7 +335,8 @@ class EndpointAttachment(pulumi.CustomResource):
|
|
334
335
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
335
336
|
analytics_region="us-central1",
|
336
337
|
project_id=current.project,
|
337
|
-
authorized_network=apigee_network.id
|
338
|
+
authorized_network=apigee_network.id,
|
339
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
338
340
|
apigee_endpoint_attachment = gcp.apigee.EndpointAttachment("apigee_endpoint_attachment",
|
339
341
|
org_id=apigee_org.id,
|
340
342
|
endpoint_attachment_id="test1",
|
pulumi_gcp/apigee/env_group.py
CHANGED
@@ -179,7 +179,8 @@ class EnvGroup(pulumi.CustomResource):
|
|
179
179
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
180
180
|
analytics_region="us-central1",
|
181
181
|
project_id=current.project,
|
182
|
-
authorized_network=apigee_network.id
|
182
|
+
authorized_network=apigee_network.id,
|
183
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
183
184
|
env_grp = gcp.apigee.EnvGroup("env_grp",
|
184
185
|
name="my-envgroup",
|
185
186
|
hostnames=["abc.foo.com"],
|
@@ -252,7 +253,8 @@ class EnvGroup(pulumi.CustomResource):
|
|
252
253
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
253
254
|
analytics_region="us-central1",
|
254
255
|
project_id=current.project,
|
255
|
-
authorized_network=apigee_network.id
|
256
|
+
authorized_network=apigee_network.id,
|
257
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
256
258
|
env_grp = gcp.apigee.EnvGroup("env_grp",
|
257
259
|
name="my-envgroup",
|
258
260
|
hostnames=["abc.foo.com"],
|
pulumi_gcp/apigee/environment.py
CHANGED
@@ -435,7 +435,8 @@ class Environment(pulumi.CustomResource):
|
|
435
435
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
436
436
|
analytics_region="us-central1",
|
437
437
|
project_id=current.project,
|
438
|
-
authorized_network=apigee_network.id
|
438
|
+
authorized_network=apigee_network.id,
|
439
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
439
440
|
env = gcp.apigee.Environment("env",
|
440
441
|
name="my-environment",
|
441
442
|
description="Apigee Environment",
|
@@ -529,7 +530,8 @@ class Environment(pulumi.CustomResource):
|
|
529
530
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
530
531
|
analytics_region="us-central1",
|
531
532
|
project_id=current.project,
|
532
|
-
authorized_network=apigee_network.id
|
533
|
+
authorized_network=apigee_network.id,
|
534
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
533
535
|
env = gcp.apigee.Environment("env",
|
534
536
|
name="my-environment",
|
535
537
|
description="Apigee Environment",
|
pulumi_gcp/apigee/instance.py
CHANGED
@@ -472,7 +472,8 @@ class Instance(pulumi.CustomResource):
|
|
472
472
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
473
473
|
analytics_region="us-central1",
|
474
474
|
project_id=current.project,
|
475
|
-
authorized_network=apigee_network.id
|
475
|
+
authorized_network=apigee_network.id,
|
476
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
476
477
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
477
478
|
name="my-instance-name",
|
478
479
|
location="us-central1",
|
@@ -499,7 +500,8 @@ class Instance(pulumi.CustomResource):
|
|
499
500
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
500
501
|
analytics_region="us-central1",
|
501
502
|
project_id=current.project,
|
502
|
-
authorized_network=apigee_network.id
|
503
|
+
authorized_network=apigee_network.id,
|
504
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
503
505
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
504
506
|
name="my-instance-name",
|
505
507
|
location="us-central1",
|
@@ -527,7 +529,8 @@ class Instance(pulumi.CustomResource):
|
|
527
529
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
528
530
|
analytics_region="us-central1",
|
529
531
|
project_id=current.project,
|
530
|
-
authorized_network=apigee_network.id
|
532
|
+
authorized_network=apigee_network.id,
|
533
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
531
534
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
532
535
|
name="my-instance-name",
|
533
536
|
location="us-central1",
|
@@ -571,7 +574,11 @@ class Instance(pulumi.CustomResource):
|
|
571
574
|
description="Auto-provisioned Apigee Org.",
|
572
575
|
project_id=current.project,
|
573
576
|
authorized_network=apigee_network.id,
|
574
|
-
runtime_database_encryption_key_name=apigee_key.id
|
577
|
+
runtime_database_encryption_key_name=apigee_key.id,
|
578
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
579
|
+
apigee_vpc_connection,
|
580
|
+
apigee_sa_keyuser,
|
581
|
+
]))
|
575
582
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
576
583
|
name="my-instance-name",
|
577
584
|
location="us-central1",
|
@@ -664,7 +671,8 @@ class Instance(pulumi.CustomResource):
|
|
664
671
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
665
672
|
analytics_region="us-central1",
|
666
673
|
project_id=current.project,
|
667
|
-
authorized_network=apigee_network.id
|
674
|
+
authorized_network=apigee_network.id,
|
675
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
668
676
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
669
677
|
name="my-instance-name",
|
670
678
|
location="us-central1",
|
@@ -691,7 +699,8 @@ class Instance(pulumi.CustomResource):
|
|
691
699
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
692
700
|
analytics_region="us-central1",
|
693
701
|
project_id=current.project,
|
694
|
-
authorized_network=apigee_network.id
|
702
|
+
authorized_network=apigee_network.id,
|
703
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
695
704
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
696
705
|
name="my-instance-name",
|
697
706
|
location="us-central1",
|
@@ -719,7 +728,8 @@ class Instance(pulumi.CustomResource):
|
|
719
728
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
720
729
|
analytics_region="us-central1",
|
721
730
|
project_id=current.project,
|
722
|
-
authorized_network=apigee_network.id
|
731
|
+
authorized_network=apigee_network.id,
|
732
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee_vpc_connection]))
|
723
733
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
724
734
|
name="my-instance-name",
|
725
735
|
location="us-central1",
|
@@ -763,7 +773,11 @@ class Instance(pulumi.CustomResource):
|
|
763
773
|
description="Auto-provisioned Apigee Org.",
|
764
774
|
project_id=current.project,
|
765
775
|
authorized_network=apigee_network.id,
|
766
|
-
runtime_database_encryption_key_name=apigee_key.id
|
776
|
+
runtime_database_encryption_key_name=apigee_key.id,
|
777
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
778
|
+
apigee_vpc_connection,
|
779
|
+
apigee_sa_keyuser,
|
780
|
+
]))
|
767
781
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
768
782
|
name="my-instance-name",
|
769
783
|
location="us-central1",
|
@@ -399,13 +399,16 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
399
399
|
service="apigee.googleapis.com")
|
400
400
|
servicenetworking = gcp.projects.Service("servicenetworking",
|
401
401
|
project=project.project_id,
|
402
|
-
service="servicenetworking.googleapis.com"
|
402
|
+
service="servicenetworking.googleapis.com",
|
403
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee]))
|
403
404
|
compute = gcp.projects.Service("compute",
|
404
405
|
project=project.project_id,
|
405
|
-
service="compute.googleapis.com"
|
406
|
+
service="compute.googleapis.com",
|
407
|
+
opts=pulumi.ResourceOptions(depends_on=[servicenetworking]))
|
406
408
|
apigee_network = gcp.compute.Network("apigee_network",
|
407
409
|
name="apigee-network",
|
408
|
-
project=project.project_id
|
410
|
+
project=project.project_id,
|
411
|
+
opts=pulumi.ResourceOptions(depends_on=[compute]))
|
409
412
|
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
410
413
|
name="apigee-range",
|
411
414
|
purpose="VPC_PEERING",
|
@@ -416,11 +419,16 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
416
419
|
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
|
417
420
|
network=apigee_network.id,
|
418
421
|
service="servicenetworking.googleapis.com",
|
419
|
-
reserved_peering_ranges=[apigee_range.name]
|
422
|
+
reserved_peering_ranges=[apigee_range.name],
|
423
|
+
opts=pulumi.ResourceOptions(depends_on=[servicenetworking]))
|
420
424
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
421
425
|
analytics_region="us-central1",
|
422
426
|
project_id=project.project_id,
|
423
|
-
authorized_network=apigee_network.id
|
427
|
+
authorized_network=apigee_network.id,
|
428
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
429
|
+
apigee_vpc_connection,
|
430
|
+
apigee,
|
431
|
+
]))
|
424
432
|
apigee_environment_keystore_ss_alias = gcp.apigee.Environment("apigee_environment_keystore_ss_alias",
|
425
433
|
org_id=apigee_org.id,
|
426
434
|
name="env-name",
|
@@ -512,13 +520,16 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
512
520
|
service="apigee.googleapis.com")
|
513
521
|
servicenetworking = gcp.projects.Service("servicenetworking",
|
514
522
|
project=project.project_id,
|
515
|
-
service="servicenetworking.googleapis.com"
|
523
|
+
service="servicenetworking.googleapis.com",
|
524
|
+
opts=pulumi.ResourceOptions(depends_on=[apigee]))
|
516
525
|
compute = gcp.projects.Service("compute",
|
517
526
|
project=project.project_id,
|
518
|
-
service="compute.googleapis.com"
|
527
|
+
service="compute.googleapis.com",
|
528
|
+
opts=pulumi.ResourceOptions(depends_on=[servicenetworking]))
|
519
529
|
apigee_network = gcp.compute.Network("apigee_network",
|
520
530
|
name="apigee-network",
|
521
|
-
project=project.project_id
|
531
|
+
project=project.project_id,
|
532
|
+
opts=pulumi.ResourceOptions(depends_on=[compute]))
|
522
533
|
apigee_range = gcp.compute.GlobalAddress("apigee_range",
|
523
534
|
name="apigee-range",
|
524
535
|
purpose="VPC_PEERING",
|
@@ -529,11 +540,16 @@ class KeystoresAliasesSelfSignedCert(pulumi.CustomResource):
|
|
529
540
|
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
|
530
541
|
network=apigee_network.id,
|
531
542
|
service="servicenetworking.googleapis.com",
|
532
|
-
reserved_peering_ranges=[apigee_range.name]
|
543
|
+
reserved_peering_ranges=[apigee_range.name],
|
544
|
+
opts=pulumi.ResourceOptions(depends_on=[servicenetworking]))
|
533
545
|
apigee_org = gcp.apigee.Organization("apigee_org",
|
534
546
|
analytics_region="us-central1",
|
535
547
|
project_id=project.project_id,
|
536
|
-
authorized_network=apigee_network.id
|
548
|
+
authorized_network=apigee_network.id,
|
549
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
550
|
+
apigee_vpc_connection,
|
551
|
+
apigee,
|
552
|
+
]))
|
537
553
|
apigee_environment_keystore_ss_alias = gcp.apigee.Environment("apigee_environment_keystore_ss_alias",
|
538
554
|
org_id=apigee_org.id,
|
539
555
|
name="env-name",
|
pulumi_gcp/apigee/nat_address.py
CHANGED
@@ -195,7 +195,11 @@ class NatAddress(pulumi.CustomResource):
|
|
195
195
|
description="Terraform-provisioned Apigee Org.",
|
196
196
|
project_id=current.project,
|
197
197
|
authorized_network=apigee_network.id,
|
198
|
-
runtime_database_encryption_key_name=apigee_key.id
|
198
|
+
runtime_database_encryption_key_name=apigee_key.id,
|
199
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
200
|
+
apigee_vpc_connection,
|
201
|
+
apigee_sa_keyuser,
|
202
|
+
]))
|
199
203
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
200
204
|
name="apigee-instance",
|
201
205
|
location="us-central1",
|
@@ -290,7 +294,11 @@ class NatAddress(pulumi.CustomResource):
|
|
290
294
|
description="Terraform-provisioned Apigee Org.",
|
291
295
|
project_id=current.project,
|
292
296
|
authorized_network=apigee_network.id,
|
293
|
-
runtime_database_encryption_key_name=apigee_key.id
|
297
|
+
runtime_database_encryption_key_name=apigee_key.id,
|
298
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
299
|
+
apigee_vpc_connection,
|
300
|
+
apigee_sa_keyuser,
|
301
|
+
]))
|
294
302
|
apigee_instance = gcp.apigee.Instance("apigee_instance",
|
295
303
|
name="apigee-instance",
|
296
304
|
location="us-central1",
|