pulumi-gcp 7.33.0a1721887782__py3-none-any.whl → 7.33.0a1721974181__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/_utilities.py +2 -0
- pulumi_gcp/accesscontextmanager/access_level.py +8 -8
- pulumi_gcp/accesscontextmanager/access_level_condition.py +18 -18
- pulumi_gcp/accesscontextmanager/access_levels.py +16 -16
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +8 -8
- pulumi_gcp/accesscontextmanager/service_perimeter.py +66 -66
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +2 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +2 -2
- pulumi_gcp/accesscontextmanager/service_perimeters.py +12 -12
- pulumi_gcp/alloydb/cluster.py +22 -22
- pulumi_gcp/alloydb/instance.py +8 -8
- pulumi_gcp/apigee/addons_config.py +14 -14
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +6 -6
- pulumi_gcp/appengine/application_url_dispatch_rules.py +2 -2
- pulumi_gcp/appengine/domain_mapping.py +2 -2
- pulumi_gcp/appengine/engine_split_traffic.py +10 -10
- pulumi_gcp/appengine/flexible_app_version.py +18 -18
- pulumi_gcp/appengine/service_network_settings.py +4 -4
- pulumi_gcp/appengine/standard_app_version.py +26 -26
- pulumi_gcp/apphub/application.py +12 -12
- pulumi_gcp/apphub/service.py +12 -12
- pulumi_gcp/applicationintegration/auth_config.py +4 -4
- pulumi_gcp/applicationintegration/client.py +8 -8
- pulumi_gcp/artifactregistry/repository.py +102 -102
- pulumi_gcp/assuredworkloads/workload.py +26 -26
- pulumi_gcp/backupdisasterrecovery/management_server.py +2 -2
- pulumi_gcp/beyondcorp/app_connection.py +6 -6
- pulumi_gcp/beyondcorp/app_connector.py +4 -4
- pulumi_gcp/biglake/database.py +2 -2
- pulumi_gcp/biglake/table.py +24 -24
- pulumi_gcp/bigquery/app_profile.py +56 -56
- pulumi_gcp/bigquery/connection.py +42 -42
- pulumi_gcp/bigquery/dataset.py +30 -30
- pulumi_gcp/bigquery/dataset_access.py +26 -26
- pulumi_gcp/bigquery/job.py +126 -126
- pulumi_gcp/bigquery/reservation.py +2 -2
- pulumi_gcp/bigquery/routine.py +40 -40
- pulumi_gcp/bigquery/table.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing.py +2 -2
- pulumi_gcp/bigquerydatapolicy/data_policy.py +2 -2
- pulumi_gcp/bigtable/authorized_view.py +16 -16
- pulumi_gcp/bigtable/gc_policy.py +8 -8
- pulumi_gcp/bigtable/instance.py +24 -24
- pulumi_gcp/bigtable/table.py +6 -6
- pulumi_gcp/billing/budget.py +64 -64
- pulumi_gcp/binaryauthorization/attestor.py +20 -20
- pulumi_gcp/binaryauthorization/policy.py +26 -26
- pulumi_gcp/blockchainnodeengine/blockchain_nodes.py +32 -32
- pulumi_gcp/certificateauthority/authority.py +222 -222
- pulumi_gcp/certificateauthority/ca_pool.py +108 -108
- pulumi_gcp/certificateauthority/certificate.py +338 -338
- pulumi_gcp/certificateauthority/certificate_template.py +70 -70
- pulumi_gcp/certificatemanager/certificate.py +76 -76
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +30 -30
- pulumi_gcp/certificatemanager/certificate_map_entry.py +2 -2
- pulumi_gcp/certificatemanager/trust_config.py +12 -12
- pulumi_gcp/cloudasset/folder_feed.py +2 -2
- pulumi_gcp/cloudasset/organization_feed.py +2 -2
- pulumi_gcp/cloudasset/project_feed.py +2 -2
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +26 -26
- pulumi_gcp/cloudbuild/trigger.py +228 -228
- pulumi_gcp/cloudbuild/worker_pool.py +16 -16
- pulumi_gcp/cloudbuildv2/connection.py +24 -24
- pulumi_gcp/cloudbuildv2/repository.py +18 -18
- pulumi_gcp/clouddeploy/automation.py +16 -16
- pulumi_gcp/clouddeploy/custom_target_type.py +26 -26
- pulumi_gcp/clouddeploy/delivery_pipeline.py +50 -50
- pulumi_gcp/clouddeploy/target.py +6 -6
- pulumi_gcp/clouddomains/registration.py +48 -48
- pulumi_gcp/cloudfunctionsv2/function.py +292 -292
- pulumi_gcp/cloudquota/s_quota_preference.py +2 -2
- pulumi_gcp/cloudrun/domain_mapping.py +2 -2
- pulumi_gcp/cloudrun/service.py +60 -60
- pulumi_gcp/cloudrunv2/job.py +30 -30
- pulumi_gcp/cloudrunv2/service.py +78 -78
- pulumi_gcp/cloudscheduler/job.py +40 -40
- pulumi_gcp/cloudtasks/queue.py +16 -16
- pulumi_gcp/composer/get_image_versions.py +4 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +4 -4
- pulumi_gcp/composer/get_user_workloads_secret.py +4 -4
- pulumi_gcp/composer/user_workloads_config_map.py +4 -4
- pulumi_gcp/composer/user_workloads_secret.py +4 -4
- pulumi_gcp/compute/address.py +6 -6
- pulumi_gcp/compute/attached_disk.py +2 -2
- pulumi_gcp/compute/autoscaler.py +24 -24
- pulumi_gcp/compute/backend_bucket.py +8 -8
- pulumi_gcp/compute/backend_service.py +72 -72
- pulumi_gcp/compute/backend_service_signed_url_key.py +6 -6
- pulumi_gcp/compute/disk_resource_policy_attachment.py +6 -6
- pulumi_gcp/compute/external_vpn_gateway.py +2 -2
- pulumi_gcp/compute/firewall_policy_rule.py +18 -18
- pulumi_gcp/compute/forwarding_rule.py +24 -24
- pulumi_gcp/compute/get_disk.py +2 -2
- pulumi_gcp/compute/get_image.py +2 -2
- pulumi_gcp/compute/get_instance_serial_port.py +4 -4
- pulumi_gcp/compute/global_forwarding_rule.py +50 -50
- pulumi_gcp/compute/ha_vpn_gateway.py +4 -4
- pulumi_gcp/compute/health_check.py +42 -42
- pulumi_gcp/compute/instance.py +4 -4
- pulumi_gcp/compute/instance_from_template.py +6 -6
- pulumi_gcp/compute/instance_group_manager.py +18 -18
- pulumi_gcp/compute/instance_group_membership.py +2 -2
- pulumi_gcp/compute/instance_group_named_port.py +4 -4
- pulumi_gcp/compute/instance_template.py +24 -24
- pulumi_gcp/compute/machine_image.py +6 -6
- pulumi_gcp/compute/managed_ssl_certificate.py +6 -6
- pulumi_gcp/compute/manged_ssl_certificate.py +6 -6
- pulumi_gcp/compute/network_attachment.py +4 -4
- pulumi_gcp/compute/network_endpoint.py +4 -4
- pulumi_gcp/compute/network_endpoint_list.py +12 -12
- pulumi_gcp/compute/network_firewall_policy_rule.py +16 -16
- pulumi_gcp/compute/network_peering_routes_config.py +18 -18
- pulumi_gcp/compute/node_group.py +12 -12
- pulumi_gcp/compute/organization_security_policy_association.py +8 -8
- pulumi_gcp/compute/organization_security_policy_rule.py +8 -8
- pulumi_gcp/compute/packet_mirroring.py +8 -8
- pulumi_gcp/compute/per_instance_config.py +8 -8
- pulumi_gcp/compute/region_autoscaler.py +18 -18
- pulumi_gcp/compute/region_backend_service.py +42 -42
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +6 -6
- pulumi_gcp/compute/region_health_check.py +42 -42
- pulumi_gcp/compute/region_instance_group_manager.py +18 -18
- pulumi_gcp/compute/region_network_endpoint.py +4 -4
- pulumi_gcp/compute/region_network_endpoint_group.py +20 -20
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +16 -16
- pulumi_gcp/compute/region_per_instance_config.py +12 -12
- pulumi_gcp/compute/region_security_policy.py +2 -2
- pulumi_gcp/compute/region_security_policy_rule.py +32 -32
- pulumi_gcp/compute/region_target_http_proxy.py +10 -10
- pulumi_gcp/compute/region_target_https_proxy.py +28 -28
- pulumi_gcp/compute/region_url_map.py +314 -314
- pulumi_gcp/compute/reservation.py +6 -6
- pulumi_gcp/compute/resource_policy.py +56 -56
- pulumi_gcp/compute/router.py +6 -6
- pulumi_gcp/compute/router_nat.py +16 -16
- pulumi_gcp/compute/router_peer.py +16 -16
- pulumi_gcp/compute/security_policy.py +54 -54
- pulumi_gcp/compute/security_policy_rule.py +20 -20
- pulumi_gcp/compute/service_attachment.py +12 -12
- pulumi_gcp/compute/subnetwork.py +8 -8
- pulumi_gcp/compute/target_grpc_proxy.py +66 -66
- pulumi_gcp/compute/target_http_proxy.py +16 -16
- pulumi_gcp/compute/target_https_proxy.py +40 -40
- pulumi_gcp/compute/target_instance.py +10 -10
- pulumi_gcp/compute/url_map.py +324 -324
- pulumi_gcp/container/attached_cluster.py +20 -20
- pulumi_gcp/container/aws_cluster.py +176 -176
- pulumi_gcp/container/aws_node_pool.py +288 -288
- pulumi_gcp/container/azure_cluster.py +34 -34
- pulumi_gcp/container/azure_node_pool.py +38 -38
- pulumi_gcp/container/cluster.py +10 -10
- pulumi_gcp/container/node_pool.py +18 -18
- pulumi_gcp/containeranalysis/note.py +4 -4
- pulumi_gcp/databasemigrationservice/connection_profile.py +60 -60
- pulumi_gcp/databasemigrationservice/private_connection.py +2 -2
- pulumi_gcp/datacatalog/entry.py +2 -2
- pulumi_gcp/datacatalog/tag.py +112 -112
- pulumi_gcp/datacatalog/tag_template.py +28 -28
- pulumi_gcp/dataflow/pipeline.py +32 -32
- pulumi_gcp/dataform/repository.py +10 -10
- pulumi_gcp/dataform/repository_release_config.py +24 -24
- pulumi_gcp/dataform/repository_workflow_config.py +36 -36
- pulumi_gcp/datafusion/instance.py +14 -14
- pulumi_gcp/dataloss/prevention_deidentify_template.py +66 -66
- pulumi_gcp/dataloss/prevention_inspect_template.py +124 -124
- pulumi_gcp/dataloss/prevention_job_trigger.py +292 -292
- pulumi_gcp/dataloss/prevention_stored_info_type.py +10 -10
- pulumi_gcp/dataplex/asset.py +2 -2
- pulumi_gcp/dataplex/datascan.py +76 -76
- pulumi_gcp/dataplex/task.py +64 -64
- pulumi_gcp/dataplex/zone.py +2 -2
- pulumi_gcp/dataproc/autoscaling_policy.py +14 -14
- pulumi_gcp/dataproc/cluster.py +58 -58
- pulumi_gcp/dataproc/job.py +18 -18
- pulumi_gcp/dataproc/metastore_federation.py +10 -10
- pulumi_gcp/dataproc/metastore_service.py +52 -52
- pulumi_gcp/dataproc/workflow_template.py +52 -52
- pulumi_gcp/datastream/connection_profile.py +18 -18
- pulumi_gcp/datastream/stream.py +222 -222
- pulumi_gcp/diagflow/cx_agent.py +22 -22
- pulumi_gcp/diagflow/cx_entity_type.py +2 -2
- pulumi_gcp/diagflow/cx_environment.py +2 -2
- pulumi_gcp/diagflow/cx_flow.py +98 -98
- pulumi_gcp/diagflow/cx_intent.py +6 -6
- pulumi_gcp/diagflow/cx_page.py +154 -154
- pulumi_gcp/diagflow/cx_security_settings.py +22 -22
- pulumi_gcp/diagflow/cx_test_case.py +46 -46
- pulumi_gcp/diagflow/cx_version.py +2 -2
- pulumi_gcp/diagflow/cx_webhook.py +2 -2
- pulumi_gcp/diagflow/fulfillment.py +2 -2
- pulumi_gcp/discoveryengine/chat_engine.py +8 -8
- pulumi_gcp/discoveryengine/data_store.py +12 -12
- pulumi_gcp/dns/get_keys.py +2 -2
- pulumi_gcp/dns/managed_zone.py +48 -48
- pulumi_gcp/dns/policy.py +12 -12
- pulumi_gcp/dns/record_set.py +20 -20
- pulumi_gcp/dns/response_policy.py +26 -26
- pulumi_gcp/dns/response_policy_rule.py +6 -6
- pulumi_gcp/edgecontainer/cluster.py +32 -32
- pulumi_gcp/edgecontainer/node_pool.py +28 -28
- pulumi_gcp/edgecontainer/vpn_connection.py +6 -6
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +20 -20
- pulumi_gcp/eventarc/trigger.py +10 -10
- pulumi_gcp/filestore/backup.py +4 -4
- pulumi_gcp/filestore/instance.py +28 -28
- pulumi_gcp/filestore/snapshot.py +4 -4
- pulumi_gcp/firebase/android_app.py +8 -8
- pulumi_gcp/firebase/apple_app.py +4 -4
- pulumi_gcp/firebase/extensions_instance.py +34 -34
- pulumi_gcp/firebase/hosting_custom_domain.py +2 -2
- pulumi_gcp/firebase/hosting_release.py +4 -4
- pulumi_gcp/firebase/hosting_version.py +4 -4
- pulumi_gcp/firebase/web_app.py +4 -4
- pulumi_gcp/firestore/database.py +4 -4
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/firestore/index.py +16 -16
- pulumi_gcp/folder/access_approval_settings.py +4 -4
- pulumi_gcp/folder/iam_audit_config.py +12 -12
- pulumi_gcp/folder/iam_member.py +12 -12
- pulumi_gcp/folder/iam_policy.py +12 -12
- pulumi_gcp/folder/organization_policy.py +2 -2
- pulumi_gcp/gkebackup/backup_plan.py +130 -130
- pulumi_gcp/gkebackup/restore_plan.py +262 -262
- pulumi_gcp/gkehub/feature.py +90 -90
- pulumi_gcp/gkehub/feature_membership.py +66 -66
- pulumi_gcp/gkehub/fleet.py +4 -4
- pulumi_gcp/gkehub/membership.py +14 -14
- pulumi_gcp/gkehub/membership_binding.py +4 -4
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +6 -6
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +2 -2
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +100 -100
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +182 -182
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +100 -100
- pulumi_gcp/gkeonprem/v_mware_cluster.py +112 -112
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +24 -24
- pulumi_gcp/healthcare/dataset.py +2 -2
- pulumi_gcp/healthcare/dicom_store.py +10 -10
- pulumi_gcp/healthcare/fhir_store.py +22 -22
- pulumi_gcp/healthcare/hl7_store.py +10 -10
- pulumi_gcp/iam/access_boundary_policy.py +16 -16
- pulumi_gcp/iam/deny_policy.py +18 -18
- pulumi_gcp/iam/workforce_pool.py +4 -4
- pulumi_gcp/iam/workforce_pool_provider.py +84 -84
- pulumi_gcp/iam/workload_identity_pool_provider.py +20 -20
- pulumi_gcp/identityplatform/config.py +32 -32
- pulumi_gcp/identityplatform/inbound_saml_config.py +14 -14
- pulumi_gcp/identityplatform/project_default_config.py +10 -10
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +14 -14
- pulumi_gcp/integrationconnectors/connection.py +132 -132
- pulumi_gcp/integrationconnectors/managed_zone.py +2 -2
- pulumi_gcp/kms/ekm_connection.py +6 -6
- pulumi_gcp/kms/get_kms_secret_ciphertext.py +4 -4
- pulumi_gcp/kms/secret_ciphertext.py +4 -4
- pulumi_gcp/logging/folder_bucket_config.py +2 -2
- pulumi_gcp/logging/metric.py +28 -28
- pulumi_gcp/logging/organization_bucket_config.py +2 -2
- pulumi_gcp/logging/project_bucket_config.py +4 -4
- pulumi_gcp/looker/instance.py +38 -38
- pulumi_gcp/managedkafka/cluster.py +18 -18
- pulumi_gcp/managedkafka/topic.py +8 -8
- pulumi_gcp/memcache/instance.py +8 -8
- pulumi_gcp/migrationcenter/preference_set.py +46 -46
- pulumi_gcp/monitoring/alert_policy.py +42 -42
- pulumi_gcp/monitoring/custom_service.py +2 -2
- pulumi_gcp/monitoring/generic_service.py +4 -4
- pulumi_gcp/monitoring/get_app_engine_service.py +2 -2
- pulumi_gcp/monitoring/get_notification_channel.py +8 -8
- pulumi_gcp/monitoring/metric_descriptor.py +10 -10
- pulumi_gcp/monitoring/notification_channel.py +2 -2
- pulumi_gcp/monitoring/slo.py +28 -28
- pulumi_gcp/monitoring/uptime_check_config.py +66 -66
- pulumi_gcp/netapp/backup.py +2 -2
- pulumi_gcp/netapp/volume_replication.py +6 -6
- pulumi_gcp/networkconnectivity/policy_based_route.py +10 -10
- pulumi_gcp/networkconnectivity/spoke.py +16 -16
- pulumi_gcp/networkmanagement/connectivity_test.py +18 -18
- pulumi_gcp/networksecurity/authorization_policy.py +10 -10
- pulumi_gcp/networksecurity/client_tls_policy.py +12 -12
- pulumi_gcp/networksecurity/gateway_security_policy.py +42 -42
- pulumi_gcp/networksecurity/security_profile.py +6 -6
- pulumi_gcp/networksecurity/server_tls_policy.py +36 -36
- pulumi_gcp/networksecurity/tls_inspection_policy.py +92 -92
- pulumi_gcp/networkservices/edge_cache_keyset.py +2 -2
- pulumi_gcp/networkservices/edge_cache_origin.py +30 -30
- pulumi_gcp/networkservices/edge_cache_service.py +260 -260
- pulumi_gcp/networkservices/endpoint_policy.py +14 -14
- pulumi_gcp/networkservices/gateway.py +8 -8
- pulumi_gcp/networkservices/grpc_route.py +36 -36
- pulumi_gcp/networkservices/http_route.py +148 -148
- pulumi_gcp/networkservices/service_lb_policies.py +2 -2
- pulumi_gcp/networkservices/tcp_route.py +16 -16
- pulumi_gcp/networkservices/tls_route.py +12 -12
- pulumi_gcp/notebooks/instance.py +10 -10
- pulumi_gcp/notebooks/runtime.py +90 -90
- pulumi_gcp/organizations/access_approval_settings.py +8 -8
- pulumi_gcp/organizations/iam_audit_config.py +4 -4
- pulumi_gcp/organizations/iam_member.py +12 -12
- pulumi_gcp/organizations/iam_policy.py +12 -12
- pulumi_gcp/organizations/policy.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +12 -12
- pulumi_gcp/osconfig/guest_policies.py +28 -28
- pulumi_gcp/osconfig/os_policy_assignment.py +42 -42
- pulumi_gcp/osconfig/patch_deployment.py +70 -70
- pulumi_gcp/privilegedaccessmanager/entitlement.py +20 -20
- pulumi_gcp/projects/access_approval_settings.py +6 -6
- pulumi_gcp/projects/api_key.py +28 -28
- pulumi_gcp/projects/iam_audit_config.py +12 -12
- pulumi_gcp/projects/iam_binding.py +12 -12
- pulumi_gcp/projects/iam_member.py +12 -12
- pulumi_gcp/projects/iam_policy.py +12 -12
- pulumi_gcp/projects/organization_policy.py +2 -2
- pulumi_gcp/pubsub/lite_subscription.py +8 -8
- pulumi_gcp/pubsub/lite_topic.py +8 -8
- pulumi_gcp/pubsub/subscription.py +50 -50
- pulumi_gcp/pubsub/topic.py +12 -12
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/recaptcha/enterprise_key.py +54 -54
- pulumi_gcp/redis/instance.py +8 -8
- pulumi_gcp/secretmanager/secret.py +6 -6
- pulumi_gcp/secretmanager/secret_version.py +6 -6
- pulumi_gcp/securesourcemanager/instance.py +30 -30
- pulumi_gcp/securesourcemanager/repository.py +2 -2
- pulumi_gcp/securitycenter/folder_custom_module.py +12 -12
- pulumi_gcp/securitycenter/instance_iam_binding.py +14 -14
- pulumi_gcp/securitycenter/instance_iam_member.py +14 -14
- pulumi_gcp/securitycenter/instance_iam_policy.py +14 -14
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +12 -12
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +12 -12
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +12 -12
- pulumi_gcp/securitycenter/organization_custom_module.py +12 -12
- pulumi_gcp/securitycenter/project_custom_module.py +12 -12
- pulumi_gcp/securityposture/posture.py +52 -52
- pulumi_gcp/sourcerepo/repository.py +4 -4
- pulumi_gcp/spanner/instance.py +12 -12
- pulumi_gcp/sql/database_instance.py +28 -28
- pulumi_gcp/sql/user.py +4 -4
- pulumi_gcp/storage/bucket.py +12 -12
- pulumi_gcp/storage/get_project_service_account.py +2 -2
- pulumi_gcp/storage/insights_report_config.py +16 -16
- pulumi_gcp/storage/transfer_agent_pool.py +2 -2
- pulumi_gcp/storage/transfer_job.py +38 -38
- pulumi_gcp/tpu/v2_vm.py +8 -8
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +16 -16
- pulumi_gcp/vertex/ai_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_feature_group.py +6 -6
- pulumi_gcp/vertex/ai_feature_group_feature.py +6 -6
- pulumi_gcp/vertex/ai_feature_online_store.py +22 -22
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +76 -76
- pulumi_gcp/vertex/ai_feature_store.py +14 -14
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +30 -30
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +12 -12
- pulumi_gcp/vertex/ai_index.py +28 -28
- pulumi_gcp/vertex/ai_index_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_tensorboard.py +2 -2
- pulumi_gcp/vmwareengine/cluster.py +36 -36
- pulumi_gcp/vmwareengine/external_access_rule.py +20 -20
- pulumi_gcp/vmwareengine/external_address.py +12 -12
- pulumi_gcp/vmwareengine/private_cloud.py +26 -26
- pulumi_gcp/vmwareengine/subnet.py +12 -12
- pulumi_gcp/workbench/instance.py +66 -66
- pulumi_gcp/workstations/workstation.py +8 -8
- pulumi_gcp/workstations/workstation_cluster.py +4 -4
- pulumi_gcp/workstations/workstation_config.py +122 -122
- {pulumi_gcp-7.33.0a1721887782.dist-info → pulumi_gcp-7.33.0a1721974181.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.33.0a1721887782.dist-info → pulumi_gcp-7.33.0a1721974181.dist-info}/RECORD +367 -367
- {pulumi_gcp-7.33.0a1721887782.dist-info → pulumi_gcp-7.33.0a1721974181.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.33.0a1721887782.dist-info → pulumi_gcp-7.33.0a1721974181.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudbuild/trigger.py
CHANGED
@@ -1053,8 +1053,8 @@ class Trigger(pulumi.CustomResource):
|
|
1053
1053
|
filename_trigger = gcp.cloudbuild.Trigger("filename-trigger",
|
1054
1054
|
location="us-central1",
|
1055
1055
|
trigger_template={
|
1056
|
-
"
|
1057
|
-
"
|
1056
|
+
"branch_name": "main",
|
1057
|
+
"repo_name": "my-repo",
|
1058
1058
|
},
|
1059
1059
|
substitutions={
|
1060
1060
|
"_FOO": "bar",
|
@@ -1072,8 +1072,8 @@ class Trigger(pulumi.CustomResource):
|
|
1072
1072
|
name="my-trigger",
|
1073
1073
|
location="global",
|
1074
1074
|
trigger_template={
|
1075
|
-
"
|
1076
|
-
"
|
1075
|
+
"branch_name": "main",
|
1076
|
+
"repo_name": "my-repo",
|
1077
1077
|
},
|
1078
1078
|
build={
|
1079
1079
|
"steps": [
|
@@ -1085,7 +1085,7 @@ class Trigger(pulumi.CustomResource):
|
|
1085
1085
|
"localfile.zip",
|
1086
1086
|
],
|
1087
1087
|
"timeout": "120s",
|
1088
|
-
"
|
1088
|
+
"secret_envs": ["MY_SECRET"],
|
1089
1089
|
},
|
1090
1090
|
{
|
1091
1091
|
"name": "ubuntu",
|
@@ -1093,7 +1093,7 @@ class Trigger(pulumi.CustomResource):
|
|
1093
1093
|
},
|
1094
1094
|
],
|
1095
1095
|
"source": {
|
1096
|
-
"
|
1096
|
+
"storage_source": {
|
1097
1097
|
"bucket": "mybucket",
|
1098
1098
|
"object": "source_code.tar.gz",
|
1099
1099
|
},
|
@@ -1103,21 +1103,21 @@ class Trigger(pulumi.CustomResource):
|
|
1103
1103
|
"newFeature",
|
1104
1104
|
],
|
1105
1105
|
"substitutions": {
|
1106
|
-
"
|
1107
|
-
"
|
1106
|
+
"__foo": "bar",
|
1107
|
+
"__baz": "qux",
|
1108
1108
|
},
|
1109
|
-
"
|
1110
|
-
"
|
1109
|
+
"queue_ttl": "20s",
|
1110
|
+
"logs_bucket": "gs://mybucket/logs",
|
1111
1111
|
"secrets": [{
|
1112
|
-
"
|
1113
|
-
"
|
1114
|
-
"
|
1112
|
+
"kms_key_name": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1113
|
+
"secret_env": {
|
1114
|
+
"password": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1115
1115
|
},
|
1116
1116
|
}],
|
1117
|
-
"
|
1118
|
-
"
|
1117
|
+
"available_secrets": {
|
1118
|
+
"secret_managers": [{
|
1119
1119
|
"env": "MY_SECRET",
|
1120
|
-
"
|
1120
|
+
"version_name": "projects/myProject/secrets/mySecret/versions/latest",
|
1121
1121
|
}],
|
1122
1122
|
},
|
1123
1123
|
"artifacts": {
|
@@ -1126,34 +1126,34 @@ class Trigger(pulumi.CustomResource):
|
|
1126
1126
|
"location": "gs://bucket/path/to/somewhere/",
|
1127
1127
|
"paths": ["path"],
|
1128
1128
|
},
|
1129
|
-
"
|
1130
|
-
"
|
1129
|
+
"npm_packages": [{
|
1130
|
+
"package_path": "package.json",
|
1131
1131
|
"repository": "https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo",
|
1132
1132
|
}],
|
1133
|
-
"
|
1133
|
+
"python_packages": [{
|
1134
1134
|
"paths": ["dist/*"],
|
1135
1135
|
"repository": "https://us-west1-python.pkg.dev/myProject/quickstart-python-repo",
|
1136
1136
|
}],
|
1137
|
-
"
|
1137
|
+
"maven_artifacts": [{
|
1138
1138
|
"repository": "https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo",
|
1139
1139
|
"path": "/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar",
|
1140
|
-
"
|
1141
|
-
"
|
1140
|
+
"artifact_id": "my-app",
|
1141
|
+
"group_id": "com.mycompany.app",
|
1142
1142
|
"version": "1.0",
|
1143
1143
|
}],
|
1144
1144
|
},
|
1145
1145
|
"options": {
|
1146
|
-
"
|
1147
|
-
"
|
1148
|
-
"
|
1149
|
-
"
|
1150
|
-
"
|
1151
|
-
"
|
1152
|
-
"
|
1153
|
-
"
|
1146
|
+
"source_provenance_hashes": ["MD5"],
|
1147
|
+
"requested_verify_option": "VERIFIED",
|
1148
|
+
"machine_type": "N1_HIGHCPU_8",
|
1149
|
+
"disk_size_gb": 100,
|
1150
|
+
"substitution_option": "ALLOW_LOOSE",
|
1151
|
+
"dynamic_substitutions": True,
|
1152
|
+
"log_streaming_option": "STREAM_OFF",
|
1153
|
+
"worker_pool": "pool",
|
1154
1154
|
"logging": "LEGACY",
|
1155
1155
|
"envs": ["ekey = evalue"],
|
1156
|
-
"
|
1156
|
+
"secret_envs": ["secretenv = svalue"],
|
1157
1157
|
"volumes": [{
|
1158
1158
|
"name": "v1",
|
1159
1159
|
"path": "v1",
|
@@ -1179,8 +1179,8 @@ class Trigger(pulumi.CustomResource):
|
|
1179
1179
|
member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
|
1180
1180
|
service_account_trigger = gcp.cloudbuild.Trigger("service-account-trigger",
|
1181
1181
|
trigger_template={
|
1182
|
-
"
|
1183
|
-
"
|
1182
|
+
"branch_name": "main",
|
1183
|
+
"repo_name": "my-repo",
|
1184
1184
|
},
|
1185
1185
|
service_account=cloudbuild_service_account.id,
|
1186
1186
|
filename="cloudbuild.yaml",
|
@@ -1225,13 +1225,13 @@ class Trigger(pulumi.CustomResource):
|
|
1225
1225
|
source_to_build={
|
1226
1226
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1227
1227
|
"ref": "refs/heads/main",
|
1228
|
-
"
|
1228
|
+
"repo_type": "GITHUB",
|
1229
1229
|
},
|
1230
1230
|
git_file_source={
|
1231
1231
|
"path": "cloudbuild.yaml",
|
1232
1232
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1233
1233
|
"revision": "refs/heads/main",
|
1234
|
-
"
|
1234
|
+
"repo_type": "GITHUB",
|
1235
1235
|
},
|
1236
1236
|
substitutions={
|
1237
1237
|
"_ACTION": "$(body.message.data.action)",
|
@@ -1247,7 +1247,7 @@ class Trigger(pulumi.CustomResource):
|
|
1247
1247
|
webhook_trigger_secret_key = gcp.secretmanager.Secret("webhook_trigger_secret_key",
|
1248
1248
|
secret_id="webhook-trigger-secret-key",
|
1249
1249
|
replication={
|
1250
|
-
"
|
1250
|
+
"user_managed": {
|
1251
1251
|
"replicas": [{
|
1252
1252
|
"location": "us-central1",
|
1253
1253
|
}],
|
@@ -1274,13 +1274,13 @@ class Trigger(pulumi.CustomResource):
|
|
1274
1274
|
source_to_build={
|
1275
1275
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1276
1276
|
"ref": "refs/heads/main",
|
1277
|
-
"
|
1277
|
+
"repo_type": "GITHUB",
|
1278
1278
|
},
|
1279
1279
|
git_file_source={
|
1280
1280
|
"path": "cloudbuild.yaml",
|
1281
1281
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1282
1282
|
"revision": "refs/heads/main",
|
1283
|
-
"
|
1283
|
+
"repo_type": "GITHUB",
|
1284
1284
|
})
|
1285
1285
|
```
|
1286
1286
|
### Cloudbuild Trigger Manual
|
@@ -1294,16 +1294,16 @@ class Trigger(pulumi.CustomResource):
|
|
1294
1294
|
source_to_build={
|
1295
1295
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1296
1296
|
"ref": "refs/heads/main",
|
1297
|
-
"
|
1297
|
+
"repo_type": "GITHUB",
|
1298
1298
|
},
|
1299
1299
|
git_file_source={
|
1300
1300
|
"path": "cloudbuild.yaml",
|
1301
1301
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1302
1302
|
"revision": "refs/heads/main",
|
1303
|
-
"
|
1303
|
+
"repo_type": "GITHUB",
|
1304
1304
|
},
|
1305
1305
|
approval_config={
|
1306
|
-
"
|
1306
|
+
"approval_required": True,
|
1307
1307
|
})
|
1308
1308
|
```
|
1309
1309
|
### Cloudbuild Trigger Manual Github Enterprise
|
@@ -1317,15 +1317,15 @@ class Trigger(pulumi.CustomResource):
|
|
1317
1317
|
source_to_build={
|
1318
1318
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1319
1319
|
"ref": "refs/heads/main",
|
1320
|
-
"
|
1321
|
-
"
|
1320
|
+
"repo_type": "GITHUB",
|
1321
|
+
"github_enterprise_config": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
1322
1322
|
},
|
1323
1323
|
git_file_source={
|
1324
1324
|
"path": "cloudbuild.yaml",
|
1325
1325
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1326
1326
|
"revision": "refs/heads/main",
|
1327
|
-
"
|
1328
|
-
"
|
1327
|
+
"repo_type": "GITHUB",
|
1328
|
+
"github_enterprise_config": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
1329
1329
|
})
|
1330
1330
|
```
|
1331
1331
|
### Cloudbuild Trigger Manual Bitbucket Server
|
@@ -1339,15 +1339,15 @@ class Trigger(pulumi.CustomResource):
|
|
1339
1339
|
source_to_build={
|
1340
1340
|
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
1341
1341
|
"ref": "refs/heads/main",
|
1342
|
-
"
|
1343
|
-
"
|
1342
|
+
"repo_type": "BITBUCKET_SERVER",
|
1343
|
+
"bitbucket_server_config": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
1344
1344
|
},
|
1345
1345
|
git_file_source={
|
1346
1346
|
"path": "cloudbuild.yaml",
|
1347
1347
|
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
1348
1348
|
"revision": "refs/heads/main",
|
1349
|
-
"
|
1350
|
-
"
|
1349
|
+
"repo_type": "BITBUCKET_SERVER",
|
1350
|
+
"bitbucket_server_config": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
1351
1351
|
})
|
1352
1352
|
```
|
1353
1353
|
### Cloudbuild Trigger Repo
|
@@ -1360,9 +1360,9 @@ class Trigger(pulumi.CustomResource):
|
|
1360
1360
|
location="us-central1",
|
1361
1361
|
name="my-connection",
|
1362
1362
|
github_config={
|
1363
|
-
"
|
1364
|
-
"
|
1365
|
-
"
|
1363
|
+
"app_installation_id": 123123,
|
1364
|
+
"authorizer_credential": {
|
1365
|
+
"oauth_token_secret_version": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
1366
1366
|
},
|
1367
1367
|
})
|
1368
1368
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
@@ -1389,12 +1389,12 @@ class Trigger(pulumi.CustomResource):
|
|
1389
1389
|
name="bbs-push-trigger",
|
1390
1390
|
location="us-central1",
|
1391
1391
|
bitbucket_server_trigger_config={
|
1392
|
-
"
|
1393
|
-
"
|
1394
|
-
"
|
1392
|
+
"repo_slug": "bbs-push-trigger",
|
1393
|
+
"project_key": "STAG",
|
1394
|
+
"bitbucket_server_config_resource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
1395
1395
|
"push": {
|
1396
1396
|
"tag": "^0.1.*",
|
1397
|
-
"
|
1397
|
+
"invert_regex": True,
|
1398
1398
|
},
|
1399
1399
|
},
|
1400
1400
|
filename="cloudbuild.yaml")
|
@@ -1409,13 +1409,13 @@ class Trigger(pulumi.CustomResource):
|
|
1409
1409
|
name="ghe-trigger",
|
1410
1410
|
location="us-central1",
|
1411
1411
|
bitbucket_server_trigger_config={
|
1412
|
-
"
|
1413
|
-
"
|
1414
|
-
"
|
1415
|
-
"
|
1412
|
+
"repo_slug": "terraform-provider-google",
|
1413
|
+
"project_key": "STAG",
|
1414
|
+
"bitbucket_server_config_resource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
1415
|
+
"pull_request": {
|
1416
1416
|
"branch": "^master$",
|
1417
|
-
"
|
1418
|
-
"
|
1417
|
+
"invert_regex": False,
|
1418
|
+
"comment_control": "COMMENTS_ENABLED",
|
1419
1419
|
},
|
1420
1420
|
},
|
1421
1421
|
filename="cloudbuild.yaml")
|
@@ -1435,7 +1435,7 @@ class Trigger(pulumi.CustomResource):
|
|
1435
1435
|
"push": {
|
1436
1436
|
"branch": "^main$",
|
1437
1437
|
},
|
1438
|
-
"
|
1438
|
+
"enterprise_config_resource_name": "projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
|
1439
1439
|
},
|
1440
1440
|
filename="cloudbuild.yaml")
|
1441
1441
|
```
|
@@ -1449,8 +1449,8 @@ class Trigger(pulumi.CustomResource):
|
|
1449
1449
|
name="my-trigger",
|
1450
1450
|
location="global",
|
1451
1451
|
trigger_template={
|
1452
|
-
"
|
1453
|
-
"
|
1452
|
+
"branch_name": "main",
|
1453
|
+
"repo_name": "my-repo",
|
1454
1454
|
},
|
1455
1455
|
build={
|
1456
1456
|
"steps": [{
|
@@ -1459,10 +1459,10 @@ class Trigger(pulumi.CustomResource):
|
|
1459
1459
|
"-c",
|
1460
1460
|
"exit 1",
|
1461
1461
|
],
|
1462
|
-
"
|
1462
|
+
"allow_failure": True,
|
1463
1463
|
}],
|
1464
1464
|
"source": {
|
1465
|
-
"
|
1465
|
+
"storage_source": {
|
1466
1466
|
"bucket": "mybucket",
|
1467
1467
|
"object": "source_code.tar.gz",
|
1468
1468
|
},
|
@@ -1472,21 +1472,21 @@ class Trigger(pulumi.CustomResource):
|
|
1472
1472
|
"newFeature",
|
1473
1473
|
],
|
1474
1474
|
"substitutions": {
|
1475
|
-
"
|
1476
|
-
"
|
1475
|
+
"__foo": "bar",
|
1476
|
+
"__baz": "qux",
|
1477
1477
|
},
|
1478
|
-
"
|
1479
|
-
"
|
1478
|
+
"queue_ttl": "20s",
|
1479
|
+
"logs_bucket": "gs://mybucket/logs",
|
1480
1480
|
"secrets": [{
|
1481
|
-
"
|
1482
|
-
"
|
1483
|
-
"
|
1481
|
+
"kms_key_name": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1482
|
+
"secret_env": {
|
1483
|
+
"password": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1484
1484
|
},
|
1485
1485
|
}],
|
1486
|
-
"
|
1487
|
-
"
|
1486
|
+
"available_secrets": {
|
1487
|
+
"secret_managers": [{
|
1488
1488
|
"env": "MY_SECRET",
|
1489
|
-
"
|
1489
|
+
"version_name": "projects/myProject/secrets/mySecret/versions/latest",
|
1490
1490
|
}],
|
1491
1491
|
},
|
1492
1492
|
"artifacts": {
|
@@ -1497,17 +1497,17 @@ class Trigger(pulumi.CustomResource):
|
|
1497
1497
|
},
|
1498
1498
|
},
|
1499
1499
|
"options": {
|
1500
|
-
"
|
1501
|
-
"
|
1502
|
-
"
|
1503
|
-
"
|
1504
|
-
"
|
1505
|
-
"
|
1506
|
-
"
|
1507
|
-
"
|
1500
|
+
"source_provenance_hashes": ["MD5"],
|
1501
|
+
"requested_verify_option": "VERIFIED",
|
1502
|
+
"machine_type": "N1_HIGHCPU_8",
|
1503
|
+
"disk_size_gb": 100,
|
1504
|
+
"substitution_option": "ALLOW_LOOSE",
|
1505
|
+
"dynamic_substitutions": True,
|
1506
|
+
"log_streaming_option": "STREAM_OFF",
|
1507
|
+
"worker_pool": "pool",
|
1508
1508
|
"logging": "LEGACY",
|
1509
1509
|
"envs": ["ekey = evalue"],
|
1510
|
-
"
|
1510
|
+
"secret_envs": ["secretenv = svalue"],
|
1511
1511
|
"volumes": [{
|
1512
1512
|
"name": "v1",
|
1513
1513
|
"path": "v1",
|
@@ -1525,8 +1525,8 @@ class Trigger(pulumi.CustomResource):
|
|
1525
1525
|
name="my-trigger",
|
1526
1526
|
location="global",
|
1527
1527
|
trigger_template={
|
1528
|
-
"
|
1529
|
-
"
|
1528
|
+
"branch_name": "main",
|
1529
|
+
"repo_name": "my-repo",
|
1530
1530
|
},
|
1531
1531
|
build={
|
1532
1532
|
"steps": [{
|
@@ -1535,13 +1535,13 @@ class Trigger(pulumi.CustomResource):
|
|
1535
1535
|
"-c",
|
1536
1536
|
"exit 1",
|
1537
1537
|
],
|
1538
|
-
"
|
1538
|
+
"allow_exit_codes": [
|
1539
1539
|
1,
|
1540
1540
|
3,
|
1541
1541
|
],
|
1542
1542
|
}],
|
1543
1543
|
"source": {
|
1544
|
-
"
|
1544
|
+
"storage_source": {
|
1545
1545
|
"bucket": "mybucket",
|
1546
1546
|
"object": "source_code.tar.gz",
|
1547
1547
|
},
|
@@ -1551,21 +1551,21 @@ class Trigger(pulumi.CustomResource):
|
|
1551
1551
|
"newFeature",
|
1552
1552
|
],
|
1553
1553
|
"substitutions": {
|
1554
|
-
"
|
1555
|
-
"
|
1554
|
+
"__foo": "bar",
|
1555
|
+
"__baz": "qux",
|
1556
1556
|
},
|
1557
|
-
"
|
1558
|
-
"
|
1557
|
+
"queue_ttl": "20s",
|
1558
|
+
"logs_bucket": "gs://mybucket/logs",
|
1559
1559
|
"secrets": [{
|
1560
|
-
"
|
1561
|
-
"
|
1562
|
-
"
|
1560
|
+
"kms_key_name": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1561
|
+
"secret_env": {
|
1562
|
+
"password": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1563
1563
|
},
|
1564
1564
|
}],
|
1565
|
-
"
|
1566
|
-
"
|
1565
|
+
"available_secrets": {
|
1566
|
+
"secret_managers": [{
|
1567
1567
|
"env": "MY_SECRET",
|
1568
|
-
"
|
1568
|
+
"version_name": "projects/myProject/secrets/mySecret/versions/latest",
|
1569
1569
|
}],
|
1570
1570
|
},
|
1571
1571
|
"artifacts": {
|
@@ -1576,17 +1576,17 @@ class Trigger(pulumi.CustomResource):
|
|
1576
1576
|
},
|
1577
1577
|
},
|
1578
1578
|
"options": {
|
1579
|
-
"
|
1580
|
-
"
|
1581
|
-
"
|
1582
|
-
"
|
1583
|
-
"
|
1584
|
-
"
|
1585
|
-
"
|
1586
|
-
"
|
1579
|
+
"source_provenance_hashes": ["MD5"],
|
1580
|
+
"requested_verify_option": "VERIFIED",
|
1581
|
+
"machine_type": "N1_HIGHCPU_8",
|
1582
|
+
"disk_size_gb": 100,
|
1583
|
+
"substitution_option": "ALLOW_LOOSE",
|
1584
|
+
"dynamic_substitutions": True,
|
1585
|
+
"log_streaming_option": "STREAM_OFF",
|
1586
|
+
"worker_pool": "pool",
|
1587
1587
|
"logging": "LEGACY",
|
1588
1588
|
"envs": ["ekey = evalue"],
|
1589
|
-
"
|
1589
|
+
"secret_envs": ["secretenv = svalue"],
|
1590
1590
|
"volumes": [{
|
1591
1591
|
"name": "v1",
|
1592
1592
|
"path": "v1",
|
@@ -1604,9 +1604,9 @@ class Trigger(pulumi.CustomResource):
|
|
1604
1604
|
location="us-central1",
|
1605
1605
|
name="my-connection",
|
1606
1606
|
github_config={
|
1607
|
-
"
|
1608
|
-
"
|
1609
|
-
"
|
1607
|
+
"app_installation_id": 123123,
|
1608
|
+
"authorizer_credential": {
|
1609
|
+
"oauth_token_secret_version": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
1610
1610
|
},
|
1611
1611
|
})
|
1612
1612
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
@@ -1623,13 +1623,13 @@ class Trigger(pulumi.CustomResource):
|
|
1623
1623
|
source_to_build={
|
1624
1624
|
"repository": my_repository.id,
|
1625
1625
|
"ref": "refs/heads/main",
|
1626
|
-
"
|
1626
|
+
"repo_type": "GITHUB",
|
1627
1627
|
},
|
1628
1628
|
git_file_source={
|
1629
1629
|
"path": "cloudbuild.yaml",
|
1630
1630
|
"repository": my_repository.id,
|
1631
1631
|
"revision": "refs/heads/main",
|
1632
|
-
"
|
1632
|
+
"repo_type": "GITHUB",
|
1633
1633
|
})
|
1634
1634
|
```
|
1635
1635
|
|
@@ -1767,8 +1767,8 @@ class Trigger(pulumi.CustomResource):
|
|
1767
1767
|
filename_trigger = gcp.cloudbuild.Trigger("filename-trigger",
|
1768
1768
|
location="us-central1",
|
1769
1769
|
trigger_template={
|
1770
|
-
"
|
1771
|
-
"
|
1770
|
+
"branch_name": "main",
|
1771
|
+
"repo_name": "my-repo",
|
1772
1772
|
},
|
1773
1773
|
substitutions={
|
1774
1774
|
"_FOO": "bar",
|
@@ -1786,8 +1786,8 @@ class Trigger(pulumi.CustomResource):
|
|
1786
1786
|
name="my-trigger",
|
1787
1787
|
location="global",
|
1788
1788
|
trigger_template={
|
1789
|
-
"
|
1790
|
-
"
|
1789
|
+
"branch_name": "main",
|
1790
|
+
"repo_name": "my-repo",
|
1791
1791
|
},
|
1792
1792
|
build={
|
1793
1793
|
"steps": [
|
@@ -1799,7 +1799,7 @@ class Trigger(pulumi.CustomResource):
|
|
1799
1799
|
"localfile.zip",
|
1800
1800
|
],
|
1801
1801
|
"timeout": "120s",
|
1802
|
-
"
|
1802
|
+
"secret_envs": ["MY_SECRET"],
|
1803
1803
|
},
|
1804
1804
|
{
|
1805
1805
|
"name": "ubuntu",
|
@@ -1807,7 +1807,7 @@ class Trigger(pulumi.CustomResource):
|
|
1807
1807
|
},
|
1808
1808
|
],
|
1809
1809
|
"source": {
|
1810
|
-
"
|
1810
|
+
"storage_source": {
|
1811
1811
|
"bucket": "mybucket",
|
1812
1812
|
"object": "source_code.tar.gz",
|
1813
1813
|
},
|
@@ -1817,21 +1817,21 @@ class Trigger(pulumi.CustomResource):
|
|
1817
1817
|
"newFeature",
|
1818
1818
|
],
|
1819
1819
|
"substitutions": {
|
1820
|
-
"
|
1821
|
-
"
|
1820
|
+
"__foo": "bar",
|
1821
|
+
"__baz": "qux",
|
1822
1822
|
},
|
1823
|
-
"
|
1824
|
-
"
|
1823
|
+
"queue_ttl": "20s",
|
1824
|
+
"logs_bucket": "gs://mybucket/logs",
|
1825
1825
|
"secrets": [{
|
1826
|
-
"
|
1827
|
-
"
|
1828
|
-
"
|
1826
|
+
"kms_key_name": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1827
|
+
"secret_env": {
|
1828
|
+
"password": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1829
1829
|
},
|
1830
1830
|
}],
|
1831
|
-
"
|
1832
|
-
"
|
1831
|
+
"available_secrets": {
|
1832
|
+
"secret_managers": [{
|
1833
1833
|
"env": "MY_SECRET",
|
1834
|
-
"
|
1834
|
+
"version_name": "projects/myProject/secrets/mySecret/versions/latest",
|
1835
1835
|
}],
|
1836
1836
|
},
|
1837
1837
|
"artifacts": {
|
@@ -1840,34 +1840,34 @@ class Trigger(pulumi.CustomResource):
|
|
1840
1840
|
"location": "gs://bucket/path/to/somewhere/",
|
1841
1841
|
"paths": ["path"],
|
1842
1842
|
},
|
1843
|
-
"
|
1844
|
-
"
|
1843
|
+
"npm_packages": [{
|
1844
|
+
"package_path": "package.json",
|
1845
1845
|
"repository": "https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo",
|
1846
1846
|
}],
|
1847
|
-
"
|
1847
|
+
"python_packages": [{
|
1848
1848
|
"paths": ["dist/*"],
|
1849
1849
|
"repository": "https://us-west1-python.pkg.dev/myProject/quickstart-python-repo",
|
1850
1850
|
}],
|
1851
|
-
"
|
1851
|
+
"maven_artifacts": [{
|
1852
1852
|
"repository": "https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo",
|
1853
1853
|
"path": "/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar",
|
1854
|
-
"
|
1855
|
-
"
|
1854
|
+
"artifact_id": "my-app",
|
1855
|
+
"group_id": "com.mycompany.app",
|
1856
1856
|
"version": "1.0",
|
1857
1857
|
}],
|
1858
1858
|
},
|
1859
1859
|
"options": {
|
1860
|
-
"
|
1861
|
-
"
|
1862
|
-
"
|
1863
|
-
"
|
1864
|
-
"
|
1865
|
-
"
|
1866
|
-
"
|
1867
|
-
"
|
1860
|
+
"source_provenance_hashes": ["MD5"],
|
1861
|
+
"requested_verify_option": "VERIFIED",
|
1862
|
+
"machine_type": "N1_HIGHCPU_8",
|
1863
|
+
"disk_size_gb": 100,
|
1864
|
+
"substitution_option": "ALLOW_LOOSE",
|
1865
|
+
"dynamic_substitutions": True,
|
1866
|
+
"log_streaming_option": "STREAM_OFF",
|
1867
|
+
"worker_pool": "pool",
|
1868
1868
|
"logging": "LEGACY",
|
1869
1869
|
"envs": ["ekey = evalue"],
|
1870
|
-
"
|
1870
|
+
"secret_envs": ["secretenv = svalue"],
|
1871
1871
|
"volumes": [{
|
1872
1872
|
"name": "v1",
|
1873
1873
|
"path": "v1",
|
@@ -1893,8 +1893,8 @@ class Trigger(pulumi.CustomResource):
|
|
1893
1893
|
member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
|
1894
1894
|
service_account_trigger = gcp.cloudbuild.Trigger("service-account-trigger",
|
1895
1895
|
trigger_template={
|
1896
|
-
"
|
1897
|
-
"
|
1896
|
+
"branch_name": "main",
|
1897
|
+
"repo_name": "my-repo",
|
1898
1898
|
},
|
1899
1899
|
service_account=cloudbuild_service_account.id,
|
1900
1900
|
filename="cloudbuild.yaml",
|
@@ -1939,13 +1939,13 @@ class Trigger(pulumi.CustomResource):
|
|
1939
1939
|
source_to_build={
|
1940
1940
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1941
1941
|
"ref": "refs/heads/main",
|
1942
|
-
"
|
1942
|
+
"repo_type": "GITHUB",
|
1943
1943
|
},
|
1944
1944
|
git_file_source={
|
1945
1945
|
"path": "cloudbuild.yaml",
|
1946
1946
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1947
1947
|
"revision": "refs/heads/main",
|
1948
|
-
"
|
1948
|
+
"repo_type": "GITHUB",
|
1949
1949
|
},
|
1950
1950
|
substitutions={
|
1951
1951
|
"_ACTION": "$(body.message.data.action)",
|
@@ -1961,7 +1961,7 @@ class Trigger(pulumi.CustomResource):
|
|
1961
1961
|
webhook_trigger_secret_key = gcp.secretmanager.Secret("webhook_trigger_secret_key",
|
1962
1962
|
secret_id="webhook-trigger-secret-key",
|
1963
1963
|
replication={
|
1964
|
-
"
|
1964
|
+
"user_managed": {
|
1965
1965
|
"replicas": [{
|
1966
1966
|
"location": "us-central1",
|
1967
1967
|
}],
|
@@ -1988,13 +1988,13 @@ class Trigger(pulumi.CustomResource):
|
|
1988
1988
|
source_to_build={
|
1989
1989
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1990
1990
|
"ref": "refs/heads/main",
|
1991
|
-
"
|
1991
|
+
"repo_type": "GITHUB",
|
1992
1992
|
},
|
1993
1993
|
git_file_source={
|
1994
1994
|
"path": "cloudbuild.yaml",
|
1995
1995
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1996
1996
|
"revision": "refs/heads/main",
|
1997
|
-
"
|
1997
|
+
"repo_type": "GITHUB",
|
1998
1998
|
})
|
1999
1999
|
```
|
2000
2000
|
### Cloudbuild Trigger Manual
|
@@ -2008,16 +2008,16 @@ class Trigger(pulumi.CustomResource):
|
|
2008
2008
|
source_to_build={
|
2009
2009
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2010
2010
|
"ref": "refs/heads/main",
|
2011
|
-
"
|
2011
|
+
"repo_type": "GITHUB",
|
2012
2012
|
},
|
2013
2013
|
git_file_source={
|
2014
2014
|
"path": "cloudbuild.yaml",
|
2015
2015
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2016
2016
|
"revision": "refs/heads/main",
|
2017
|
-
"
|
2017
|
+
"repo_type": "GITHUB",
|
2018
2018
|
},
|
2019
2019
|
approval_config={
|
2020
|
-
"
|
2020
|
+
"approval_required": True,
|
2021
2021
|
})
|
2022
2022
|
```
|
2023
2023
|
### Cloudbuild Trigger Manual Github Enterprise
|
@@ -2031,15 +2031,15 @@ class Trigger(pulumi.CustomResource):
|
|
2031
2031
|
source_to_build={
|
2032
2032
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2033
2033
|
"ref": "refs/heads/main",
|
2034
|
-
"
|
2035
|
-
"
|
2034
|
+
"repo_type": "GITHUB",
|
2035
|
+
"github_enterprise_config": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
2036
2036
|
},
|
2037
2037
|
git_file_source={
|
2038
2038
|
"path": "cloudbuild.yaml",
|
2039
2039
|
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2040
2040
|
"revision": "refs/heads/main",
|
2041
|
-
"
|
2042
|
-
"
|
2041
|
+
"repo_type": "GITHUB",
|
2042
|
+
"github_enterprise_config": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
2043
2043
|
})
|
2044
2044
|
```
|
2045
2045
|
### Cloudbuild Trigger Manual Bitbucket Server
|
@@ -2053,15 +2053,15 @@ class Trigger(pulumi.CustomResource):
|
|
2053
2053
|
source_to_build={
|
2054
2054
|
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
2055
2055
|
"ref": "refs/heads/main",
|
2056
|
-
"
|
2057
|
-
"
|
2056
|
+
"repo_type": "BITBUCKET_SERVER",
|
2057
|
+
"bitbucket_server_config": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
2058
2058
|
},
|
2059
2059
|
git_file_source={
|
2060
2060
|
"path": "cloudbuild.yaml",
|
2061
2061
|
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
2062
2062
|
"revision": "refs/heads/main",
|
2063
|
-
"
|
2064
|
-
"
|
2063
|
+
"repo_type": "BITBUCKET_SERVER",
|
2064
|
+
"bitbucket_server_config": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
2065
2065
|
})
|
2066
2066
|
```
|
2067
2067
|
### Cloudbuild Trigger Repo
|
@@ -2074,9 +2074,9 @@ class Trigger(pulumi.CustomResource):
|
|
2074
2074
|
location="us-central1",
|
2075
2075
|
name="my-connection",
|
2076
2076
|
github_config={
|
2077
|
-
"
|
2078
|
-
"
|
2079
|
-
"
|
2077
|
+
"app_installation_id": 123123,
|
2078
|
+
"authorizer_credential": {
|
2079
|
+
"oauth_token_secret_version": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
2080
2080
|
},
|
2081
2081
|
})
|
2082
2082
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
@@ -2103,12 +2103,12 @@ class Trigger(pulumi.CustomResource):
|
|
2103
2103
|
name="bbs-push-trigger",
|
2104
2104
|
location="us-central1",
|
2105
2105
|
bitbucket_server_trigger_config={
|
2106
|
-
"
|
2107
|
-
"
|
2108
|
-
"
|
2106
|
+
"repo_slug": "bbs-push-trigger",
|
2107
|
+
"project_key": "STAG",
|
2108
|
+
"bitbucket_server_config_resource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
2109
2109
|
"push": {
|
2110
2110
|
"tag": "^0.1.*",
|
2111
|
-
"
|
2111
|
+
"invert_regex": True,
|
2112
2112
|
},
|
2113
2113
|
},
|
2114
2114
|
filename="cloudbuild.yaml")
|
@@ -2123,13 +2123,13 @@ class Trigger(pulumi.CustomResource):
|
|
2123
2123
|
name="ghe-trigger",
|
2124
2124
|
location="us-central1",
|
2125
2125
|
bitbucket_server_trigger_config={
|
2126
|
-
"
|
2127
|
-
"
|
2128
|
-
"
|
2129
|
-
"
|
2126
|
+
"repo_slug": "terraform-provider-google",
|
2127
|
+
"project_key": "STAG",
|
2128
|
+
"bitbucket_server_config_resource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
2129
|
+
"pull_request": {
|
2130
2130
|
"branch": "^master$",
|
2131
|
-
"
|
2132
|
-
"
|
2131
|
+
"invert_regex": False,
|
2132
|
+
"comment_control": "COMMENTS_ENABLED",
|
2133
2133
|
},
|
2134
2134
|
},
|
2135
2135
|
filename="cloudbuild.yaml")
|
@@ -2149,7 +2149,7 @@ class Trigger(pulumi.CustomResource):
|
|
2149
2149
|
"push": {
|
2150
2150
|
"branch": "^main$",
|
2151
2151
|
},
|
2152
|
-
"
|
2152
|
+
"enterprise_config_resource_name": "projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
|
2153
2153
|
},
|
2154
2154
|
filename="cloudbuild.yaml")
|
2155
2155
|
```
|
@@ -2163,8 +2163,8 @@ class Trigger(pulumi.CustomResource):
|
|
2163
2163
|
name="my-trigger",
|
2164
2164
|
location="global",
|
2165
2165
|
trigger_template={
|
2166
|
-
"
|
2167
|
-
"
|
2166
|
+
"branch_name": "main",
|
2167
|
+
"repo_name": "my-repo",
|
2168
2168
|
},
|
2169
2169
|
build={
|
2170
2170
|
"steps": [{
|
@@ -2173,10 +2173,10 @@ class Trigger(pulumi.CustomResource):
|
|
2173
2173
|
"-c",
|
2174
2174
|
"exit 1",
|
2175
2175
|
],
|
2176
|
-
"
|
2176
|
+
"allow_failure": True,
|
2177
2177
|
}],
|
2178
2178
|
"source": {
|
2179
|
-
"
|
2179
|
+
"storage_source": {
|
2180
2180
|
"bucket": "mybucket",
|
2181
2181
|
"object": "source_code.tar.gz",
|
2182
2182
|
},
|
@@ -2186,21 +2186,21 @@ class Trigger(pulumi.CustomResource):
|
|
2186
2186
|
"newFeature",
|
2187
2187
|
],
|
2188
2188
|
"substitutions": {
|
2189
|
-
"
|
2190
|
-
"
|
2189
|
+
"__foo": "bar",
|
2190
|
+
"__baz": "qux",
|
2191
2191
|
},
|
2192
|
-
"
|
2193
|
-
"
|
2192
|
+
"queue_ttl": "20s",
|
2193
|
+
"logs_bucket": "gs://mybucket/logs",
|
2194
2194
|
"secrets": [{
|
2195
|
-
"
|
2196
|
-
"
|
2197
|
-
"
|
2195
|
+
"kms_key_name": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
2196
|
+
"secret_env": {
|
2197
|
+
"password": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
2198
2198
|
},
|
2199
2199
|
}],
|
2200
|
-
"
|
2201
|
-
"
|
2200
|
+
"available_secrets": {
|
2201
|
+
"secret_managers": [{
|
2202
2202
|
"env": "MY_SECRET",
|
2203
|
-
"
|
2203
|
+
"version_name": "projects/myProject/secrets/mySecret/versions/latest",
|
2204
2204
|
}],
|
2205
2205
|
},
|
2206
2206
|
"artifacts": {
|
@@ -2211,17 +2211,17 @@ class Trigger(pulumi.CustomResource):
|
|
2211
2211
|
},
|
2212
2212
|
},
|
2213
2213
|
"options": {
|
2214
|
-
"
|
2215
|
-
"
|
2216
|
-
"
|
2217
|
-
"
|
2218
|
-
"
|
2219
|
-
"
|
2220
|
-
"
|
2221
|
-
"
|
2214
|
+
"source_provenance_hashes": ["MD5"],
|
2215
|
+
"requested_verify_option": "VERIFIED",
|
2216
|
+
"machine_type": "N1_HIGHCPU_8",
|
2217
|
+
"disk_size_gb": 100,
|
2218
|
+
"substitution_option": "ALLOW_LOOSE",
|
2219
|
+
"dynamic_substitutions": True,
|
2220
|
+
"log_streaming_option": "STREAM_OFF",
|
2221
|
+
"worker_pool": "pool",
|
2222
2222
|
"logging": "LEGACY",
|
2223
2223
|
"envs": ["ekey = evalue"],
|
2224
|
-
"
|
2224
|
+
"secret_envs": ["secretenv = svalue"],
|
2225
2225
|
"volumes": [{
|
2226
2226
|
"name": "v1",
|
2227
2227
|
"path": "v1",
|
@@ -2239,8 +2239,8 @@ class Trigger(pulumi.CustomResource):
|
|
2239
2239
|
name="my-trigger",
|
2240
2240
|
location="global",
|
2241
2241
|
trigger_template={
|
2242
|
-
"
|
2243
|
-
"
|
2242
|
+
"branch_name": "main",
|
2243
|
+
"repo_name": "my-repo",
|
2244
2244
|
},
|
2245
2245
|
build={
|
2246
2246
|
"steps": [{
|
@@ -2249,13 +2249,13 @@ class Trigger(pulumi.CustomResource):
|
|
2249
2249
|
"-c",
|
2250
2250
|
"exit 1",
|
2251
2251
|
],
|
2252
|
-
"
|
2252
|
+
"allow_exit_codes": [
|
2253
2253
|
1,
|
2254
2254
|
3,
|
2255
2255
|
],
|
2256
2256
|
}],
|
2257
2257
|
"source": {
|
2258
|
-
"
|
2258
|
+
"storage_source": {
|
2259
2259
|
"bucket": "mybucket",
|
2260
2260
|
"object": "source_code.tar.gz",
|
2261
2261
|
},
|
@@ -2265,21 +2265,21 @@ class Trigger(pulumi.CustomResource):
|
|
2265
2265
|
"newFeature",
|
2266
2266
|
],
|
2267
2267
|
"substitutions": {
|
2268
|
-
"
|
2269
|
-
"
|
2268
|
+
"__foo": "bar",
|
2269
|
+
"__baz": "qux",
|
2270
2270
|
},
|
2271
|
-
"
|
2272
|
-
"
|
2271
|
+
"queue_ttl": "20s",
|
2272
|
+
"logs_bucket": "gs://mybucket/logs",
|
2273
2273
|
"secrets": [{
|
2274
|
-
"
|
2275
|
-
"
|
2276
|
-
"
|
2274
|
+
"kms_key_name": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
2275
|
+
"secret_env": {
|
2276
|
+
"password": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
2277
2277
|
},
|
2278
2278
|
}],
|
2279
|
-
"
|
2280
|
-
"
|
2279
|
+
"available_secrets": {
|
2280
|
+
"secret_managers": [{
|
2281
2281
|
"env": "MY_SECRET",
|
2282
|
-
"
|
2282
|
+
"version_name": "projects/myProject/secrets/mySecret/versions/latest",
|
2283
2283
|
}],
|
2284
2284
|
},
|
2285
2285
|
"artifacts": {
|
@@ -2290,17 +2290,17 @@ class Trigger(pulumi.CustomResource):
|
|
2290
2290
|
},
|
2291
2291
|
},
|
2292
2292
|
"options": {
|
2293
|
-
"
|
2294
|
-
"
|
2295
|
-
"
|
2296
|
-
"
|
2297
|
-
"
|
2298
|
-
"
|
2299
|
-
"
|
2300
|
-
"
|
2293
|
+
"source_provenance_hashes": ["MD5"],
|
2294
|
+
"requested_verify_option": "VERIFIED",
|
2295
|
+
"machine_type": "N1_HIGHCPU_8",
|
2296
|
+
"disk_size_gb": 100,
|
2297
|
+
"substitution_option": "ALLOW_LOOSE",
|
2298
|
+
"dynamic_substitutions": True,
|
2299
|
+
"log_streaming_option": "STREAM_OFF",
|
2300
|
+
"worker_pool": "pool",
|
2301
2301
|
"logging": "LEGACY",
|
2302
2302
|
"envs": ["ekey = evalue"],
|
2303
|
-
"
|
2303
|
+
"secret_envs": ["secretenv = svalue"],
|
2304
2304
|
"volumes": [{
|
2305
2305
|
"name": "v1",
|
2306
2306
|
"path": "v1",
|
@@ -2318,9 +2318,9 @@ class Trigger(pulumi.CustomResource):
|
|
2318
2318
|
location="us-central1",
|
2319
2319
|
name="my-connection",
|
2320
2320
|
github_config={
|
2321
|
-
"
|
2322
|
-
"
|
2323
|
-
"
|
2321
|
+
"app_installation_id": 123123,
|
2322
|
+
"authorizer_credential": {
|
2323
|
+
"oauth_token_secret_version": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
2324
2324
|
},
|
2325
2325
|
})
|
2326
2326
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
@@ -2337,13 +2337,13 @@ class Trigger(pulumi.CustomResource):
|
|
2337
2337
|
source_to_build={
|
2338
2338
|
"repository": my_repository.id,
|
2339
2339
|
"ref": "refs/heads/main",
|
2340
|
-
"
|
2340
|
+
"repo_type": "GITHUB",
|
2341
2341
|
},
|
2342
2342
|
git_file_source={
|
2343
2343
|
"path": "cloudbuild.yaml",
|
2344
2344
|
"repository": my_repository.id,
|
2345
2345
|
"revision": "refs/heads/main",
|
2346
|
-
"
|
2346
|
+
"repo_type": "GITHUB",
|
2347
2347
|
})
|
2348
2348
|
```
|
2349
2349
|
|