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/alloydb/instance.py
CHANGED
@@ -757,14 +757,6 @@ class Instance(pulumi.CustomResource):
|
|
757
757
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
758
758
|
password="alloydb-cluster",
|
759
759
|
))
|
760
|
-
default = gcp.alloydb.Instance("default",
|
761
|
-
cluster=default_cluster.name,
|
762
|
-
instance_id="alloydb-instance",
|
763
|
-
instance_type="PRIMARY",
|
764
|
-
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
765
|
-
cpu_count=2,
|
766
|
-
))
|
767
|
-
project = gcp.organizations.get_project()
|
768
760
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
769
761
|
name="alloydb-cluster",
|
770
762
|
address_type="INTERNAL",
|
@@ -775,6 +767,15 @@ class Instance(pulumi.CustomResource):
|
|
775
767
|
network=default_network.id,
|
776
768
|
service="servicenetworking.googleapis.com",
|
777
769
|
reserved_peering_ranges=[private_ip_alloc.name])
|
770
|
+
default = gcp.alloydb.Instance("default",
|
771
|
+
cluster=default_cluster.name,
|
772
|
+
instance_id="alloydb-instance",
|
773
|
+
instance_type="PRIMARY",
|
774
|
+
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
775
|
+
cpu_count=2,
|
776
|
+
),
|
777
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
778
|
+
project = gcp.organizations.get_project()
|
778
779
|
```
|
779
780
|
### Alloydb Secondary Instance Basic
|
780
781
|
|
@@ -787,13 +788,24 @@ class Instance(pulumi.CustomResource):
|
|
787
788
|
cluster_id="alloydb-primary-cluster",
|
788
789
|
location="us-central1",
|
789
790
|
network=default.id)
|
791
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
792
|
+
name="alloydb-secondary-instance",
|
793
|
+
address_type="INTERNAL",
|
794
|
+
purpose="VPC_PEERING",
|
795
|
+
prefix_length=16,
|
796
|
+
network=default.id)
|
797
|
+
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
798
|
+
network=default.id,
|
799
|
+
service="servicenetworking.googleapis.com",
|
800
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
790
801
|
primary_instance = gcp.alloydb.Instance("primary",
|
791
802
|
cluster=primary.name,
|
792
803
|
instance_id="alloydb-primary-instance",
|
793
804
|
instance_type="PRIMARY",
|
794
805
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
795
806
|
cpu_count=2,
|
796
|
-
)
|
807
|
+
),
|
808
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
797
809
|
secondary = gcp.alloydb.Cluster("secondary",
|
798
810
|
cluster_id="alloydb-secondary-cluster",
|
799
811
|
location="us-east1",
|
@@ -805,25 +817,17 @@ class Instance(pulumi.CustomResource):
|
|
805
817
|
secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
|
806
818
|
primary_cluster_name=primary.name,
|
807
819
|
),
|
808
|
-
deletion_policy="FORCE"
|
820
|
+
deletion_policy="FORCE",
|
821
|
+
opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
|
809
822
|
secondary_instance = gcp.alloydb.Instance("secondary",
|
810
823
|
cluster=secondary.name,
|
811
824
|
instance_id="alloydb-secondary-instance",
|
812
825
|
instance_type=secondary.cluster_type,
|
813
826
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
814
827
|
cpu_count=2,
|
815
|
-
)
|
828
|
+
),
|
829
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
816
830
|
project = gcp.organizations.get_project()
|
817
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
818
|
-
name="alloydb-secondary-instance",
|
819
|
-
address_type="INTERNAL",
|
820
|
-
purpose="VPC_PEERING",
|
821
|
-
prefix_length=16,
|
822
|
-
network=default.id)
|
823
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
824
|
-
network=default.id,
|
825
|
-
service="servicenetworking.googleapis.com",
|
826
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
827
831
|
```
|
828
832
|
|
829
833
|
## Import
|
@@ -908,14 +912,6 @@ class Instance(pulumi.CustomResource):
|
|
908
912
|
initial_user=gcp.alloydb.ClusterInitialUserArgs(
|
909
913
|
password="alloydb-cluster",
|
910
914
|
))
|
911
|
-
default = gcp.alloydb.Instance("default",
|
912
|
-
cluster=default_cluster.name,
|
913
|
-
instance_id="alloydb-instance",
|
914
|
-
instance_type="PRIMARY",
|
915
|
-
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
916
|
-
cpu_count=2,
|
917
|
-
))
|
918
|
-
project = gcp.organizations.get_project()
|
919
915
|
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
920
916
|
name="alloydb-cluster",
|
921
917
|
address_type="INTERNAL",
|
@@ -926,6 +922,15 @@ class Instance(pulumi.CustomResource):
|
|
926
922
|
network=default_network.id,
|
927
923
|
service="servicenetworking.googleapis.com",
|
928
924
|
reserved_peering_ranges=[private_ip_alloc.name])
|
925
|
+
default = gcp.alloydb.Instance("default",
|
926
|
+
cluster=default_cluster.name,
|
927
|
+
instance_id="alloydb-instance",
|
928
|
+
instance_type="PRIMARY",
|
929
|
+
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
930
|
+
cpu_count=2,
|
931
|
+
),
|
932
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
933
|
+
project = gcp.organizations.get_project()
|
929
934
|
```
|
930
935
|
### Alloydb Secondary Instance Basic
|
931
936
|
|
@@ -938,13 +943,24 @@ class Instance(pulumi.CustomResource):
|
|
938
943
|
cluster_id="alloydb-primary-cluster",
|
939
944
|
location="us-central1",
|
940
945
|
network=default.id)
|
946
|
+
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
947
|
+
name="alloydb-secondary-instance",
|
948
|
+
address_type="INTERNAL",
|
949
|
+
purpose="VPC_PEERING",
|
950
|
+
prefix_length=16,
|
951
|
+
network=default.id)
|
952
|
+
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
953
|
+
network=default.id,
|
954
|
+
service="servicenetworking.googleapis.com",
|
955
|
+
reserved_peering_ranges=[private_ip_alloc.name])
|
941
956
|
primary_instance = gcp.alloydb.Instance("primary",
|
942
957
|
cluster=primary.name,
|
943
958
|
instance_id="alloydb-primary-instance",
|
944
959
|
instance_type="PRIMARY",
|
945
960
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
946
961
|
cpu_count=2,
|
947
|
-
)
|
962
|
+
),
|
963
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
948
964
|
secondary = gcp.alloydb.Cluster("secondary",
|
949
965
|
cluster_id="alloydb-secondary-cluster",
|
950
966
|
location="us-east1",
|
@@ -956,25 +972,17 @@ class Instance(pulumi.CustomResource):
|
|
956
972
|
secondary_config=gcp.alloydb.ClusterSecondaryConfigArgs(
|
957
973
|
primary_cluster_name=primary.name,
|
958
974
|
),
|
959
|
-
deletion_policy="FORCE"
|
975
|
+
deletion_policy="FORCE",
|
976
|
+
opts=pulumi.ResourceOptions(depends_on=[primary_instance]))
|
960
977
|
secondary_instance = gcp.alloydb.Instance("secondary",
|
961
978
|
cluster=secondary.name,
|
962
979
|
instance_id="alloydb-secondary-instance",
|
963
980
|
instance_type=secondary.cluster_type,
|
964
981
|
machine_config=gcp.alloydb.InstanceMachineConfigArgs(
|
965
982
|
cpu_count=2,
|
966
|
-
)
|
983
|
+
),
|
984
|
+
opts=pulumi.ResourceOptions(depends_on=[vpc_connection]))
|
967
985
|
project = gcp.organizations.get_project()
|
968
|
-
private_ip_alloc = gcp.compute.GlobalAddress("private_ip_alloc",
|
969
|
-
name="alloydb-secondary-instance",
|
970
|
-
address_type="INTERNAL",
|
971
|
-
purpose="VPC_PEERING",
|
972
|
-
prefix_length=16,
|
973
|
-
network=default.id)
|
974
|
-
vpc_connection = gcp.servicenetworking.Connection("vpc_connection",
|
975
|
-
network=default.id,
|
976
|
-
service="servicenetworking.googleapis.com",
|
977
|
-
reserved_peering_ranges=[private_ip_alloc.name])
|
978
986
|
```
|
979
987
|
|
980
988
|
## Import
|
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",
|