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/cloudrun/outputs.py
CHANGED
@@ -49,6 +49,7 @@ __all__ = [
|
|
49
49
|
'ServiceTemplateSpecVolume',
|
50
50
|
'ServiceTemplateSpecVolumeCsi',
|
51
51
|
'ServiceTemplateSpecVolumeEmptyDir',
|
52
|
+
'ServiceTemplateSpecVolumeNfs',
|
52
53
|
'ServiceTemplateSpecVolumeSecret',
|
53
54
|
'ServiceTemplateSpecVolumeSecretItem',
|
54
55
|
'ServiceTraffic',
|
@@ -83,6 +84,7 @@ __all__ = [
|
|
83
84
|
'GetServiceTemplateSpecVolumeResult',
|
84
85
|
'GetServiceTemplateSpecVolumeCsiResult',
|
85
86
|
'GetServiceTemplateSpecVolumeEmptyDirResult',
|
87
|
+
'GetServiceTemplateSpecVolumeNfResult',
|
86
88
|
'GetServiceTemplateSpecVolumeSecretResult',
|
87
89
|
'GetServiceTemplateSpecVolumeSecretItemResult',
|
88
90
|
'GetServiceTrafficResult',
|
@@ -2801,6 +2803,7 @@ class ServiceTemplateSpecVolume(dict):
|
|
2801
2803
|
name: str,
|
2802
2804
|
csi: Optional['outputs.ServiceTemplateSpecVolumeCsi'] = None,
|
2803
2805
|
empty_dir: Optional['outputs.ServiceTemplateSpecVolumeEmptyDir'] = None,
|
2806
|
+
nfs: Optional['outputs.ServiceTemplateSpecVolumeNfs'] = None,
|
2804
2807
|
secret: Optional['outputs.ServiceTemplateSpecVolumeSecret'] = None):
|
2805
2808
|
"""
|
2806
2809
|
:param str name: Volume's name.
|
@@ -2808,6 +2811,10 @@ class ServiceTemplateSpecVolume(dict):
|
|
2808
2811
|
Structure is documented below.
|
2809
2812
|
:param 'ServiceTemplateSpecVolumeEmptyDirArgs' empty_dir: Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
|
2810
2813
|
Structure is documented below.
|
2814
|
+
:param 'ServiceTemplateSpecVolumeNfsArgs' nfs: A filesystem backed by a Network File System share. This filesystem requires the
|
2815
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
2816
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
2817
|
+
Structure is documented below.
|
2811
2818
|
:param 'ServiceTemplateSpecVolumeSecretArgs' secret: The secret's value will be presented as the content of a file whose
|
2812
2819
|
name is defined in the item path. If no items are defined, the name of
|
2813
2820
|
the file is the secret_name.
|
@@ -2818,6 +2825,8 @@ class ServiceTemplateSpecVolume(dict):
|
|
2818
2825
|
pulumi.set(__self__, "csi", csi)
|
2819
2826
|
if empty_dir is not None:
|
2820
2827
|
pulumi.set(__self__, "empty_dir", empty_dir)
|
2828
|
+
if nfs is not None:
|
2829
|
+
pulumi.set(__self__, "nfs", nfs)
|
2821
2830
|
if secret is not None:
|
2822
2831
|
pulumi.set(__self__, "secret", secret)
|
2823
2832
|
|
@@ -2847,6 +2856,17 @@ class ServiceTemplateSpecVolume(dict):
|
|
2847
2856
|
"""
|
2848
2857
|
return pulumi.get(self, "empty_dir")
|
2849
2858
|
|
2859
|
+
@property
|
2860
|
+
@pulumi.getter
|
2861
|
+
def nfs(self) -> Optional['outputs.ServiceTemplateSpecVolumeNfs']:
|
2862
|
+
"""
|
2863
|
+
A filesystem backed by a Network File System share. This filesystem requires the
|
2864
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
2865
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
2866
|
+
Structure is documented below.
|
2867
|
+
"""
|
2868
|
+
return pulumi.get(self, "nfs")
|
2869
|
+
|
2850
2870
|
@property
|
2851
2871
|
@pulumi.getter
|
2852
2872
|
def secret(self) -> Optional['outputs.ServiceTemplateSpecVolumeSecret']:
|
@@ -2893,8 +2913,6 @@ class ServiceTemplateSpecVolumeCsi(dict):
|
|
2893
2913
|
:param Mapping[str, str] volume_attributes: Driver-specific attributes. The following options are supported for available drivers:
|
2894
2914
|
* gcsfuse.run.googleapis.com
|
2895
2915
|
* bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
|
2896
|
-
|
2897
|
-
- - -
|
2898
2916
|
"""
|
2899
2917
|
pulumi.set(__self__, "driver", driver)
|
2900
2918
|
if read_only is not None:
|
@@ -2928,8 +2946,6 @@ class ServiceTemplateSpecVolumeCsi(dict):
|
|
2928
2946
|
Driver-specific attributes. The following options are supported for available drivers:
|
2929
2947
|
* gcsfuse.run.googleapis.com
|
2930
2948
|
* bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
|
2931
|
-
|
2932
|
-
- - -
|
2933
2949
|
"""
|
2934
2950
|
return pulumi.get(self, "volume_attributes")
|
2935
2951
|
|
@@ -2982,6 +2998,68 @@ class ServiceTemplateSpecVolumeEmptyDir(dict):
|
|
2982
2998
|
return pulumi.get(self, "size_limit")
|
2983
2999
|
|
2984
3000
|
|
3001
|
+
@pulumi.output_type
|
3002
|
+
class ServiceTemplateSpecVolumeNfs(dict):
|
3003
|
+
@staticmethod
|
3004
|
+
def __key_warning(key: str):
|
3005
|
+
suggest = None
|
3006
|
+
if key == "readOnly":
|
3007
|
+
suggest = "read_only"
|
3008
|
+
|
3009
|
+
if suggest:
|
3010
|
+
pulumi.log.warn(f"Key '{key}' not found in ServiceTemplateSpecVolumeNfs. Access the value via the '{suggest}' property getter instead.")
|
3011
|
+
|
3012
|
+
def __getitem__(self, key: str) -> Any:
|
3013
|
+
ServiceTemplateSpecVolumeNfs.__key_warning(key)
|
3014
|
+
return super().__getitem__(key)
|
3015
|
+
|
3016
|
+
def get(self, key: str, default = None) -> Any:
|
3017
|
+
ServiceTemplateSpecVolumeNfs.__key_warning(key)
|
3018
|
+
return super().get(key, default)
|
3019
|
+
|
3020
|
+
def __init__(__self__, *,
|
3021
|
+
path: str,
|
3022
|
+
server: str,
|
3023
|
+
read_only: Optional[bool] = None):
|
3024
|
+
"""
|
3025
|
+
:param str path: Path exported by the NFS server
|
3026
|
+
:param str server: IP address or hostname of the NFS server
|
3027
|
+
:param bool read_only: If true, mount the NFS volume as read only in all mounts. Defaults to false.
|
3028
|
+
|
3029
|
+
- - -
|
3030
|
+
"""
|
3031
|
+
pulumi.set(__self__, "path", path)
|
3032
|
+
pulumi.set(__self__, "server", server)
|
3033
|
+
if read_only is not None:
|
3034
|
+
pulumi.set(__self__, "read_only", read_only)
|
3035
|
+
|
3036
|
+
@property
|
3037
|
+
@pulumi.getter
|
3038
|
+
def path(self) -> str:
|
3039
|
+
"""
|
3040
|
+
Path exported by the NFS server
|
3041
|
+
"""
|
3042
|
+
return pulumi.get(self, "path")
|
3043
|
+
|
3044
|
+
@property
|
3045
|
+
@pulumi.getter
|
3046
|
+
def server(self) -> str:
|
3047
|
+
"""
|
3048
|
+
IP address or hostname of the NFS server
|
3049
|
+
"""
|
3050
|
+
return pulumi.get(self, "server")
|
3051
|
+
|
3052
|
+
@property
|
3053
|
+
@pulumi.getter(name="readOnly")
|
3054
|
+
def read_only(self) -> Optional[bool]:
|
3055
|
+
"""
|
3056
|
+
If true, mount the NFS volume as read only in all mounts. Defaults to false.
|
3057
|
+
|
3058
|
+
- - -
|
3059
|
+
"""
|
3060
|
+
return pulumi.get(self, "read_only")
|
3061
|
+
|
3062
|
+
|
2985
3063
|
@pulumi.output_type
|
2986
3064
|
class ServiceTemplateSpecVolumeSecret(dict):
|
2987
3065
|
@staticmethod
|
@@ -4732,11 +4810,15 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4732
4810
|
csis: Sequence['outputs.GetServiceTemplateSpecVolumeCsiResult'],
|
4733
4811
|
empty_dirs: Sequence['outputs.GetServiceTemplateSpecVolumeEmptyDirResult'],
|
4734
4812
|
name: str,
|
4813
|
+
nfs: Sequence['outputs.GetServiceTemplateSpecVolumeNfResult'],
|
4735
4814
|
secrets: Sequence['outputs.GetServiceTemplateSpecVolumeSecretResult']):
|
4736
4815
|
"""
|
4737
4816
|
:param Sequence['GetServiceTemplateSpecVolumeCsiArgs'] csis: A filesystem specified by the Container Storage Interface (CSI).
|
4738
4817
|
:param Sequence['GetServiceTemplateSpecVolumeEmptyDirArgs'] empty_dirs: Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
|
4739
4818
|
:param str name: The name of the Cloud Run Service.
|
4819
|
+
:param Sequence['GetServiceTemplateSpecVolumeNfArgs'] nfs: A filesystem backed by a Network File System share. This filesystem requires the
|
4820
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
4821
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
4740
4822
|
:param Sequence['GetServiceTemplateSpecVolumeSecretArgs'] secrets: The secret's value will be presented as the content of a file whose
|
4741
4823
|
name is defined in the item path. If no items are defined, the name of
|
4742
4824
|
the file is the secret_name.
|
@@ -4744,6 +4826,7 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4744
4826
|
pulumi.set(__self__, "csis", csis)
|
4745
4827
|
pulumi.set(__self__, "empty_dirs", empty_dirs)
|
4746
4828
|
pulumi.set(__self__, "name", name)
|
4829
|
+
pulumi.set(__self__, "nfs", nfs)
|
4747
4830
|
pulumi.set(__self__, "secrets", secrets)
|
4748
4831
|
|
4749
4832
|
@property
|
@@ -4770,6 +4853,16 @@ class GetServiceTemplateSpecVolumeResult(dict):
|
|
4770
4853
|
"""
|
4771
4854
|
return pulumi.get(self, "name")
|
4772
4855
|
|
4856
|
+
@property
|
4857
|
+
@pulumi.getter
|
4858
|
+
def nfs(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeNfResult']:
|
4859
|
+
"""
|
4860
|
+
A filesystem backed by a Network File System share. This filesystem requires the
|
4861
|
+
run.googleapis.com/execution-environment annotation to be set to "gen2" and
|
4862
|
+
run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
|
4863
|
+
"""
|
4864
|
+
return pulumi.get(self, "nfs")
|
4865
|
+
|
4773
4866
|
@property
|
4774
4867
|
@pulumi.getter
|
4775
4868
|
def secrets(self) -> Sequence['outputs.GetServiceTemplateSpecVolumeSecretResult']:
|
@@ -4860,6 +4953,46 @@ class GetServiceTemplateSpecVolumeEmptyDirResult(dict):
|
|
4860
4953
|
return pulumi.get(self, "size_limit")
|
4861
4954
|
|
4862
4955
|
|
4956
|
+
@pulumi.output_type
|
4957
|
+
class GetServiceTemplateSpecVolumeNfResult(dict):
|
4958
|
+
def __init__(__self__, *,
|
4959
|
+
path: str,
|
4960
|
+
read_only: bool,
|
4961
|
+
server: str):
|
4962
|
+
"""
|
4963
|
+
:param str path: Path exported by the NFS server
|
4964
|
+
:param bool read_only: If true, mount the NFS volume as read only in all mounts. Defaults to false.
|
4965
|
+
:param str server: IP address or hostname of the NFS server
|
4966
|
+
"""
|
4967
|
+
pulumi.set(__self__, "path", path)
|
4968
|
+
pulumi.set(__self__, "read_only", read_only)
|
4969
|
+
pulumi.set(__self__, "server", server)
|
4970
|
+
|
4971
|
+
@property
|
4972
|
+
@pulumi.getter
|
4973
|
+
def path(self) -> str:
|
4974
|
+
"""
|
4975
|
+
Path exported by the NFS server
|
4976
|
+
"""
|
4977
|
+
return pulumi.get(self, "path")
|
4978
|
+
|
4979
|
+
@property
|
4980
|
+
@pulumi.getter(name="readOnly")
|
4981
|
+
def read_only(self) -> bool:
|
4982
|
+
"""
|
4983
|
+
If true, mount the NFS volume as read only in all mounts. Defaults to false.
|
4984
|
+
"""
|
4985
|
+
return pulumi.get(self, "read_only")
|
4986
|
+
|
4987
|
+
@property
|
4988
|
+
@pulumi.getter
|
4989
|
+
def server(self) -> str:
|
4990
|
+
"""
|
4991
|
+
IP address or hostname of the NFS server
|
4992
|
+
"""
|
4993
|
+
return pulumi.get(self, "server")
|
4994
|
+
|
4995
|
+
|
4863
4996
|
@pulumi.output_type
|
4864
4997
|
class GetServiceTemplateSpecVolumeSecretResult(dict):
|
4865
4998
|
def __init__(__self__, *,
|
pulumi_gcp/cloudrunv2/job.py
CHANGED
@@ -845,7 +845,8 @@ class Job(pulumi.CustomResource):
|
|
845
845
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
846
846
|
secret_id=secret.id,
|
847
847
|
role="roles/secretmanager.secretAccessor",
|
848
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com"
|
848
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
849
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
849
850
|
```
|
850
851
|
### Cloudrunv2 Job Vpcaccess
|
851
852
|
|
@@ -925,6 +926,15 @@ class Job(pulumi.CustomResource):
|
|
925
926
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
926
927
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
927
928
|
))
|
929
|
+
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
930
|
+
secret=secret.name,
|
931
|
+
secret_data="secret-data")
|
932
|
+
project = gcp.organizations.get_project()
|
933
|
+
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
934
|
+
secret_id=secret.id,
|
935
|
+
role="roles/secretmanager.secretAccessor",
|
936
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
937
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
928
938
|
default = gcp.cloudrunv2.Job("default",
|
929
939
|
name="cloudrun-job",
|
930
940
|
location="us-central1",
|
@@ -950,15 +960,11 @@ class Job(pulumi.CustomResource):
|
|
950
960
|
)],
|
951
961
|
)],
|
952
962
|
),
|
953
|
-
)
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
959
|
-
secret_id=secret.id,
|
960
|
-
role="roles/secretmanager.secretAccessor",
|
961
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com")
|
963
|
+
),
|
964
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
965
|
+
secret_version_data,
|
966
|
+
secret_access,
|
967
|
+
]))
|
962
968
|
```
|
963
969
|
### Cloudrunv2 Job Emptydir
|
964
970
|
|
@@ -1163,7 +1169,8 @@ class Job(pulumi.CustomResource):
|
|
1163
1169
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1164
1170
|
secret_id=secret.id,
|
1165
1171
|
role="roles/secretmanager.secretAccessor",
|
1166
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com"
|
1172
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1173
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1167
1174
|
```
|
1168
1175
|
### Cloudrunv2 Job Vpcaccess
|
1169
1176
|
|
@@ -1243,6 +1250,15 @@ class Job(pulumi.CustomResource):
|
|
1243
1250
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
1244
1251
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1245
1252
|
))
|
1253
|
+
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1254
|
+
secret=secret.name,
|
1255
|
+
secret_data="secret-data")
|
1256
|
+
project = gcp.organizations.get_project()
|
1257
|
+
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1258
|
+
secret_id=secret.id,
|
1259
|
+
role="roles/secretmanager.secretAccessor",
|
1260
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1261
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1246
1262
|
default = gcp.cloudrunv2.Job("default",
|
1247
1263
|
name="cloudrun-job",
|
1248
1264
|
location="us-central1",
|
@@ -1268,15 +1284,11 @@ class Job(pulumi.CustomResource):
|
|
1268
1284
|
)],
|
1269
1285
|
)],
|
1270
1286
|
),
|
1271
|
-
)
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1277
|
-
secret_id=secret.id,
|
1278
|
-
role="roles/secretmanager.secretAccessor",
|
1279
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com")
|
1287
|
+
),
|
1288
|
+
opts=pulumi.ResourceOptions(depends_on=[
|
1289
|
+
secret_version_data,
|
1290
|
+
secret_access,
|
1291
|
+
]))
|
1280
1292
|
```
|
1281
1293
|
### Cloudrunv2 Job Emptydir
|
1282
1294
|
|
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1008,6 +1008,9 @@ class Service(pulumi.CustomResource):
|
|
1008
1008
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
1009
1009
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1010
1010
|
))
|
1011
|
+
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1012
|
+
secret=secret.name,
|
1013
|
+
secret_data="secret-data")
|
1011
1014
|
instance = gcp.sql.DatabaseInstance("instance",
|
1012
1015
|
name="cloudrun-sql",
|
1013
1016
|
region="us-central1",
|
@@ -1056,15 +1059,14 @@ class Service(pulumi.CustomResource):
|
|
1056
1059
|
traffics=[gcp.cloudrunv2.ServiceTrafficArgs(
|
1057
1060
|
type="TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
1058
1061
|
percent=100,
|
1059
|
-
)]
|
1062
|
+
)],
|
1063
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1060
1064
|
project = gcp.organizations.get_project()
|
1061
|
-
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1062
|
-
secret=secret.name,
|
1063
|
-
secret_data="secret-data")
|
1064
1065
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1065
1066
|
secret_id=secret.id,
|
1066
1067
|
role="roles/secretmanager.secretAccessor",
|
1067
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com"
|
1068
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1069
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1068
1070
|
```
|
1069
1071
|
### Cloudrunv2 Service Vpcaccess
|
1070
1072
|
|
@@ -1169,6 +1171,9 @@ class Service(pulumi.CustomResource):
|
|
1169
1171
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
1170
1172
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1171
1173
|
))
|
1174
|
+
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1175
|
+
secret=secret.name,
|
1176
|
+
secret_data="secret-data")
|
1172
1177
|
default = gcp.cloudrunv2.Service("default",
|
1173
1178
|
name="cloudrun-service",
|
1174
1179
|
location="us-central1",
|
@@ -1192,15 +1197,14 @@ class Service(pulumi.CustomResource):
|
|
1192
1197
|
mount_path="/secrets",
|
1193
1198
|
)],
|
1194
1199
|
)],
|
1195
|
-
)
|
1200
|
+
),
|
1201
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1196
1202
|
project = gcp.organizations.get_project()
|
1197
|
-
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1198
|
-
secret=secret.name,
|
1199
|
-
secret_data="secret-data")
|
1200
1203
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1201
1204
|
secret_id=secret.id,
|
1202
1205
|
role="roles/secretmanager.secretAccessor",
|
1203
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com"
|
1206
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1207
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1204
1208
|
```
|
1205
1209
|
### Cloudrunv2 Service Multicontainer
|
1206
1210
|
|
@@ -1461,6 +1465,9 @@ class Service(pulumi.CustomResource):
|
|
1461
1465
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
1462
1466
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1463
1467
|
))
|
1468
|
+
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1469
|
+
secret=secret.name,
|
1470
|
+
secret_data="secret-data")
|
1464
1471
|
instance = gcp.sql.DatabaseInstance("instance",
|
1465
1472
|
name="cloudrun-sql",
|
1466
1473
|
region="us-central1",
|
@@ -1509,15 +1516,14 @@ class Service(pulumi.CustomResource):
|
|
1509
1516
|
traffics=[gcp.cloudrunv2.ServiceTrafficArgs(
|
1510
1517
|
type="TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
1511
1518
|
percent=100,
|
1512
|
-
)]
|
1519
|
+
)],
|
1520
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1513
1521
|
project = gcp.organizations.get_project()
|
1514
|
-
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1515
|
-
secret=secret.name,
|
1516
|
-
secret_data="secret-data")
|
1517
1522
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1518
1523
|
secret_id=secret.id,
|
1519
1524
|
role="roles/secretmanager.secretAccessor",
|
1520
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com"
|
1525
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1526
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1521
1527
|
```
|
1522
1528
|
### Cloudrunv2 Service Vpcaccess
|
1523
1529
|
|
@@ -1622,6 +1628,9 @@ class Service(pulumi.CustomResource):
|
|
1622
1628
|
replication=gcp.secretmanager.SecretReplicationArgs(
|
1623
1629
|
auto=gcp.secretmanager.SecretReplicationAutoArgs(),
|
1624
1630
|
))
|
1631
|
+
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1632
|
+
secret=secret.name,
|
1633
|
+
secret_data="secret-data")
|
1625
1634
|
default = gcp.cloudrunv2.Service("default",
|
1626
1635
|
name="cloudrun-service",
|
1627
1636
|
location="us-central1",
|
@@ -1645,15 +1654,14 @@ class Service(pulumi.CustomResource):
|
|
1645
1654
|
mount_path="/secrets",
|
1646
1655
|
)],
|
1647
1656
|
)],
|
1648
|
-
)
|
1657
|
+
),
|
1658
|
+
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1649
1659
|
project = gcp.organizations.get_project()
|
1650
|
-
secret_version_data = gcp.secretmanager.SecretVersion("secret-version-data",
|
1651
|
-
secret=secret.name,
|
1652
|
-
secret_data="secret-data")
|
1653
1660
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1654
1661
|
secret_id=secret.id,
|
1655
1662
|
role="roles/secretmanager.secretAccessor",
|
1656
|
-
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com"
|
1663
|
+
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1664
|
+
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1657
1665
|
```
|
1658
1666
|
### Cloudrunv2 Service Multicontainer
|
1659
1667
|
|
@@ -237,7 +237,7 @@ class UserWorkloadsSecret(pulumi.CustomResource):
|
|
237
237
|
|
238
238
|
* `{{project}}/{{region}}/{{environment}}/{{name}}`
|
239
239
|
|
240
|
-
* `{{name}}`
|
240
|
+
* `{{environment}}/{{name}}`
|
241
241
|
|
242
242
|
When using the `pulumi import` command, Environment can be imported using one of the formats above. For example:
|
243
243
|
|
@@ -250,7 +250,7 @@ class UserWorkloadsSecret(pulumi.CustomResource):
|
|
250
250
|
```
|
251
251
|
|
252
252
|
```sh
|
253
|
-
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{name}}
|
253
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{environment}}/{{name}}
|
254
254
|
```
|
255
255
|
|
256
256
|
:param str resource_name: The name of the resource.
|
@@ -304,7 +304,7 @@ class UserWorkloadsSecret(pulumi.CustomResource):
|
|
304
304
|
|
305
305
|
* `{{project}}/{{region}}/{{environment}}/{{name}}`
|
306
306
|
|
307
|
-
* `{{name}}`
|
307
|
+
* `{{environment}}/{{name}}`
|
308
308
|
|
309
309
|
When using the `pulumi import` command, Environment can be imported using one of the formats above. For example:
|
310
310
|
|
@@ -317,7 +317,7 @@ class UserWorkloadsSecret(pulumi.CustomResource):
|
|
317
317
|
```
|
318
318
|
|
319
319
|
```sh
|
320
|
-
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{name}}
|
320
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{environment}}/{{name}}
|
321
321
|
```
|
322
322
|
|
323
323
|
:param str resource_name: The name of the resource.
|
pulumi_gcp/compute/__init__.py
CHANGED
@@ -82,6 +82,7 @@ from .get_snapshot_iam_policy import *
|
|
82
82
|
from .get_ssl_policy import *
|
83
83
|
from .get_subnetwork import *
|
84
84
|
from .get_subnetwork_iam_policy import *
|
85
|
+
from .get_subnetworks import *
|
85
86
|
from .get_vpn_gateway import *
|
86
87
|
from .get_zones import *
|
87
88
|
from .global_address import *
|