pulumi-gcp 7.30.0a1719470057__py3-none-any.whl → 7.30.0a1719513455__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/_inputs.py +15 -0
- pulumi_gcp/accessapproval/get_folder_service_account.py +5 -0
- pulumi_gcp/accessapproval/get_organization_service_account.py +5 -0
- pulumi_gcp/accessapproval/get_project_service_account.py +5 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +2066 -6
- pulumi_gcp/accesscontextmanager/access_level.py +37 -32
- pulumi_gcp/accesscontextmanager/access_level_condition.py +53 -48
- pulumi_gcp/accesscontextmanager/access_levels.py +70 -65
- pulumi_gcp/accesscontextmanager/access_policy.py +5 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +24 -19
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +24 -19
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +21 -16
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +5 -0
- pulumi_gcp/accesscontextmanager/egress_policy.py +5 -0
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +33 -28
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +5 -0
- pulumi_gcp/accesscontextmanager/ingress_policy.py +5 -0
- pulumi_gcp/accesscontextmanager/outputs.py +5 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +201 -196
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +11 -6
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +15 -10
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +15 -10
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +11 -6
- pulumi_gcp/accesscontextmanager/service_perimeters.py +60 -55
- pulumi_gcp/activedirectory/domain.py +5 -0
- pulumi_gcp/activedirectory/domain_trust.py +5 -0
- pulumi_gcp/activedirectory/peering.py +5 -0
- pulumi_gcp/alloydb/_inputs.py +535 -0
- pulumi_gcp/alloydb/backup.py +26 -21
- pulumi_gcp/alloydb/cluster.py +177 -172
- pulumi_gcp/alloydb/get_locations.py +5 -0
- pulumi_gcp/alloydb/get_supported_database_flags.py +5 -0
- pulumi_gcp/alloydb/instance.py +77 -72
- pulumi_gcp/alloydb/outputs.py +5 -0
- pulumi_gcp/alloydb/user.py +17 -12
- pulumi_gcp/apigateway/_inputs.py +168 -0
- pulumi_gcp/apigateway/api.py +5 -0
- pulumi_gcp/apigateway/api_config.py +25 -20
- pulumi_gcp/apigateway/api_config_iam_binding.py +24 -19
- pulumi_gcp/apigateway/api_config_iam_member.py +24 -19
- pulumi_gcp/apigateway/api_config_iam_policy.py +21 -16
- pulumi_gcp/apigateway/api_iam_binding.py +24 -19
- pulumi_gcp/apigateway/api_iam_member.py +24 -19
- pulumi_gcp/apigateway/api_iam_policy.py +21 -16
- pulumi_gcp/apigateway/gateway.py +5 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +24 -19
- pulumi_gcp/apigateway/gateway_iam_member.py +24 -19
- pulumi_gcp/apigateway/gateway_iam_policy.py +21 -16
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +5 -0
- pulumi_gcp/apigateway/get_api_iam_policy.py +5 -0
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +5 -0
- pulumi_gcp/apigateway/outputs.py +5 -0
- pulumi_gcp/apigee/_inputs.py +508 -0
- pulumi_gcp/apigee/addons_config.py +60 -55
- pulumi_gcp/apigee/endpoint_attachment.py +5 -0
- pulumi_gcp/apigee/env_group.py +5 -0
- pulumi_gcp/apigee/env_group_attachment.py +5 -0
- pulumi_gcp/apigee/env_keystore.py +5 -0
- pulumi_gcp/apigee/env_references.py +5 -0
- pulumi_gcp/apigee/environment.py +10 -5
- pulumi_gcp/apigee/environment_iam_binding.py +24 -19
- pulumi_gcp/apigee/environment_iam_member.py +24 -19
- pulumi_gcp/apigee/environment_iam_policy.py +21 -16
- pulumi_gcp/apigee/flowhook.py +5 -0
- pulumi_gcp/apigee/get_environment_iam_policy.py +5 -0
- pulumi_gcp/apigee/instance.py +5 -0
- pulumi_gcp/apigee/instance_attachment.py +5 -0
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +10 -5
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +7 -2
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +31 -26
- pulumi_gcp/apigee/nat_address.py +5 -0
- pulumi_gcp/apigee/organization.py +10 -5
- pulumi_gcp/apigee/outputs.py +5 -0
- pulumi_gcp/apigee/sharedflow.py +7 -2
- pulumi_gcp/apigee/sharedflow_deployment.py +5 -0
- pulumi_gcp/apigee/sync_authorization.py +5 -0
- pulumi_gcp/apigee/target_server.py +10 -5
- pulumi_gcp/appengine/_inputs.py +990 -7
- pulumi_gcp/appengine/application.py +17 -12
- pulumi_gcp/appengine/application_url_dispatch_rules.py +46 -41
- pulumi_gcp/appengine/domain_mapping.py +18 -13
- pulumi_gcp/appengine/engine_split_traffic.py +50 -45
- pulumi_gcp/appengine/firewall_rule.py +5 -0
- pulumi_gcp/appengine/flexible_app_version.py +130 -125
- pulumi_gcp/appengine/get_default_service_account.py +5 -0
- pulumi_gcp/appengine/outputs.py +5 -0
- pulumi_gcp/appengine/service_network_settings.py +32 -27
- pulumi_gcp/appengine/standard_app_version.py +109 -104
- pulumi_gcp/apphub/_inputs.py +370 -0
- pulumi_gcp/apphub/application.py +67 -62
- pulumi_gcp/apphub/get_application.py +5 -0
- pulumi_gcp/apphub/get_discovered_service.py +5 -0
- pulumi_gcp/apphub/get_discovered_workload.py +5 -0
- pulumi_gcp/apphub/outputs.py +5 -0
- pulumi_gcp/apphub/service.py +78 -73
- pulumi_gcp/apphub/service_project_attachment.py +5 -0
- pulumi_gcp/apphub/workload.py +14 -9
- pulumi_gcp/applicationintegration/_inputs.py +324 -0
- pulumi_gcp/applicationintegration/auth_config.py +29 -24
- pulumi_gcp/applicationintegration/client.py +24 -19
- pulumi_gcp/applicationintegration/outputs.py +5 -0
- pulumi_gcp/artifactregistry/_inputs.py +392 -0
- pulumi_gcp/artifactregistry/get_docker_image.py +5 -0
- pulumi_gcp/artifactregistry/get_repository.py +5 -0
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +5 -0
- pulumi_gcp/artifactregistry/outputs.py +5 -0
- pulumi_gcp/artifactregistry/repository.py +338 -333
- pulumi_gcp/artifactregistry/repository_iam_binding.py +24 -19
- pulumi_gcp/artifactregistry/repository_iam_member.py +24 -19
- pulumi_gcp/artifactregistry/repository_iam_policy.py +21 -16
- pulumi_gcp/artifactregistry/vpcsc_config.py +5 -0
- pulumi_gcp/assuredworkloads/_inputs.py +117 -0
- pulumi_gcp/assuredworkloads/outputs.py +5 -0
- pulumi_gcp/assuredworkloads/workload.py +86 -81
- pulumi_gcp/backupdisasterrecovery/_inputs.py +41 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +5 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +20 -15
- pulumi_gcp/backupdisasterrecovery/outputs.py +5 -0
- pulumi_gcp/beyondcorp/_inputs.py +86 -0
- pulumi_gcp/beyondcorp/app_connection.py +57 -52
- pulumi_gcp/beyondcorp/app_connector.py +30 -25
- pulumi_gcp/beyondcorp/app_gateway.py +7 -2
- pulumi_gcp/beyondcorp/get_app_connection.py +5 -0
- pulumi_gcp/beyondcorp/get_app_connector.py +5 -0
- pulumi_gcp/beyondcorp/get_app_gateway.py +5 -0
- pulumi_gcp/beyondcorp/outputs.py +5 -0
- pulumi_gcp/biglake/_inputs.py +64 -0
- pulumi_gcp/biglake/catalog.py +5 -0
- pulumi_gcp/biglake/database.py +18 -13
- pulumi_gcp/biglake/outputs.py +5 -0
- pulumi_gcp/biglake/table.py +36 -31
- pulumi_gcp/bigquery/_inputs.py +1930 -6
- pulumi_gcp/bigquery/app_profile.py +133 -128
- pulumi_gcp/bigquery/bi_reservation.py +10 -5
- pulumi_gcp/bigquery/capacity_commitment.py +5 -0
- pulumi_gcp/bigquery/connection.py +181 -176
- pulumi_gcp/bigquery/connection_iam_binding.py +24 -19
- pulumi_gcp/bigquery/connection_iam_member.py +24 -19
- pulumi_gcp/bigquery/connection_iam_policy.py +21 -16
- pulumi_gcp/bigquery/data_transfer_config.py +20 -15
- pulumi_gcp/bigquery/dataset.py +132 -127
- pulumi_gcp/bigquery/dataset_access.py +72 -67
- pulumi_gcp/bigquery/dataset_iam_binding.py +24 -19
- pulumi_gcp/bigquery/dataset_iam_member.py +24 -19
- pulumi_gcp/bigquery/dataset_iam_policy.py +21 -16
- pulumi_gcp/bigquery/get_connection_iam_policy.py +5 -0
- pulumi_gcp/bigquery/get_dataset.py +5 -0
- pulumi_gcp/bigquery/get_dataset_iam_policy.py +5 -0
- pulumi_gcp/bigquery/get_default_service_account.py +5 -0
- pulumi_gcp/bigquery/get_table_iam_policy.py +5 -0
- pulumi_gcp/bigquery/iam_binding.py +102 -97
- pulumi_gcp/bigquery/iam_member.py +102 -97
- pulumi_gcp/bigquery/iam_policy.py +97 -92
- pulumi_gcp/bigquery/job.py +229 -224
- pulumi_gcp/bigquery/outputs.py +5 -0
- pulumi_gcp/bigquery/reservation.py +16 -11
- pulumi_gcp/bigquery/reservation_assignment.py +5 -0
- pulumi_gcp/bigquery/routine.py +114 -109
- pulumi_gcp/bigquery/table.py +67 -62
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +97 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +5 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +24 -19
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +24 -19
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +21 -16
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +5 -0
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +5 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +45 -40
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +24 -19
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +24 -19
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +21 -16
- pulumi_gcp/bigqueryanalyticshub/outputs.py +5 -0
- pulumi_gcp/bigquerydatapolicy/_inputs.py +40 -0
- pulumi_gcp/bigquerydatapolicy/data_policy.py +24 -19
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +24 -19
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +24 -19
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +21 -16
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +5 -0
- pulumi_gcp/bigquerydatapolicy/outputs.py +5 -0
- pulumi_gcp/bigtable/_inputs.py +202 -0
- pulumi_gcp/bigtable/authorized_view.py +10 -5
- pulumi_gcp/bigtable/gc_policy.py +45 -40
- pulumi_gcp/bigtable/get_instance_iam_policy.py +5 -0
- pulumi_gcp/bigtable/get_table_iam_policy.py +5 -0
- pulumi_gcp/bigtable/instance.py +52 -47
- pulumi_gcp/bigtable/instance_iam_binding.py +24 -19
- pulumi_gcp/bigtable/instance_iam_member.py +24 -19
- pulumi_gcp/bigtable/instance_iam_policy.py +21 -16
- pulumi_gcp/bigtable/outputs.py +5 -0
- pulumi_gcp/bigtable/table.py +39 -34
- pulumi_gcp/bigtable/table_iam_binding.py +24 -19
- pulumi_gcp/bigtable/table_iam_member.py +24 -19
- pulumi_gcp/bigtable/table_iam_policy.py +21 -16
- pulumi_gcp/billing/_inputs.py +257 -0
- pulumi_gcp/billing/account_iam_binding.py +24 -19
- pulumi_gcp/billing/account_iam_member.py +24 -19
- pulumi_gcp/billing/account_iam_policy.py +21 -16
- pulumi_gcp/billing/budget.py +225 -220
- pulumi_gcp/billing/get_account_iam_policy.py +5 -0
- pulumi_gcp/billing/outputs.py +5 -0
- pulumi_gcp/billing/project_info.py +5 -0
- pulumi_gcp/billing/sub_account.py +5 -0
- pulumi_gcp/binaryauthorization/_inputs.py +199 -0
- pulumi_gcp/binaryauthorization/attestor.py +68 -63
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +24 -19
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +24 -19
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +21 -16
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +5 -0
- pulumi_gcp/binaryauthorization/outputs.py +5 -0
- pulumi_gcp/binaryauthorization/policy.py +88 -83
- pulumi_gcp/blockchainnodeengine/_inputs.py +131 -0
- pulumi_gcp/blockchainnodeengine/blockchain_nodes.py +62 -57
- pulumi_gcp/blockchainnodeengine/outputs.py +5 -0
- pulumi_gcp/certificateauthority/_inputs.py +2157 -36
- pulumi_gcp/certificateauthority/authority.py +398 -393
- pulumi_gcp/certificateauthority/ca_pool.py +189 -184
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +102 -97
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +102 -97
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +97 -92
- pulumi_gcp/certificateauthority/certificate.py +636 -631
- pulumi_gcp/certificateauthority/certificate_template.py +134 -129
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +102 -97
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +102 -97
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +97 -92
- pulumi_gcp/certificateauthority/get_authority.py +5 -0
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +5 -0
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +5 -0
- pulumi_gcp/certificateauthority/outputs.py +5 -0
- pulumi_gcp/certificatemanager/_inputs.py +256 -0
- pulumi_gcp/certificatemanager/certificate.py +203 -198
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +76 -71
- pulumi_gcp/certificatemanager/certificate_map.py +7 -2
- pulumi_gcp/certificatemanager/certificate_map_entry.py +13 -8
- pulumi_gcp/certificatemanager/dns_authorization.py +7 -2
- pulumi_gcp/certificatemanager/get_certificate_map.py +5 -0
- pulumi_gcp/certificatemanager/outputs.py +5 -0
- pulumi_gcp/certificatemanager/trust_config.py +26 -21
- pulumi_gcp/cloudasset/_inputs.py +151 -0
- pulumi_gcp/cloudasset/folder_feed.py +35 -30
- pulumi_gcp/cloudasset/get_resources_search_all.py +5 -0
- pulumi_gcp/cloudasset/get_search_all_resources.py +5 -0
- pulumi_gcp/cloudasset/organization_feed.py +35 -30
- pulumi_gcp/cloudasset/outputs.py +5 -0
- pulumi_gcp/cloudasset/project_feed.py +35 -30
- pulumi_gcp/cloudbuild/_inputs.py +1038 -29
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +61 -56
- pulumi_gcp/cloudbuild/get_trigger.py +5 -0
- pulumi_gcp/cloudbuild/outputs.py +5 -0
- pulumi_gcp/cloudbuild/trigger.py +733 -728
- pulumi_gcp/cloudbuild/worker_pool.py +43 -38
- pulumi_gcp/cloudbuildv2/_inputs.py +335 -0
- pulumi_gcp/cloudbuildv2/connection.py +106 -101
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +24 -19
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +24 -19
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +21 -16
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +5 -0
- pulumi_gcp/cloudbuildv2/outputs.py +5 -0
- pulumi_gcp/cloudbuildv2/repository.py +67 -62
- pulumi_gcp/clouddeploy/_inputs.py +700 -0
- pulumi_gcp/clouddeploy/automation.py +101 -96
- pulumi_gcp/clouddeploy/custom_target_type.py +88 -83
- pulumi_gcp/clouddeploy/custom_target_type_iam_binding.py +8 -3
- pulumi_gcp/clouddeploy/custom_target_type_iam_member.py +8 -3
- pulumi_gcp/clouddeploy/custom_target_type_iam_policy.py +5 -0
- pulumi_gcp/clouddeploy/delivery_pipeline.py +162 -157
- pulumi_gcp/clouddeploy/delivery_pipeline_iam_binding.py +8 -3
- pulumi_gcp/clouddeploy/delivery_pipeline_iam_member.py +8 -3
- pulumi_gcp/clouddeploy/delivery_pipeline_iam_policy.py +5 -0
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +5 -0
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +5 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +5 -0
- pulumi_gcp/clouddeploy/outputs.py +5 -0
- pulumi_gcp/clouddeploy/target.py +69 -64
- pulumi_gcp/clouddeploy/target_iam_binding.py +8 -3
- pulumi_gcp/clouddeploy/target_iam_member.py +8 -3
- pulumi_gcp/clouddeploy/target_iam_policy.py +5 -0
- pulumi_gcp/clouddomains/_inputs.py +372 -0
- pulumi_gcp/clouddomains/outputs.py +5 -0
- pulumi_gcp/clouddomains/registration.py +121 -116
- pulumi_gcp/cloudfunctions/_inputs.py +132 -0
- pulumi_gcp/cloudfunctions/function.py +25 -20
- pulumi_gcp/cloudfunctions/function_iam_binding.py +24 -19
- pulumi_gcp/cloudfunctions/function_iam_member.py +24 -19
- pulumi_gcp/cloudfunctions/function_iam_policy.py +21 -16
- pulumi_gcp/cloudfunctions/get_function.py +5 -0
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +5 -0
- pulumi_gcp/cloudfunctions/outputs.py +5 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +357 -0
- pulumi_gcp/cloudfunctionsv2/function.py +514 -509
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +24 -19
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +24 -19
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +21 -16
- pulumi_gcp/cloudfunctionsv2/get_function.py +5 -0
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +5 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +5 -0
- pulumi_gcp/cloudidentity/_inputs.py +161 -0
- pulumi_gcp/cloudidentity/get_group_lookup.py +9 -4
- pulumi_gcp/cloudidentity/get_group_memberships.py +5 -0
- pulumi_gcp/cloudidentity/get_groups.py +5 -0
- pulumi_gcp/cloudidentity/group.py +18 -13
- pulumi_gcp/cloudidentity/group_membership.py +68 -63
- pulumi_gcp/cloudidentity/outputs.py +5 -0
- pulumi_gcp/cloudids/endpoint.py +5 -0
- pulumi_gcp/cloudquota/_inputs.py +44 -0
- pulumi_gcp/cloudquota/get_s_quota_info.py +5 -0
- pulumi_gcp/cloudquota/get_s_quota_infos.py +5 -0
- pulumi_gcp/cloudquota/outputs.py +5 -0
- pulumi_gcp/cloudquota/s_quota_preference.py +16 -11
- pulumi_gcp/cloudrun/_inputs.py +1165 -15
- pulumi_gcp/cloudrun/domain_mapping.py +49 -44
- pulumi_gcp/cloudrun/get_locations.py +5 -0
- pulumi_gcp/cloudrun/get_service.py +5 -0
- pulumi_gcp/cloudrun/get_service_iam_policy.py +5 -0
- pulumi_gcp/cloudrun/iam_binding.py +24 -19
- pulumi_gcp/cloudrun/iam_member.py +24 -19
- pulumi_gcp/cloudrun/iam_policy.py +21 -16
- pulumi_gcp/cloudrun/outputs.py +5 -0
- pulumi_gcp/cloudrun/service.py +270 -265
- pulumi_gcp/cloudrunv2/_inputs.py +1338 -5
- pulumi_gcp/cloudrunv2/get_job.py +5 -0
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +5 -0
- pulumi_gcp/cloudrunv2/get_service.py +5 -0
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +5 -0
- pulumi_gcp/cloudrunv2/job.py +287 -282
- pulumi_gcp/cloudrunv2/job_iam_binding.py +24 -19
- pulumi_gcp/cloudrunv2/job_iam_member.py +24 -19
- pulumi_gcp/cloudrunv2/job_iam_policy.py +21 -16
- pulumi_gcp/cloudrunv2/outputs.py +5 -0
- pulumi_gcp/cloudrunv2/service.py +437 -432
- pulumi_gcp/cloudrunv2/service_iam_binding.py +24 -19
- pulumi_gcp/cloudrunv2/service_iam_member.py +24 -19
- pulumi_gcp/cloudrunv2/service_iam_policy.py +21 -16
- pulumi_gcp/cloudscheduler/_inputs.py +193 -0
- pulumi_gcp/cloudscheduler/job.py +127 -122
- pulumi_gcp/cloudscheduler/outputs.py +5 -0
- pulumi_gcp/cloudtasks/_inputs.py +134 -0
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +5 -0
- pulumi_gcp/cloudtasks/outputs.py +5 -0
- pulumi_gcp/cloudtasks/queue.py +63 -58
- pulumi_gcp/cloudtasks/queue_iam_binding.py +24 -19
- pulumi_gcp/cloudtasks/queue_iam_member.py +24 -19
- pulumi_gcp/cloudtasks/queue_iam_policy.py +21 -16
- pulumi_gcp/composer/_inputs.py +566 -0
- pulumi_gcp/composer/environment.py +15 -10
- pulumi_gcp/composer/get_environment.py +5 -0
- pulumi_gcp/composer/get_image_versions.py +15 -10
- pulumi_gcp/composer/get_user_workloads_config_map.py +15 -10
- pulumi_gcp/composer/get_user_workloads_secret.py +15 -10
- pulumi_gcp/composer/outputs.py +5 -0
- pulumi_gcp/composer/user_workloads_config_map.py +15 -10
- pulumi_gcp/composer/user_workloads_secret.py +15 -10
- pulumi_gcp/compute/_inputs.py +13512 -145
- pulumi_gcp/compute/address.py +27 -22
- pulumi_gcp/compute/attached_disk.py +21 -16
- pulumi_gcp/compute/autoscaler.py +98 -93
- pulumi_gcp/compute/backend_bucket.py +30 -25
- pulumi_gcp/compute/backend_bucket_iam_binding.py +8 -3
- pulumi_gcp/compute/backend_bucket_iam_member.py +8 -3
- pulumi_gcp/compute/backend_bucket_iam_policy.py +5 -0
- pulumi_gcp/compute/backend_bucket_signed_url_key.py +5 -0
- pulumi_gcp/compute/backend_service.py +204 -199
- pulumi_gcp/compute/backend_service_iam_binding.py +10 -5
- pulumi_gcp/compute/backend_service_iam_member.py +10 -5
- pulumi_gcp/compute/backend_service_iam_policy.py +5 -0
- pulumi_gcp/compute/backend_service_signed_url_key.py +35 -30
- pulumi_gcp/compute/ca_external_account_key.py +5 -0
- pulumi_gcp/compute/disk.py +54 -49
- pulumi_gcp/compute/disk_async_replication.py +10 -5
- pulumi_gcp/compute/disk_iam_binding.py +24 -19
- pulumi_gcp/compute/disk_iam_member.py +24 -19
- pulumi_gcp/compute/disk_iam_policy.py +21 -16
- pulumi_gcp/compute/disk_resource_policy_attachment.py +21 -16
- pulumi_gcp/compute/external_vpn_gateway.py +24 -19
- pulumi_gcp/compute/firewall.py +42 -37
- pulumi_gcp/compute/firewall_policy.py +5 -0
- pulumi_gcp/compute/firewall_policy_association.py +5 -0
- pulumi_gcp/compute/firewall_policy_rule.py +44 -39
- pulumi_gcp/compute/forwarding_rule.py +248 -243
- pulumi_gcp/compute/get_address.py +5 -0
- pulumi_gcp/compute/get_addresses.py +5 -0
- pulumi_gcp/compute/get_backend_bucket.py +5 -0
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +5 -0
- pulumi_gcp/compute/get_backend_service.py +5 -0
- pulumi_gcp/compute/get_backend_service_iam_policy.py +5 -0
- pulumi_gcp/compute/get_certificate.py +5 -0
- pulumi_gcp/compute/get_default_service_account.py +5 -0
- pulumi_gcp/compute/get_disk.py +13 -8
- pulumi_gcp/compute/get_disk_iam_policy.py +5 -0
- pulumi_gcp/compute/get_forwarding_rule.py +5 -0
- pulumi_gcp/compute/get_forwarding_rules.py +5 -0
- pulumi_gcp/compute/get_global_address.py +5 -0
- pulumi_gcp/compute/get_global_forwarding_rule.py +5 -0
- pulumi_gcp/compute/get_hc_vpn_gateway.py +5 -0
- pulumi_gcp/compute/get_health_check.py +5 -0
- pulumi_gcp/compute/get_image.py +15 -10
- pulumi_gcp/compute/get_image_iam_policy.py +5 -0
- pulumi_gcp/compute/get_instance.py +5 -0
- pulumi_gcp/compute/get_instance_group.py +5 -0
- pulumi_gcp/compute/get_instance_group_manager.py +5 -0
- pulumi_gcp/compute/get_instance_iam_policy.py +5 -0
- pulumi_gcp/compute/get_instance_serial_port.py +29 -24
- pulumi_gcp/compute/get_instance_template.py +5 -0
- pulumi_gcp/compute/get_lbip_ranges.py +5 -0
- pulumi_gcp/compute/get_machine_image_iam_policy.py +5 -0
- pulumi_gcp/compute/get_machine_types.py +5 -0
- pulumi_gcp/compute/get_netblock_ip_ranges.py +5 -0
- pulumi_gcp/compute/get_network.py +5 -0
- pulumi_gcp/compute/get_network_endpoint_group.py +5 -0
- pulumi_gcp/compute/get_network_peering.py +5 -0
- pulumi_gcp/compute/get_networks.py +5 -0
- pulumi_gcp/compute/get_node_types.py +5 -0
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +5 -0
- pulumi_gcp/compute/get_region_disk.py +5 -0
- pulumi_gcp/compute/get_region_disk_iam_policy.py +5 -0
- pulumi_gcp/compute/get_region_instance_group.py +5 -0
- pulumi_gcp/compute/get_region_instance_template.py +5 -0
- pulumi_gcp/compute/get_region_network_endpoint_group.py +5 -0
- pulumi_gcp/compute/get_region_ssl_certificate.py +5 -0
- pulumi_gcp/compute/get_regions.py +5 -0
- pulumi_gcp/compute/get_reservation.py +5 -0
- pulumi_gcp/compute/get_resource_policy.py +5 -0
- pulumi_gcp/compute/get_router.py +5 -0
- pulumi_gcp/compute/get_router_nat.py +5 -0
- pulumi_gcp/compute/get_router_status.py +5 -0
- pulumi_gcp/compute/get_security_policy.py +5 -0
- pulumi_gcp/compute/get_snapshot.py +5 -0
- pulumi_gcp/compute/get_snapshot_iam_policy.py +5 -0
- pulumi_gcp/compute/get_ssl_policy.py +5 -0
- pulumi_gcp/compute/get_subnetwork.py +5 -0
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +5 -0
- pulumi_gcp/compute/get_subnetworks.py +5 -0
- pulumi_gcp/compute/get_vpn_gateway.py +5 -0
- pulumi_gcp/compute/get_zones.py +5 -0
- pulumi_gcp/compute/global_address.py +5 -0
- pulumi_gcp/compute/global_forwarding_rule.py +211 -206
- pulumi_gcp/compute/global_network_endpoint.py +5 -0
- pulumi_gcp/compute/global_network_endpoint_group.py +5 -0
- pulumi_gcp/compute/ha_vpn_gateway.py +32 -27
- pulumi_gcp/compute/health_check.py +174 -169
- pulumi_gcp/compute/http_health_check.py +5 -0
- pulumi_gcp/compute/https_health_check.py +5 -0
- pulumi_gcp/compute/image.py +50 -45
- pulumi_gcp/compute/image_iam_binding.py +102 -97
- pulumi_gcp/compute/image_iam_member.py +102 -97
- pulumi_gcp/compute/image_iam_policy.py +97 -92
- pulumi_gcp/compute/instance.py +104 -99
- pulumi_gcp/compute/instance_from_machine_image.py +61 -56
- pulumi_gcp/compute/instance_from_template.py +88 -83
- pulumi_gcp/compute/instance_group.py +26 -21
- pulumi_gcp/compute/instance_group_manager.py +138 -133
- pulumi_gcp/compute/instance_group_membership.py +21 -16
- pulumi_gcp/compute/instance_group_named_port.py +13 -8
- pulumi_gcp/compute/instance_iam_binding.py +102 -97
- pulumi_gcp/compute/instance_iam_member.py +102 -97
- pulumi_gcp/compute/instance_iam_policy.py +97 -92
- pulumi_gcp/compute/instance_settings.py +16 -11
- pulumi_gcp/compute/instance_template.py +147 -142
- pulumi_gcp/compute/interconnect.py +14 -9
- pulumi_gcp/compute/interconnect_attachment.py +19 -14
- pulumi_gcp/compute/machine_image.py +48 -43
- pulumi_gcp/compute/machine_image_iam_binding.py +102 -97
- pulumi_gcp/compute/machine_image_iam_member.py +102 -97
- pulumi_gcp/compute/machine_image_iam_policy.py +97 -92
- pulumi_gcp/compute/managed_ssl_certificate.py +40 -35
- pulumi_gcp/compute/manged_ssl_certificate.py +40 -35
- pulumi_gcp/compute/network.py +5 -0
- pulumi_gcp/compute/network_attachment.py +29 -24
- pulumi_gcp/compute/network_edge_security_service.py +5 -0
- pulumi_gcp/compute/network_endpoint.py +23 -18
- pulumi_gcp/compute/network_endpoint_group.py +5 -0
- pulumi_gcp/compute/network_endpoint_list.py +66 -61
- pulumi_gcp/compute/network_firewall_policy.py +5 -0
- pulumi_gcp/compute/network_firewall_policy_association.py +5 -0
- pulumi_gcp/compute/network_firewall_policy_rule.py +41 -36
- pulumi_gcp/compute/network_peering.py +5 -0
- pulumi_gcp/compute/network_peering_routes_config.py +41 -36
- pulumi_gcp/compute/node_group.py +50 -45
- pulumi_gcp/compute/node_template.py +21 -16
- pulumi_gcp/compute/organization_security_policy.py +5 -0
- pulumi_gcp/compute/organization_security_policy_association.py +31 -26
- pulumi_gcp/compute/organization_security_policy_rule.py +36 -31
- pulumi_gcp/compute/outputs.py +5 -0
- pulumi_gcp/compute/packet_mirroring.py +83 -78
- pulumi_gcp/compute/per_instance_config.py +56 -51
- pulumi_gcp/compute/project_cloud_armor_tier.py +5 -0
- pulumi_gcp/compute/project_default_network_tier.py +5 -0
- pulumi_gcp/compute/project_metadata.py +5 -0
- pulumi_gcp/compute/project_metadata_item.py +5 -0
- pulumi_gcp/compute/public_advertised_prefix.py +5 -0
- pulumi_gcp/compute/public_delegated_prefix.py +5 -0
- pulumi_gcp/compute/region_autoscaler.py +60 -55
- pulumi_gcp/compute/region_backend_service.py +203 -198
- pulumi_gcp/compute/region_backend_service_iam_binding.py +10 -5
- pulumi_gcp/compute/region_backend_service_iam_member.py +10 -5
- pulumi_gcp/compute/region_backend_service_iam_policy.py +5 -0
- pulumi_gcp/compute/region_commitment.py +47 -42
- pulumi_gcp/compute/region_disk.py +49 -44
- pulumi_gcp/compute/region_disk_iam_binding.py +24 -19
- pulumi_gcp/compute/region_disk_iam_member.py +24 -19
- pulumi_gcp/compute/region_disk_iam_policy.py +21 -16
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +21 -16
- pulumi_gcp/compute/region_health_check.py +174 -169
- pulumi_gcp/compute/region_instance_group_manager.py +134 -129
- pulumi_gcp/compute/region_instance_template.py +55 -50
- pulumi_gcp/compute/region_network_endpoint.py +23 -18
- pulumi_gcp/compute/region_network_endpoint_group.py +135 -130
- pulumi_gcp/compute/region_network_firewall_policy.py +5 -0
- pulumi_gcp/compute/region_network_firewall_policy_association.py +5 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +41 -36
- pulumi_gcp/compute/region_per_instance_config.py +66 -61
- pulumi_gcp/compute/region_security_policy.py +49 -44
- pulumi_gcp/compute/region_security_policy_rule.py +161 -156
- pulumi_gcp/compute/region_ssl_certificate.py +5 -0
- pulumi_gcp/compute/region_ssl_policy.py +5 -0
- pulumi_gcp/compute/region_target_http_proxy.py +43 -38
- pulumi_gcp/compute/region_target_https_proxy.py +97 -92
- pulumi_gcp/compute/region_target_tcp_proxy.py +11 -6
- pulumi_gcp/compute/region_url_map.py +824 -819
- pulumi_gcp/compute/reservation.py +29 -24
- pulumi_gcp/compute/resource_policy.py +153 -148
- pulumi_gcp/compute/route.py +17 -12
- pulumi_gcp/compute/router.py +40 -35
- pulumi_gcp/compute/router_interface.py +5 -0
- pulumi_gcp/compute/router_nat.py +98 -93
- pulumi_gcp/compute/router_peer.py +78 -73
- pulumi_gcp/compute/router_status.py +5 -0
- pulumi_gcp/compute/security_policy.py +201 -196
- pulumi_gcp/compute/security_policy_rule.py +80 -75
- pulumi_gcp/compute/security_scan_config.py +15 -10
- pulumi_gcp/compute/service_attachment.py +60 -55
- pulumi_gcp/compute/shared_vpc_host_project.py +5 -0
- pulumi_gcp/compute/shared_vpc_service_project.py +5 -0
- pulumi_gcp/compute/snapshot.py +15 -10
- pulumi_gcp/compute/snapshot_iam_binding.py +24 -19
- pulumi_gcp/compute/snapshot_iam_member.py +24 -19
- pulumi_gcp/compute/snapshot_iam_policy.py +21 -16
- pulumi_gcp/compute/ssl_certificate.py +5 -0
- pulumi_gcp/compute/ssl_policy.py +5 -0
- pulumi_gcp/compute/subnetwork.py +33 -28
- pulumi_gcp/compute/subnetwork_iam_binding.py +102 -97
- pulumi_gcp/compute/subnetwork_iam_member.py +102 -97
- pulumi_gcp/compute/subnetwork_iam_policy.py +97 -92
- pulumi_gcp/compute/target_grpc_proxy.py +129 -124
- pulumi_gcp/compute/target_http_proxy.py +61 -56
- pulumi_gcp/compute/target_https_proxy.py +133 -128
- pulumi_gcp/compute/target_instance.py +63 -58
- pulumi_gcp/compute/target_pool.py +5 -0
- pulumi_gcp/compute/target_ssl_proxy.py +11 -6
- pulumi_gcp/compute/target_tcp_proxy.py +11 -6
- pulumi_gcp/compute/url_map.py +731 -726
- pulumi_gcp/compute/vpn_gateway.py +5 -0
- pulumi_gcp/compute/vpn_tunnel.py +5 -0
- pulumi_gcp/config/__init__.pyi +5 -0
- pulumi_gcp/config/outputs.py +5 -0
- pulumi_gcp/config/vars.py +5 -0
- pulumi_gcp/container/_inputs.py +5502 -823
- pulumi_gcp/container/attached_cluster.py +128 -123
- pulumi_gcp/container/aws_cluster.py +359 -354
- pulumi_gcp/container/aws_node_pool.py +554 -549
- pulumi_gcp/container/azure_client.py +5 -0
- pulumi_gcp/container/azure_cluster.py +133 -128
- pulumi_gcp/container/azure_node_pool.py +115 -110
- pulumi_gcp/container/cluster.py +224 -219
- pulumi_gcp/container/get_attached_install_manifest.py +5 -0
- pulumi_gcp/container/get_attached_versions.py +5 -0
- pulumi_gcp/container/get_aws_versions.py +5 -0
- pulumi_gcp/container/get_azure_versions.py +5 -0
- pulumi_gcp/container/get_cluster.py +5 -0
- pulumi_gcp/container/get_engine_versions.py +5 -0
- pulumi_gcp/container/get_registry_image.py +5 -0
- pulumi_gcp/container/get_registry_repository.py +5 -0
- pulumi_gcp/container/node_pool.py +78 -73
- pulumi_gcp/container/outputs.py +5 -0
- pulumi_gcp/container/registry.py +5 -0
- pulumi_gcp/containeranalysis/_inputs.py +121 -0
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +5 -0
- pulumi_gcp/containeranalysis/note.py +49 -44
- pulumi_gcp/containeranalysis/note_iam_binding.py +24 -19
- pulumi_gcp/containeranalysis/note_iam_member.py +24 -19
- pulumi_gcp/containeranalysis/note_iam_policy.py +21 -16
- pulumi_gcp/containeranalysis/occurence.py +10 -5
- pulumi_gcp/containeranalysis/outputs.py +5 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +578 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +188 -183
- pulumi_gcp/databasemigrationservice/outputs.py +5 -0
- pulumi_gcp/databasemigrationservice/private_connection.py +20 -15
- pulumi_gcp/datacatalog/_inputs.py +318 -0
- pulumi_gcp/datacatalog/entry.py +20 -15
- pulumi_gcp/datacatalog/entry_group.py +5 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +24 -19
- pulumi_gcp/datacatalog/entry_group_iam_member.py +24 -19
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +21 -16
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +5 -0
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +5 -0
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +5 -0
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +5 -0
- pulumi_gcp/datacatalog/outputs.py +5 -0
- pulumi_gcp/datacatalog/policy_tag.py +5 -0
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +24 -19
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +24 -19
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +21 -16
- pulumi_gcp/datacatalog/tag.py +264 -259
- pulumi_gcp/datacatalog/tag_template.py +76 -71
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +24 -19
- pulumi_gcp/datacatalog/tag_template_iam_member.py +24 -19
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +21 -16
- pulumi_gcp/datacatalog/taxonomy.py +5 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +24 -19
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +24 -19
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +21 -16
- pulumi_gcp/dataflow/_inputs.py +316 -0
- pulumi_gcp/dataflow/flex_template_job.py +5 -0
- pulumi_gcp/dataflow/job.py +5 -0
- pulumi_gcp/dataflow/outputs.py +5 -0
- pulumi_gcp/dataflow/pipeline.py +75 -70
- pulumi_gcp/dataform/_inputs.py +251 -0
- pulumi_gcp/dataform/get_repository_iam_policy.py +5 -0
- pulumi_gcp/dataform/outputs.py +5 -0
- pulumi_gcp/dataform/repository.py +41 -36
- pulumi_gcp/dataform/repository_iam_binding.py +8 -3
- pulumi_gcp/dataform/repository_iam_member.py +8 -3
- pulumi_gcp/dataform/repository_iam_policy.py +5 -0
- pulumi_gcp/dataform/repository_release_config.py +58 -53
- pulumi_gcp/dataform/repository_workflow_config.py +94 -89
- pulumi_gcp/datafusion/_inputs.py +64 -0
- pulumi_gcp/datafusion/get_instance_iam_policy.py +5 -0
- pulumi_gcp/datafusion/instance.py +55 -50
- pulumi_gcp/datafusion/outputs.py +5 -0
- pulumi_gcp/dataloss/_inputs.py +6566 -114
- pulumi_gcp/dataloss/outputs.py +5 -0
- pulumi_gcp/dataloss/prevention_deidentify_template.py +226 -221
- pulumi_gcp/dataloss/prevention_discovery_config.py +22 -17
- pulumi_gcp/dataloss/prevention_inspect_template.py +442 -437
- pulumi_gcp/dataloss/prevention_job_trigger.py +701 -696
- pulumi_gcp/dataloss/prevention_stored_info_type.py +62 -57
- pulumi_gcp/dataplex/_inputs.py +1212 -6
- pulumi_gcp/dataplex/aspect_type.py +5 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +24 -19
- pulumi_gcp/dataplex/aspect_type_iam_member.py +24 -19
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +21 -16
- pulumi_gcp/dataplex/asset.py +47 -42
- pulumi_gcp/dataplex/asset_iam_binding.py +24 -19
- pulumi_gcp/dataplex/asset_iam_member.py +24 -19
- pulumi_gcp/dataplex/asset_iam_policy.py +21 -16
- pulumi_gcp/dataplex/datascan.py +289 -284
- pulumi_gcp/dataplex/datascan_iam_binding.py +24 -19
- pulumi_gcp/dataplex/datascan_iam_member.py +24 -19
- pulumi_gcp/dataplex/datascan_iam_policy.py +21 -16
- pulumi_gcp/dataplex/entry_group.py +5 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +24 -19
- pulumi_gcp/dataplex/entry_group_iam_member.py +24 -19
- pulumi_gcp/dataplex/entry_group_iam_policy.py +21 -16
- pulumi_gcp/dataplex/entry_type.py +16 -11
- pulumi_gcp/dataplex/entry_type_iam_binding.py +24 -19
- pulumi_gcp/dataplex/entry_type_iam_member.py +24 -19
- pulumi_gcp/dataplex/entry_type_iam_policy.py +21 -16
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_asset_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_lake_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +5 -0
- pulumi_gcp/dataplex/get_zone_iam_policy.py +5 -0
- pulumi_gcp/dataplex/lake.py +14 -9
- pulumi_gcp/dataplex/lake_iam_binding.py +24 -19
- pulumi_gcp/dataplex/lake_iam_member.py +24 -19
- pulumi_gcp/dataplex/lake_iam_policy.py +21 -16
- pulumi_gcp/dataplex/outputs.py +5 -0
- pulumi_gcp/dataplex/task.py +173 -168
- pulumi_gcp/dataplex/task_iam_binding.py +24 -19
- pulumi_gcp/dataplex/task_iam_member.py +24 -19
- pulumi_gcp/dataplex/task_iam_policy.py +21 -16
- pulumi_gcp/dataplex/zone.py +29 -24
- pulumi_gcp/dataplex/zone_iam_binding.py +24 -19
- pulumi_gcp/dataplex/zone_iam_member.py +24 -19
- pulumi_gcp/dataplex/zone_iam_policy.py +21 -16
- pulumi_gcp/dataproc/_inputs.py +3214 -39
- pulumi_gcp/dataproc/autoscaling_policy.py +50 -45
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +24 -19
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +24 -19
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +21 -16
- pulumi_gcp/dataproc/cluster.py +109 -104
- pulumi_gcp/dataproc/cluster_iam_binding.py +24 -19
- pulumi_gcp/dataproc/cluster_iam_member.py +24 -19
- pulumi_gcp/dataproc/cluster_iam_policy.py +21 -16
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +5 -0
- pulumi_gcp/dataproc/get_cluster_iam_policy.py +5 -0
- pulumi_gcp/dataproc/get_job_iam_policy.py +5 -0
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +5 -0
- pulumi_gcp/dataproc/get_metastore_service.py +5 -0
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +5 -0
- pulumi_gcp/dataproc/job.py +95 -90
- pulumi_gcp/dataproc/job_iam_binding.py +24 -19
- pulumi_gcp/dataproc/job_iam_member.py +24 -19
- pulumi_gcp/dataproc/job_iam_policy.py +21 -16
- pulumi_gcp/dataproc/metastore_federation.py +56 -51
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +24 -19
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +24 -19
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +21 -16
- pulumi_gcp/dataproc/metastore_service.py +239 -234
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +24 -19
- pulumi_gcp/dataproc/metastore_service_iam_member.py +24 -19
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +21 -16
- pulumi_gcp/dataproc/outputs.py +5 -0
- pulumi_gcp/dataproc/workflow_template.py +112 -107
- pulumi_gcp/datastore/_inputs.py +22 -0
- pulumi_gcp/datastore/data_store_index.py +26 -21
- pulumi_gcp/datastore/outputs.py +5 -0
- pulumi_gcp/datastream/_inputs.py +1631 -35
- pulumi_gcp/datastream/connection_profile.py +251 -246
- pulumi_gcp/datastream/get_static_ips.py +5 -0
- pulumi_gcp/datastream/outputs.py +5 -0
- pulumi_gcp/datastream/private_connection.py +20 -15
- pulumi_gcp/datastream/stream.py +777 -772
- pulumi_gcp/deploymentmanager/_inputs.py +66 -0
- pulumi_gcp/deploymentmanager/deployment.py +33 -28
- pulumi_gcp/deploymentmanager/outputs.py +5 -0
- pulumi_gcp/diagflow/_inputs.py +2590 -41
- pulumi_gcp/diagflow/agent.py +5 -0
- pulumi_gcp/diagflow/cx_agent.py +75 -70
- pulumi_gcp/diagflow/cx_entity_type.py +37 -32
- pulumi_gcp/diagflow/cx_environment.py +22 -17
- pulumi_gcp/diagflow/cx_flow.py +455 -450
- pulumi_gcp/diagflow/cx_intent.py +55 -50
- pulumi_gcp/diagflow/cx_page.py +718 -713
- pulumi_gcp/diagflow/cx_security_settings.py +69 -64
- pulumi_gcp/diagflow/cx_test_case.py +197 -192
- pulumi_gcp/diagflow/cx_version.py +13 -8
- pulumi_gcp/diagflow/cx_webhook.py +27 -22
- pulumi_gcp/diagflow/entity_type.py +26 -21
- pulumi_gcp/diagflow/fulfillment.py +27 -22
- pulumi_gcp/diagflow/intent.py +7 -2
- pulumi_gcp/diagflow/outputs.py +5 -0
- pulumi_gcp/discoveryengine/_inputs.py +183 -0
- pulumi_gcp/discoveryengine/chat_engine.py +37 -32
- pulumi_gcp/discoveryengine/data_store.py +32 -27
- pulumi_gcp/discoveryengine/outputs.py +5 -0
- pulumi_gcp/discoveryengine/search_engine.py +17 -12
- pulumi_gcp/dns/_inputs.py +589 -0
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +24 -19
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +24 -19
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +21 -16
- pulumi_gcp/dns/get_keys.py +13 -8
- pulumi_gcp/dns/get_managed_zone.py +5 -0
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +5 -0
- pulumi_gcp/dns/get_managed_zones.py +5 -0
- pulumi_gcp/dns/get_record_set.py +5 -0
- pulumi_gcp/dns/managed_zone.py +183 -178
- pulumi_gcp/dns/outputs.py +5 -0
- pulumi_gcp/dns/policy.py +47 -42
- pulumi_gcp/dns/record_set.py +100 -95
- pulumi_gcp/dns/response_policy.py +81 -76
- pulumi_gcp/dns/response_policy_rule.py +38 -33
- pulumi_gcp/edgecontainer/_inputs.py +464 -0
- pulumi_gcp/edgecontainer/cluster.py +152 -147
- pulumi_gcp/edgecontainer/node_pool.py +109 -104
- pulumi_gcp/edgecontainer/outputs.py +5 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +36 -31
- pulumi_gcp/edgenetwork/network.py +5 -0
- pulumi_gcp/edgenetwork/subnet.py +5 -0
- pulumi_gcp/endpoints/_inputs.py +101 -0
- pulumi_gcp/endpoints/consumers_iam_binding.py +8 -3
- pulumi_gcp/endpoints/consumers_iam_member.py +8 -3
- pulumi_gcp/endpoints/consumers_iam_policy.py +5 -0
- pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +5 -0
- pulumi_gcp/endpoints/get_service_iam_policy.py +5 -0
- pulumi_gcp/endpoints/outputs.py +5 -0
- pulumi_gcp/endpoints/service.py +9 -4
- pulumi_gcp/endpoints/service_iam_binding.py +24 -19
- pulumi_gcp/endpoints/service_iam_member.py +24 -19
- pulumi_gcp/endpoints/service_iam_policy.py +21 -16
- pulumi_gcp/essentialcontacts/_inputs.py +313 -0
- pulumi_gcp/essentialcontacts/contact.py +5 -0
- pulumi_gcp/essentialcontacts/document_ai_processor.py +5 -0
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +5 -0
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +40 -35
- pulumi_gcp/essentialcontacts/document_ai_warehouse_location.py +5 -0
- pulumi_gcp/essentialcontacts/outputs.py +5 -0
- pulumi_gcp/eventarc/_inputs.py +145 -0
- pulumi_gcp/eventarc/channel.py +5 -0
- pulumi_gcp/eventarc/google_channel_config.py +5 -0
- pulumi_gcp/eventarc/outputs.py +5 -0
- pulumi_gcp/eventarc/trigger.py +78 -73
- pulumi_gcp/filestore/_inputs.py +108 -0
- pulumi_gcp/filestore/backup.py +23 -18
- pulumi_gcp/filestore/get_instance.py +5 -0
- pulumi_gcp/filestore/instance.py +107 -102
- pulumi_gcp/filestore/outputs.py +5 -0
- pulumi_gcp/filestore/snapshot.py +37 -32
- pulumi_gcp/firebase/_inputs.py +511 -0
- pulumi_gcp/firebase/android_app.py +21 -16
- pulumi_gcp/firebase/app_check_app_attest_config.py +5 -0
- pulumi_gcp/firebase/app_check_debug_token.py +5 -0
- pulumi_gcp/firebase/app_check_device_check_config.py +5 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +5 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +5 -0
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +5 -0
- pulumi_gcp/firebase/app_check_service_config.py +5 -0
- pulumi_gcp/firebase/apple_app.py +15 -10
- pulumi_gcp/firebase/database_instance.py +5 -0
- pulumi_gcp/firebase/extensions_instance.py +30 -25
- pulumi_gcp/firebase/get_android_app.py +5 -0
- pulumi_gcp/firebase/get_android_app_config.py +5 -0
- pulumi_gcp/firebase/get_apple_app.py +5 -0
- pulumi_gcp/firebase/get_apple_app_config.py +5 -0
- pulumi_gcp/firebase/get_hosting_channel.py +5 -0
- pulumi_gcp/firebase/get_web_app.py +5 -0
- pulumi_gcp/firebase/get_web_app_config.py +5 -0
- pulumi_gcp/firebase/hosting_channel.py +5 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +39 -34
- pulumi_gcp/firebase/hosting_release.py +33 -28
- pulumi_gcp/firebase/hosting_site.py +5 -0
- pulumi_gcp/firebase/hosting_version.py +76 -71
- pulumi_gcp/firebase/outputs.py +5 -0
- pulumi_gcp/firebase/project.py +5 -0
- pulumi_gcp/firebase/storage_bucket.py +5 -0
- pulumi_gcp/firebase/web_app.py +15 -10
- pulumi_gcp/firebaserules/_inputs.py +51 -0
- pulumi_gcp/firebaserules/outputs.py +5 -0
- pulumi_gcp/firebaserules/release.py +5 -0
- pulumi_gcp/firebaserules/ruleset.py +40 -35
- pulumi_gcp/firestore/_inputs.py +154 -0
- pulumi_gcp/firestore/backup_schedule.py +23 -18
- pulumi_gcp/firestore/database.py +22 -17
- pulumi_gcp/firestore/document.py +5 -0
- pulumi_gcp/firestore/field.py +63 -58
- pulumi_gcp/firestore/index.py +72 -67
- pulumi_gcp/firestore/outputs.py +5 -0
- pulumi_gcp/folder/_inputs.py +165 -0
- pulumi_gcp/folder/access_approval_settings.py +28 -23
- pulumi_gcp/folder/get_iam_policy.py +5 -0
- pulumi_gcp/folder/get_organization_policy.py +5 -0
- pulumi_gcp/folder/iam_audit_config.py +130 -125
- pulumi_gcp/folder/iam_binding.py +8 -3
- pulumi_gcp/folder/iam_member.py +130 -125
- pulumi_gcp/folder/iam_policy.py +125 -120
- pulumi_gcp/folder/organization_policy.py +54 -49
- pulumi_gcp/folder/outputs.py +5 -0
- pulumi_gcp/gkebackup/_inputs.py +694 -0
- pulumi_gcp/gkebackup/backup_plan.py +436 -431
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +24 -19
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +24 -19
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +21 -16
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +5 -0
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +5 -0
- pulumi_gcp/gkebackup/outputs.py +5 -0
- pulumi_gcp/gkebackup/restore_plan.py +580 -575
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +578 -573
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +578 -573
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +575 -570
- pulumi_gcp/gkehub/_inputs.py +1204 -6
- pulumi_gcp/gkehub/feature.py +319 -314
- pulumi_gcp/gkehub/feature_iam_binding.py +24 -19
- pulumi_gcp/gkehub/feature_iam_member.py +24 -19
- pulumi_gcp/gkehub/feature_iam_policy.py +21 -16
- pulumi_gcp/gkehub/feature_membership.py +184 -179
- pulumi_gcp/gkehub/fleet.py +24 -19
- pulumi_gcp/gkehub/get_feature_iam_policy.py +5 -0
- pulumi_gcp/gkehub/get_membership_iam_policy.py +5 -0
- pulumi_gcp/gkehub/get_scope_iam_policy.py +5 -0
- pulumi_gcp/gkehub/membership.py +57 -52
- pulumi_gcp/gkehub/membership_binding.py +17 -12
- pulumi_gcp/gkehub/membership_iam_binding.py +24 -19
- pulumi_gcp/gkehub/membership_iam_member.py +24 -19
- pulumi_gcp/gkehub/membership_iam_policy.py +21 -16
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +28 -23
- pulumi_gcp/gkehub/namespace.py +7 -2
- pulumi_gcp/gkehub/outputs.py +5 -0
- pulumi_gcp/gkehub/scope.py +7 -2
- pulumi_gcp/gkehub/scope_iam_binding.py +24 -19
- pulumi_gcp/gkehub/scope_iam_member.py +24 -19
- pulumi_gcp/gkehub/scope_iam_policy.py +21 -16
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +18 -13
- pulumi_gcp/gkeonprem/_inputs.py +2318 -18
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +335 -330
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +528 -523
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +262 -257
- pulumi_gcp/gkeonprem/outputs.py +5 -0
- pulumi_gcp/gkeonprem/v_mware_cluster.py +399 -394
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +89 -84
- pulumi_gcp/healthcare/_inputs.py +316 -0
- pulumi_gcp/healthcare/consent_store.py +5 -0
- pulumi_gcp/healthcare/consent_store_iam_binding.py +24 -19
- pulumi_gcp/healthcare/consent_store_iam_member.py +24 -19
- pulumi_gcp/healthcare/consent_store_iam_policy.py +21 -16
- pulumi_gcp/healthcare/dataset.py +5 -0
- pulumi_gcp/healthcare/dataset_iam_binding.py +24 -19
- pulumi_gcp/healthcare/dataset_iam_member.py +24 -19
- pulumi_gcp/healthcare/dataset_iam_policy.py +21 -16
- pulumi_gcp/healthcare/dicom_store.py +39 -34
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +24 -19
- pulumi_gcp/healthcare/dicom_store_iam_member.py +24 -19
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +21 -16
- pulumi_gcp/healthcare/fhir_store.py +62 -57
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +24 -19
- pulumi_gcp/healthcare/fhir_store_iam_member.py +24 -19
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +21 -16
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +5 -0
- pulumi_gcp/healthcare/get_dataset_iam_policy.py +5 -0
- pulumi_gcp/healthcare/get_dicom_store_iam_policy.py +5 -0
- pulumi_gcp/healthcare/get_fhir_store_iam_policy.py +5 -0
- pulumi_gcp/healthcare/get_hl7_v2_store_iam_policy.py +5 -0
- pulumi_gcp/healthcare/hl7_store.py +46 -41
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +24 -19
- pulumi_gcp/healthcare/hl7_store_iam_member.py +24 -19
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +21 -16
- pulumi_gcp/healthcare/outputs.py +5 -0
- pulumi_gcp/iam/_inputs.py +433 -0
- pulumi_gcp/iam/access_boundary_policy.py +54 -49
- pulumi_gcp/iam/deny_policy.py +56 -51
- pulumi_gcp/iam/get_rule.py +5 -0
- pulumi_gcp/iam/get_testable_permissions.py +5 -0
- pulumi_gcp/iam/get_workload_identity_pool.py +5 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +5 -0
- pulumi_gcp/iam/outputs.py +5 -0
- pulumi_gcp/iam/workforce_pool.py +22 -17
- pulumi_gcp/iam/workforce_pool_provider.py +184 -179
- pulumi_gcp/iam/workload_identity_pool.py +5 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +68 -63
- pulumi_gcp/iap/_inputs.py +411 -0
- pulumi_gcp/iap/app_engine_service_iam_binding.py +102 -97
- pulumi_gcp/iap/app_engine_service_iam_member.py +102 -97
- pulumi_gcp/iap/app_engine_service_iam_policy.py +97 -92
- pulumi_gcp/iap/app_engine_version_iam_binding.py +102 -97
- pulumi_gcp/iap/app_engine_version_iam_member.py +102 -97
- pulumi_gcp/iap/app_engine_version_iam_policy.py +97 -92
- pulumi_gcp/iap/brand.py +5 -0
- pulumi_gcp/iap/client.py +5 -0
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +5 -0
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +5 -0
- pulumi_gcp/iap/get_client.py +5 -0
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +5 -0
- pulumi_gcp/iap/get_tunnel_iam_policy.py +5 -0
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +5 -0
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +5 -0
- pulumi_gcp/iap/get_web_iam_policy.py +5 -0
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +5 -0
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +5 -0
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +5 -0
- pulumi_gcp/iap/outputs.py +5 -0
- pulumi_gcp/iap/tunnel_dest_group.py +5 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +102 -97
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +102 -97
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +97 -92
- pulumi_gcp/iap/tunnel_iam_binding.py +102 -97
- pulumi_gcp/iap/tunnel_iam_member.py +102 -97
- pulumi_gcp/iap/tunnel_iam_policy.py +97 -92
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +102 -97
- pulumi_gcp/iap/tunnel_instance_iam_member.py +102 -97
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +97 -92
- pulumi_gcp/iap/web_backend_service_iam_binding.py +102 -97
- pulumi_gcp/iap/web_backend_service_iam_member.py +102 -97
- pulumi_gcp/iap/web_backend_service_iam_policy.py +97 -92
- pulumi_gcp/iap/web_iam_binding.py +102 -97
- pulumi_gcp/iap/web_iam_member.py +102 -97
- pulumi_gcp/iap/web_iam_policy.py +97 -92
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +102 -97
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +102 -97
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +97 -92
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +102 -97
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +102 -97
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +97 -92
- pulumi_gcp/iap/web_type_compute_iam_binding.py +102 -97
- pulumi_gcp/iap/web_type_compute_iam_member.py +102 -97
- pulumi_gcp/iap/web_type_compute_iam_policy.py +97 -92
- pulumi_gcp/identityplatform/_inputs.py +576 -0
- pulumi_gcp/identityplatform/config.py +119 -114
- pulumi_gcp/identityplatform/default_supported_idp_config.py +5 -0
- pulumi_gcp/identityplatform/inbound_saml_config.py +39 -34
- pulumi_gcp/identityplatform/oauth_idp_config.py +5 -0
- pulumi_gcp/identityplatform/outputs.py +5 -0
- pulumi_gcp/identityplatform/project_default_config.py +38 -33
- pulumi_gcp/identityplatform/tenant.py +5 -0
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +5 -0
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +39 -34
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +5 -0
- pulumi_gcp/integrationconnectors/_inputs.py +868 -0
- pulumi_gcp/integrationconnectors/connection.py +465 -460
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +5 -0
- pulumi_gcp/integrationconnectors/managed_zone.py +15 -10
- pulumi_gcp/integrationconnectors/outputs.py +5 -0
- pulumi_gcp/kms/_inputs.py +303 -0
- pulumi_gcp/kms/autokey_config.py +5 -0
- pulumi_gcp/kms/crypto_key.py +18 -13
- pulumi_gcp/kms/crypto_key_iam_binding.py +56 -51
- pulumi_gcp/kms/crypto_key_iam_member.py +56 -51
- pulumi_gcp/kms/crypto_key_iam_policy.py +51 -46
- pulumi_gcp/kms/crypto_key_version.py +12 -7
- pulumi_gcp/kms/ekm_connection.py +24 -19
- pulumi_gcp/kms/get_crypto_key_iam_policy.py +5 -0
- pulumi_gcp/kms/get_key_ring_iam_policy.py +5 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +5 -0
- pulumi_gcp/kms/get_kms_crypto_key_version.py +5 -0
- pulumi_gcp/kms/get_kms_key_ring.py +5 -0
- pulumi_gcp/kms/get_kms_secret.py +11 -6
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +17 -12
- pulumi_gcp/kms/get_kms_secret_ciphertext.py +23 -18
- pulumi_gcp/kms/key_handle.py +5 -0
- pulumi_gcp/kms/key_ring.py +5 -0
- pulumi_gcp/kms/key_ring_iam_binding.py +102 -97
- pulumi_gcp/kms/key_ring_iam_member.py +102 -97
- pulumi_gcp/kms/key_ring_iam_policy.py +97 -92
- pulumi_gcp/kms/key_ring_import_job.py +9 -4
- pulumi_gcp/kms/outputs.py +5 -0
- pulumi_gcp/kms/secret_ciphertext.py +23 -18
- pulumi_gcp/logging/_inputs.py +520 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +15 -10
- pulumi_gcp/logging/billing_account_exclusion.py +5 -0
- pulumi_gcp/logging/billing_account_sink.py +15 -10
- pulumi_gcp/logging/folder_bucket_config.py +15 -10
- pulumi_gcp/logging/folder_exclusion.py +5 -0
- pulumi_gcp/logging/folder_settings.py +5 -0
- pulumi_gcp/logging/folder_sink.py +15 -10
- pulumi_gcp/logging/get_folder_settings.py +5 -0
- pulumi_gcp/logging/get_log_view_iam_policy.py +5 -0
- pulumi_gcp/logging/get_organization_settings.py +5 -0
- pulumi_gcp/logging/get_project_cmek_settings.py +5 -0
- pulumi_gcp/logging/get_project_settings.py +5 -0
- pulumi_gcp/logging/get_sink.py +5 -0
- pulumi_gcp/logging/linked_dataset.py +10 -5
- pulumi_gcp/logging/log_view.py +5 -0
- pulumi_gcp/logging/log_view_iam_binding.py +10 -5
- pulumi_gcp/logging/log_view_iam_member.py +10 -5
- pulumi_gcp/logging/log_view_iam_policy.py +5 -0
- pulumi_gcp/logging/metric.py +97 -92
- pulumi_gcp/logging/organization_bucket_config.py +15 -10
- pulumi_gcp/logging/organization_exclusion.py +5 -0
- pulumi_gcp/logging/organization_settings.py +5 -0
- pulumi_gcp/logging/organization_sink.py +15 -10
- pulumi_gcp/logging/outputs.py +5 -0
- pulumi_gcp/logging/project_bucket_config.py +21 -16
- pulumi_gcp/logging/project_exclusion.py +5 -0
- pulumi_gcp/logging/project_sink.py +15 -10
- pulumi_gcp/looker/_inputs.py +211 -0
- pulumi_gcp/looker/instance.py +204 -199
- pulumi_gcp/looker/outputs.py +5 -0
- pulumi_gcp/managedkafka/_inputs.py +69 -0
- pulumi_gcp/managedkafka/cluster.py +72 -67
- pulumi_gcp/managedkafka/outputs.py +5 -0
- pulumi_gcp/managedkafka/topic.py +27 -22
- pulumi_gcp/memcache/_inputs.py +184 -0
- pulumi_gcp/memcache/instance.py +56 -51
- pulumi_gcp/memcache/outputs.py +5 -0
- pulumi_gcp/migrationcenter/_inputs.py +182 -0
- pulumi_gcp/migrationcenter/group.py +5 -0
- pulumi_gcp/migrationcenter/outputs.py +5 -0
- pulumi_gcp/migrationcenter/preference_set.py +82 -77
- pulumi_gcp/ml/_inputs.py +17 -0
- pulumi_gcp/ml/engine_model.py +10 -5
- pulumi_gcp/ml/outputs.py +5 -0
- pulumi_gcp/monitoring/_inputs.py +1651 -12
- pulumi_gcp/monitoring/alert_policy.py +128 -123
- pulumi_gcp/monitoring/custom_service.py +16 -11
- pulumi_gcp/monitoring/dashboard.py +5 -0
- pulumi_gcp/monitoring/generic_service.py +20 -15
- pulumi_gcp/monitoring/get_app_engine_service.py +21 -16
- pulumi_gcp/monitoring/get_cluster_istio_service.py +5 -0
- pulumi_gcp/monitoring/get_istio_canonical_service.py +5 -0
- pulumi_gcp/monitoring/get_mesh_istio_service.py +5 -0
- pulumi_gcp/monitoring/get_notification_channel.py +29 -24
- pulumi_gcp/monitoring/get_secret_version.py +5 -0
- pulumi_gcp/monitoring/get_uptime_check_i_ps.py +5 -0
- pulumi_gcp/monitoring/group.py +5 -0
- pulumi_gcp/monitoring/metric_descriptor.py +49 -44
- pulumi_gcp/monitoring/monitored_project.py +5 -0
- pulumi_gcp/monitoring/notification_channel.py +16 -11
- pulumi_gcp/monitoring/outputs.py +5 -0
- pulumi_gcp/monitoring/slo.py +120 -115
- pulumi_gcp/monitoring/uptime_check_config.py +241 -236
- pulumi_gcp/netapp/_inputs.py +311 -0
- pulumi_gcp/netapp/active_directory.py +5 -0
- pulumi_gcp/netapp/backup.py +11 -6
- pulumi_gcp/netapp/backup_policy.py +5 -0
- pulumi_gcp/netapp/backup_vault.py +5 -0
- pulumi_gcp/netapp/kmsconfig.py +5 -0
- pulumi_gcp/netapp/outputs.py +5 -0
- pulumi_gcp/netapp/storage_pool.py +5 -0
- pulumi_gcp/netapp/volume.py +27 -22
- pulumi_gcp/netapp/volume_replication.py +24 -19
- pulumi_gcp/netapp/volume_snapshot.py +5 -0
- pulumi_gcp/networkconnectivity/_inputs.py +253 -0
- pulumi_gcp/networkconnectivity/hub.py +7 -2
- pulumi_gcp/networkconnectivity/internal_range.py +5 -0
- pulumi_gcp/networkconnectivity/outputs.py +5 -0
- pulumi_gcp/networkconnectivity/policy_based_route.py +46 -41
- pulumi_gcp/networkconnectivity/regional_endpoint.py +5 -0
- pulumi_gcp/networkconnectivity/service_connection_policy.py +20 -15
- pulumi_gcp/networkconnectivity/spoke.py +71 -66
- pulumi_gcp/networkmanagement/_inputs.py +87 -0
- pulumi_gcp/networkmanagement/connectivity_test.py +85 -80
- pulumi_gcp/networkmanagement/outputs.py +5 -0
- pulumi_gcp/networksecurity/_inputs.py +321 -0
- pulumi_gcp/networksecurity/address_group.py +5 -0
- pulumi_gcp/networksecurity/address_group_iam_binding.py +8 -3
- pulumi_gcp/networksecurity/address_group_iam_member.py +8 -3
- pulumi_gcp/networksecurity/address_group_iam_policy.py +5 -0
- pulumi_gcp/networksecurity/authorization_policy.py +52 -47
- pulumi_gcp/networksecurity/client_tls_policy.py +45 -40
- pulumi_gcp/networksecurity/firewall_endpoint.py +5 -0
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +5 -0
- pulumi_gcp/networksecurity/gateway_security_policy.py +91 -86
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +5 -0
- pulumi_gcp/networksecurity/get_address_group_iam_policy.py +5 -0
- pulumi_gcp/networksecurity/outputs.py +5 -0
- pulumi_gcp/networksecurity/security_profile.py +40 -35
- pulumi_gcp/networksecurity/security_profile_group.py +5 -0
- pulumi_gcp/networksecurity/server_tls_policy.py +101 -96
- pulumi_gcp/networksecurity/tls_inspection_policy.py +193 -188
- pulumi_gcp/networksecurity/url_list.py +5 -0
- pulumi_gcp/networkservices/_inputs.py +1781 -29
- pulumi_gcp/networkservices/edge_cache_keyset.py +51 -46
- pulumi_gcp/networkservices/edge_cache_origin.py +89 -84
- pulumi_gcp/networkservices/edge_cache_service.py +567 -562
- pulumi_gcp/networkservices/endpoint_policy.py +55 -50
- pulumi_gcp/networkservices/gateway.py +21 -16
- pulumi_gcp/networkservices/grpc_route.py +146 -141
- pulumi_gcp/networkservices/http_route.py +294 -289
- pulumi_gcp/networkservices/lb_route_extension.py +10 -5
- pulumi_gcp/networkservices/lb_traffic_extension.py +10 -5
- pulumi_gcp/networkservices/mesh.py +5 -0
- pulumi_gcp/networkservices/outputs.py +5 -0
- pulumi_gcp/networkservices/service_binding.py +5 -0
- pulumi_gcp/networkservices/service_lb_policies.py +27 -22
- pulumi_gcp/networkservices/tcp_route.py +106 -101
- pulumi_gcp/networkservices/tls_route.py +82 -77
- pulumi_gcp/notebooks/_inputs.py +615 -0
- pulumi_gcp/notebooks/environment.py +21 -16
- pulumi_gcp/notebooks/get_instance_iam_policy.py +5 -0
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +5 -0
- pulumi_gcp/notebooks/instance.py +78 -73
- pulumi_gcp/notebooks/instance_iam_binding.py +24 -19
- pulumi_gcp/notebooks/instance_iam_member.py +24 -19
- pulumi_gcp/notebooks/instance_iam_policy.py +21 -16
- pulumi_gcp/notebooks/location.py +5 -0
- pulumi_gcp/notebooks/outputs.py +5 -0
- pulumi_gcp/notebooks/runtime.py +222 -217
- pulumi_gcp/notebooks/runtime_iam_binding.py +24 -19
- pulumi_gcp/notebooks/runtime_iam_member.py +24 -19
- pulumi_gcp/notebooks/runtime_iam_policy.py +21 -16
- pulumi_gcp/organizations/_inputs.py +231 -0
- pulumi_gcp/organizations/access_approval_settings.py +36 -31
- pulumi_gcp/organizations/folder.py +5 -0
- pulumi_gcp/organizations/get_active_folder.py +5 -0
- pulumi_gcp/organizations/get_billing_account.py +5 -0
- pulumi_gcp/organizations/get_client_config.py +5 -0
- pulumi_gcp/organizations/get_client_open_id_user_info.py +5 -0
- pulumi_gcp/organizations/get_folder.py +5 -0
- pulumi_gcp/organizations/get_folders.py +5 -0
- pulumi_gcp/organizations/get_iam_policy.py +13 -8
- pulumi_gcp/organizations/get_organization.py +5 -0
- pulumi_gcp/organizations/get_project.py +5 -0
- pulumi_gcp/organizations/iam_audit_config.py +18 -13
- pulumi_gcp/organizations/iam_binding.py +8 -3
- pulumi_gcp/organizations/iam_custom_role.py +5 -0
- pulumi_gcp/organizations/iam_member.py +130 -125
- pulumi_gcp/organizations/iam_policy.py +125 -120
- pulumi_gcp/organizations/outputs.py +5 -0
- pulumi_gcp/organizations/policy.py +54 -49
- pulumi_gcp/organizations/project.py +5 -0
- pulumi_gcp/orgpolicy/_inputs.py +183 -0
- pulumi_gcp/orgpolicy/custom_constraint.py +15 -10
- pulumi_gcp/orgpolicy/outputs.py +5 -0
- pulumi_gcp/orgpolicy/policy.py +103 -98
- pulumi_gcp/osconfig/_inputs.py +2235 -30
- pulumi_gcp/osconfig/guest_policies.py +171 -166
- pulumi_gcp/osconfig/os_policy_assignment.py +158 -153
- pulumi_gcp/osconfig/outputs.py +5 -0
- pulumi_gcp/osconfig/patch_deployment.py +326 -321
- pulumi_gcp/oslogin/ssh_public_key.py +5 -0
- pulumi_gcp/parallelstore/instance.py +5 -0
- pulumi_gcp/privilegedaccessmanager/_inputs.py +170 -0
- pulumi_gcp/privilegedaccessmanager/entitlement.py +94 -89
- pulumi_gcp/privilegedaccessmanager/outputs.py +5 -0
- pulumi_gcp/projects/_inputs.py +262 -0
- pulumi_gcp/projects/access_approval_settings.py +30 -25
- pulumi_gcp/projects/api_key.py +88 -83
- pulumi_gcp/projects/default_service_accounts.py +5 -0
- pulumi_gcp/projects/get_iam_policy.py +5 -0
- pulumi_gcp/projects/get_organization_policy.py +5 -0
- pulumi_gcp/projects/get_project.py +5 -0
- pulumi_gcp/projects/get_project_service.py +5 -0
- pulumi_gcp/projects/iam_audit_config.py +130 -125
- pulumi_gcp/projects/iam_binding.py +130 -125
- pulumi_gcp/projects/iam_custom_role.py +5 -0
- pulumi_gcp/projects/iam_member.py +130 -125
- pulumi_gcp/projects/iam_member_remove.py +5 -0
- pulumi_gcp/projects/iam_policy.py +125 -120
- pulumi_gcp/projects/organization_policy.py +54 -49
- pulumi_gcp/projects/outputs.py +5 -0
- pulumi_gcp/projects/service.py +5 -0
- pulumi_gcp/projects/service_identity.py +5 -0
- pulumi_gcp/projects/usage_export_bucket.py +5 -0
- pulumi_gcp/provider.py +7 -2
- pulumi_gcp/pubsub/_inputs.py +438 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +5 -0
- pulumi_gcp/pubsub/get_subscription.py +5 -0
- pulumi_gcp/pubsub/get_subscription_iam_policy.py +5 -0
- pulumi_gcp/pubsub/get_topic.py +5 -0
- pulumi_gcp/pubsub/get_topic_iam_policy.py +5 -0
- pulumi_gcp/pubsub/lite_reservation.py +5 -0
- pulumi_gcp/pubsub/lite_subscription.py +36 -31
- pulumi_gcp/pubsub/lite_topic.py +46 -41
- pulumi_gcp/pubsub/outputs.py +5 -0
- pulumi_gcp/pubsub/schema.py +13 -8
- pulumi_gcp/pubsub/schema_iam_binding.py +24 -19
- pulumi_gcp/pubsub/schema_iam_member.py +24 -19
- pulumi_gcp/pubsub/schema_iam_policy.py +21 -16
- pulumi_gcp/pubsub/subscription.py +141 -136
- pulumi_gcp/pubsub/subscription_iam_binding.py +24 -19
- pulumi_gcp/pubsub/subscription_iam_member.py +24 -19
- pulumi_gcp/pubsub/subscription_iam_policy.py +21 -16
- pulumi_gcp/pubsub/topic.py +50 -45
- pulumi_gcp/pubsub/topic_iam_binding.py +24 -19
- pulumi_gcp/pubsub/topic_iam_member.py +24 -19
- pulumi_gcp/pubsub/topic_iam_policy.py +21 -16
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/recaptcha/_inputs.py +89 -0
- pulumi_gcp/recaptcha/enterprise_key.py +132 -127
- pulumi_gcp/recaptcha/outputs.py +5 -0
- pulumi_gcp/redis/_inputs.py +321 -0
- pulumi_gcp/redis/cluster.py +59 -54
- pulumi_gcp/redis/get_instance.py +5 -0
- pulumi_gcp/redis/instance.py +51 -46
- pulumi_gcp/redis/outputs.py +5 -0
- pulumi_gcp/resourcemanager/lien.py +5 -0
- pulumi_gcp/runtimeconfig/_inputs.py +25 -0
- pulumi_gcp/runtimeconfig/config.py +5 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +8 -3
- pulumi_gcp/runtimeconfig/config_iam_member.py +8 -3
- pulumi_gcp/runtimeconfig/config_iam_policy.py +5 -0
- pulumi_gcp/runtimeconfig/get_config.py +5 -0
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +5 -0
- pulumi_gcp/runtimeconfig/get_variable.py +5 -0
- pulumi_gcp/runtimeconfig/outputs.py +5 -0
- pulumi_gcp/runtimeconfig/variable.py +5 -0
- pulumi_gcp/secretmanager/_inputs.py +143 -0
- pulumi_gcp/secretmanager/get_secret.py +5 -0
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +5 -0
- pulumi_gcp/secretmanager/get_secret_version.py +5 -0
- pulumi_gcp/secretmanager/get_secret_version_access.py +5 -0
- pulumi_gcp/secretmanager/get_secrets.py +5 -0
- pulumi_gcp/secretmanager/outputs.py +5 -0
- pulumi_gcp/secretmanager/secret.py +68 -63
- pulumi_gcp/secretmanager/secret_iam_binding.py +102 -97
- pulumi_gcp/secretmanager/secret_iam_member.py +102 -97
- pulumi_gcp/secretmanager/secret_iam_policy.py +97 -92
- pulumi_gcp/secretmanager/secret_version.py +53 -48
- pulumi_gcp/securesourcemanager/_inputs.py +75 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +5 -0
- pulumi_gcp/securesourcemanager/instance.py +78 -73
- pulumi_gcp/securesourcemanager/instance_iam_binding.py +8 -3
- pulumi_gcp/securesourcemanager/instance_iam_member.py +8 -3
- pulumi_gcp/securesourcemanager/instance_iam_policy.py +5 -0
- pulumi_gcp/securesourcemanager/outputs.py +5 -0
- pulumi_gcp/securitycenter/_inputs.py +860 -7
- pulumi_gcp/securitycenter/event_threat_detection_custom_module.py +5 -0
- pulumi_gcp/securitycenter/folder_custom_module.py +82 -77
- pulumi_gcp/securitycenter/get_source_iam_policy.py +5 -0
- pulumi_gcp/securitycenter/instance_iam_binding.py +38 -33
- pulumi_gcp/securitycenter/instance_iam_member.py +38 -33
- pulumi_gcp/securitycenter/instance_iam_policy.py +35 -30
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +82 -77
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +5 -0
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +82 -77
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +82 -77
- pulumi_gcp/securitycenter/mute_config.py +5 -0
- pulumi_gcp/securitycenter/notification_config.py +16 -11
- pulumi_gcp/securitycenter/organization_custom_module.py +82 -77
- pulumi_gcp/securitycenter/outputs.py +5 -0
- pulumi_gcp/securitycenter/project_custom_module.py +82 -77
- pulumi_gcp/securitycenter/source.py +5 -0
- pulumi_gcp/securitycenter/source_iam_binding.py +8 -3
- pulumi_gcp/securitycenter/source_iam_member.py +8 -3
- pulumi_gcp/securitycenter/source_iam_policy.py +5 -0
- pulumi_gcp/securityposture/_inputs.py +457 -0
- pulumi_gcp/securityposture/outputs.py +5 -0
- pulumi_gcp/securityposture/posture.py +186 -181
- pulumi_gcp/securityposture/posture_deployment.py +35 -30
- pulumi_gcp/serviceaccount/_inputs.py +51 -0
- pulumi_gcp/serviceaccount/account.py +5 -0
- pulumi_gcp/serviceaccount/get_account.py +5 -0
- pulumi_gcp/serviceaccount/get_account_access_token.py +5 -0
- pulumi_gcp/serviceaccount/get_account_id_token.py +5 -0
- pulumi_gcp/serviceaccount/get_account_jwt.py +5 -0
- pulumi_gcp/serviceaccount/get_account_key.py +5 -0
- pulumi_gcp/serviceaccount/get_iam_policy.py +5 -0
- pulumi_gcp/serviceaccount/iam_binding.py +66 -61
- pulumi_gcp/serviceaccount/iam_member.py +66 -61
- pulumi_gcp/serviceaccount/iam_policy.py +61 -56
- pulumi_gcp/serviceaccount/key.py +5 -0
- pulumi_gcp/serviceaccount/outputs.py +5 -0
- pulumi_gcp/servicedirectory/_inputs.py +43 -0
- pulumi_gcp/servicedirectory/endpoint.py +5 -0
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +5 -0
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +5 -0
- pulumi_gcp/servicedirectory/namespace.py +5 -0
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +24 -19
- pulumi_gcp/servicedirectory/namespace_iam_member.py +24 -19
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +21 -16
- pulumi_gcp/servicedirectory/outputs.py +5 -0
- pulumi_gcp/servicedirectory/service.py +5 -0
- pulumi_gcp/servicedirectory/service_iam_binding.py +24 -19
- pulumi_gcp/servicedirectory/service_iam_member.py +24 -19
- pulumi_gcp/servicedirectory/service_iam_policy.py +21 -16
- pulumi_gcp/servicenetworking/connection.py +5 -0
- pulumi_gcp/servicenetworking/get_peered_dns_domain.py +5 -0
- pulumi_gcp/servicenetworking/peered_dns_domain.py +5 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +5 -0
- pulumi_gcp/serviceusage/consumer_quota_override.py +5 -0
- pulumi_gcp/sourcerepo/_inputs.py +49 -0
- pulumi_gcp/sourcerepo/get_repository.py +5 -0
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +5 -0
- pulumi_gcp/sourcerepo/outputs.py +5 -0
- pulumi_gcp/sourcerepo/repository.py +20 -15
- pulumi_gcp/sourcerepo/repository_iam_binding.py +24 -19
- pulumi_gcp/sourcerepo/repository_iam_member.py +24 -19
- pulumi_gcp/sourcerepo/repository_iam_policy.py +21 -16
- pulumi_gcp/spanner/_inputs.py +157 -0
- pulumi_gcp/spanner/database.py +10 -5
- pulumi_gcp/spanner/database_iam_binding.py +102 -97
- pulumi_gcp/spanner/database_iam_member.py +102 -97
- pulumi_gcp/spanner/database_iam_policy.py +97 -92
- pulumi_gcp/spanner/get_database_iam_policy.py +5 -0
- pulumi_gcp/spanner/get_instance.py +5 -0
- pulumi_gcp/spanner/get_instance_iam_policy.py +5 -0
- pulumi_gcp/spanner/instance.py +30 -25
- pulumi_gcp/spanner/instance_config.py +10 -5
- pulumi_gcp/spanner/instance_iam_binding.py +24 -19
- pulumi_gcp/spanner/instance_iam_member.py +24 -19
- pulumi_gcp/spanner/instance_iam_policy.py +21 -16
- pulumi_gcp/spanner/outputs.py +5 -0
- pulumi_gcp/sql/_inputs.py +616 -0
- pulumi_gcp/sql/database.py +17 -12
- pulumi_gcp/sql/database_instance.py +93 -88
- pulumi_gcp/sql/get_backup_run.py +5 -0
- pulumi_gcp/sql/get_ca_certs.py +5 -0
- pulumi_gcp/sql/get_database.py +5 -0
- pulumi_gcp/sql/get_database_instance.py +5 -0
- pulumi_gcp/sql/get_database_instance_latest_recovery_time.py +5 -0
- pulumi_gcp/sql/get_database_instances.py +5 -0
- pulumi_gcp/sql/get_databases.py +5 -0
- pulumi_gcp/sql/get_tiers.py +5 -0
- pulumi_gcp/sql/outputs.py +5 -0
- pulumi_gcp/sql/source_representation_instance.py +5 -0
- pulumi_gcp/sql/ssl_cert.py +11 -6
- pulumi_gcp/sql/user.py +43 -38
- pulumi_gcp/storage/_inputs.py +828 -0
- pulumi_gcp/storage/bucket.py +125 -120
- pulumi_gcp/storage/bucket_access_control.py +5 -0
- pulumi_gcp/storage/bucket_acl.py +5 -0
- pulumi_gcp/storage/bucket_iam_binding.py +102 -97
- pulumi_gcp/storage/bucket_iam_member.py +102 -97
- pulumi_gcp/storage/bucket_iam_policy.py +97 -92
- pulumi_gcp/storage/bucket_object.py +15 -10
- pulumi_gcp/storage/default_object_access_control.py +7 -2
- pulumi_gcp/storage/default_object_acl.py +5 -0
- pulumi_gcp/storage/get_bucket.py +5 -0
- pulumi_gcp/storage/get_bucket_iam_policy.py +5 -0
- pulumi_gcp/storage/get_bucket_object.py +5 -0
- pulumi_gcp/storage/get_bucket_object_content.py +5 -0
- pulumi_gcp/storage/get_bucket_objects.py +5 -0
- pulumi_gcp/storage/get_buckets.py +5 -0
- pulumi_gcp/storage/get_object_signed_url.py +5 -0
- pulumi_gcp/storage/get_project_service_account.py +11 -6
- pulumi_gcp/storage/get_transfer_project_service_account.py +5 -0
- pulumi_gcp/storage/get_transfer_project_servie_account.py +5 -0
- pulumi_gcp/storage/hmac_key.py +5 -0
- pulumi_gcp/storage/insights_report_config.py +76 -71
- pulumi_gcp/storage/notification.py +5 -0
- pulumi_gcp/storage/object_access_control.py +7 -2
- pulumi_gcp/storage/object_acl.py +5 -0
- pulumi_gcp/storage/outputs.py +5 -0
- pulumi_gcp/storage/transfer_agent_pool.py +16 -11
- pulumi_gcp/storage/transfer_job.py +113 -108
- pulumi_gcp/tags/_inputs.py +43 -0
- pulumi_gcp/tags/get_tag_key.py +5 -0
- pulumi_gcp/tags/get_tag_key_iam_policy.py +5 -0
- pulumi_gcp/tags/get_tag_keys.py +5 -0
- pulumi_gcp/tags/get_tag_value.py +5 -0
- pulumi_gcp/tags/get_tag_value_iam_policy.py +5 -0
- pulumi_gcp/tags/get_tag_values.py +5 -0
- pulumi_gcp/tags/location_tag_binding.py +5 -0
- pulumi_gcp/tags/outputs.py +5 -0
- pulumi_gcp/tags/tag_binding.py +5 -0
- pulumi_gcp/tags/tag_key.py +5 -0
- pulumi_gcp/tags/tag_key_iam_binding.py +24 -19
- pulumi_gcp/tags/tag_key_iam_member.py +24 -19
- pulumi_gcp/tags/tag_key_iam_policy.py +21 -16
- pulumi_gcp/tags/tag_value.py +5 -0
- pulumi_gcp/tags/tag_value_iam_binding.py +24 -19
- pulumi_gcp/tags/tag_value_iam_member.py +24 -19
- pulumi_gcp/tags/tag_value_iam_policy.py +21 -16
- pulumi_gcp/tpu/_inputs.py +194 -0
- pulumi_gcp/tpu/get_tensorflow_versions.py +5 -0
- pulumi_gcp/tpu/get_v2_accelerator_types.py +5 -0
- pulumi_gcp/tpu/get_v2_runtime_versions.py +5 -0
- pulumi_gcp/tpu/node.py +18 -13
- pulumi_gcp/tpu/outputs.py +5 -0
- pulumi_gcp/tpu/v2_vm.py +87 -82
- pulumi_gcp/vertex/_inputs.py +841 -0
- pulumi_gcp/vertex/ai_dataset.py +10 -5
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +36 -31
- pulumi_gcp/vertex/ai_endpoint.py +18 -13
- pulumi_gcp/vertex/ai_endpoint_iam_binding.py +8 -3
- pulumi_gcp/vertex/ai_endpoint_iam_member.py +8 -3
- pulumi_gcp/vertex/ai_endpoint_iam_policy.py +5 -0
- pulumi_gcp/vertex/ai_feature_group.py +22 -17
- pulumi_gcp/vertex/ai_feature_group_feature.py +17 -12
- pulumi_gcp/vertex/ai_feature_online_store.py +73 -68
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +151 -146
- pulumi_gcp/vertex/ai_feature_store.py +57 -52
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +92 -87
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +41 -36
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +8 -3
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +8 -3
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +5 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +8 -3
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +8 -3
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +5 -0
- pulumi_gcp/vertex/ai_index.py +68 -63
- pulumi_gcp/vertex/ai_index_endpoint.py +18 -13
- pulumi_gcp/vertex/ai_metadata_store.py +12 -7
- pulumi_gcp/vertex/ai_tensorboard.py +16 -11
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +5 -0
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +5 -0
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +5 -0
- pulumi_gcp/vertex/get_ai_index.py +5 -0
- pulumi_gcp/vertex/outputs.py +5 -0
- pulumi_gcp/vmwareengine/_inputs.py +290 -0
- pulumi_gcp/vmwareengine/cluster.py +74 -69
- pulumi_gcp/vmwareengine/external_access_rule.py +61 -56
- pulumi_gcp/vmwareengine/external_address.py +27 -22
- pulumi_gcp/vmwareengine/get_cluster.py +5 -0
- pulumi_gcp/vmwareengine/get_external_access_rule.py +5 -0
- pulumi_gcp/vmwareengine/get_external_address.py +5 -0
- pulumi_gcp/vmwareengine/get_network.py +5 -0
- pulumi_gcp/vmwareengine/get_network_peering.py +5 -0
- pulumi_gcp/vmwareengine/get_network_policy.py +5 -0
- pulumi_gcp/vmwareengine/get_nsx_credentials.py +5 -0
- pulumi_gcp/vmwareengine/get_private_cloud.py +5 -0
- pulumi_gcp/vmwareengine/get_subnet.py +5 -0
- pulumi_gcp/vmwareengine/get_vcenter_credentials.py +5 -0
- pulumi_gcp/vmwareengine/network.py +7 -2
- pulumi_gcp/vmwareengine/network_peering.py +5 -0
- pulumi_gcp/vmwareengine/network_policy.py +27 -22
- pulumi_gcp/vmwareengine/outputs.py +5 -0
- pulumi_gcp/vmwareengine/private_cloud.py +67 -62
- pulumi_gcp/vmwareengine/subnet.py +29 -24
- pulumi_gcp/vpcaccess/_inputs.py +22 -0
- pulumi_gcp/vpcaccess/connector.py +16 -11
- pulumi_gcp/vpcaccess/get_connector.py +5 -0
- pulumi_gcp/vpcaccess/outputs.py +5 -0
- pulumi_gcp/workbench/_inputs.py +319 -0
- pulumi_gcp/workbench/get_instance_iam_policy.py +5 -0
- pulumi_gcp/workbench/instance.py +144 -139
- pulumi_gcp/workbench/instance_iam_binding.py +8 -3
- pulumi_gcp/workbench/instance_iam_member.py +8 -3
- pulumi_gcp/workbench/instance_iam_policy.py +5 -0
- pulumi_gcp/workbench/outputs.py +5 -0
- pulumi_gcp/workflows/workflow.py +5 -0
- pulumi_gcp/workstations/_inputs.py +433 -0
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +5 -0
- pulumi_gcp/workstations/get_workstation_iam_policy.py +5 -0
- pulumi_gcp/workstations/outputs.py +5 -0
- pulumi_gcp/workstations/workstation.py +19 -14
- pulumi_gcp/workstations/workstation_cluster.py +35 -30
- pulumi_gcp/workstations/workstation_config.py +251 -246
- pulumi_gcp/workstations/workstation_config_iam_binding.py +8 -3
- pulumi_gcp/workstations/workstation_config_iam_member.py +8 -3
- pulumi_gcp/workstations/workstation_config_iam_policy.py +5 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +8 -3
- pulumi_gcp/workstations/workstation_iam_member.py +8 -3
- pulumi_gcp/workstations/workstation_iam_policy.py +5 -0
- {pulumi_gcp-7.30.0a1719470057.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/METADATA +2 -1
- pulumi_gcp-7.30.0a1719513455.dist-info/RECORD +1600 -0
- pulumi_gcp-7.30.0a1719470057.dist-info/RECORD +0 -1600
- {pulumi_gcp-7.30.0a1719470057.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.30.0a1719470057.dist-info → pulumi_gcp-7.30.0a1719513455.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudbuild/trigger.py
CHANGED
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
from . import outputs
|
12
17
|
from ._inputs import *
|
@@ -1002,29 +1007,29 @@ class Trigger(pulumi.CustomResource):
|
|
1002
1007
|
def __init__(__self__,
|
1003
1008
|
resource_name: str,
|
1004
1009
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1005
|
-
approval_config: Optional[pulumi.Input[
|
1006
|
-
bitbucket_server_trigger_config: Optional[pulumi.Input[
|
1007
|
-
build: Optional[pulumi.Input[
|
1010
|
+
approval_config: Optional[pulumi.Input[Union['TriggerApprovalConfigArgs', 'TriggerApprovalConfigArgsDict']]] = None,
|
1011
|
+
bitbucket_server_trigger_config: Optional[pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']]] = None,
|
1012
|
+
build: Optional[pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']]] = None,
|
1008
1013
|
description: Optional[pulumi.Input[str]] = None,
|
1009
1014
|
disabled: Optional[pulumi.Input[bool]] = None,
|
1010
1015
|
filename: Optional[pulumi.Input[str]] = None,
|
1011
1016
|
filter: Optional[pulumi.Input[str]] = None,
|
1012
|
-
git_file_source: Optional[pulumi.Input[
|
1013
|
-
github: Optional[pulumi.Input[
|
1017
|
+
git_file_source: Optional[pulumi.Input[Union['TriggerGitFileSourceArgs', 'TriggerGitFileSourceArgsDict']]] = None,
|
1018
|
+
github: Optional[pulumi.Input[Union['TriggerGithubArgs', 'TriggerGithubArgsDict']]] = None,
|
1014
1019
|
ignored_files: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1015
1020
|
include_build_logs: Optional[pulumi.Input[str]] = None,
|
1016
1021
|
included_files: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1017
1022
|
location: Optional[pulumi.Input[str]] = None,
|
1018
1023
|
name: Optional[pulumi.Input[str]] = None,
|
1019
1024
|
project: Optional[pulumi.Input[str]] = None,
|
1020
|
-
pubsub_config: Optional[pulumi.Input[
|
1021
|
-
repository_event_config: Optional[pulumi.Input[
|
1025
|
+
pubsub_config: Optional[pulumi.Input[Union['TriggerPubsubConfigArgs', 'TriggerPubsubConfigArgsDict']]] = None,
|
1026
|
+
repository_event_config: Optional[pulumi.Input[Union['TriggerRepositoryEventConfigArgs', 'TriggerRepositoryEventConfigArgsDict']]] = None,
|
1022
1027
|
service_account: Optional[pulumi.Input[str]] = None,
|
1023
|
-
source_to_build: Optional[pulumi.Input[
|
1028
|
+
source_to_build: Optional[pulumi.Input[Union['TriggerSourceToBuildArgs', 'TriggerSourceToBuildArgsDict']]] = None,
|
1024
1029
|
substitutions: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1025
1030
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
1026
|
-
trigger_template: Optional[pulumi.Input[
|
1027
|
-
webhook_config: Optional[pulumi.Input[
|
1031
|
+
trigger_template: Optional[pulumi.Input[Union['TriggerTriggerTemplateArgs', 'TriggerTriggerTemplateArgsDict']]] = None,
|
1032
|
+
webhook_config: Optional[pulumi.Input[Union['TriggerWebhookConfigArgs', 'TriggerWebhookConfigArgsDict']]] = None,
|
1028
1033
|
__props__=None):
|
1029
1034
|
"""
|
1030
1035
|
Configuration for an automated build in response to source repository changes.
|
@@ -1047,10 +1052,10 @@ class Trigger(pulumi.CustomResource):
|
|
1047
1052
|
|
1048
1053
|
filename_trigger = gcp.cloudbuild.Trigger("filename-trigger",
|
1049
1054
|
location="us-central1",
|
1050
|
-
trigger_template=
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1055
|
+
trigger_template={
|
1056
|
+
"branchName": "main",
|
1057
|
+
"repoName": "my-repo",
|
1058
|
+
},
|
1054
1059
|
substitutions={
|
1055
1060
|
"_FOO": "bar",
|
1056
1061
|
"_BAZ": "qux",
|
@@ -1066,95 +1071,95 @@ class Trigger(pulumi.CustomResource):
|
|
1066
1071
|
build_trigger = gcp.cloudbuild.Trigger("build-trigger",
|
1067
1072
|
name="my-trigger",
|
1068
1073
|
location="global",
|
1069
|
-
trigger_template=
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
build=
|
1074
|
-
steps
|
1075
|
-
|
1076
|
-
name
|
1077
|
-
args
|
1074
|
+
trigger_template={
|
1075
|
+
"branchName": "main",
|
1076
|
+
"repoName": "my-repo",
|
1077
|
+
},
|
1078
|
+
build={
|
1079
|
+
"steps": [
|
1080
|
+
{
|
1081
|
+
"name": "gcr.io/cloud-builders/gsutil",
|
1082
|
+
"args": [
|
1078
1083
|
"cp",
|
1079
1084
|
"gs://mybucket/remotefile.zip",
|
1080
1085
|
"localfile.zip",
|
1081
1086
|
],
|
1082
|
-
timeout
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
name
|
1087
|
-
script
|
1088
|
-
|
1087
|
+
"timeout": "120s",
|
1088
|
+
"secretEnvs": ["MY_SECRET"],
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"name": "ubuntu",
|
1092
|
+
"script": "echo hello",
|
1093
|
+
},
|
1089
1094
|
],
|
1090
|
-
source
|
1091
|
-
|
1092
|
-
bucket
|
1093
|
-
object
|
1094
|
-
|
1095
|
-
|
1096
|
-
tags
|
1095
|
+
"source": {
|
1096
|
+
"storageSource": {
|
1097
|
+
"bucket": "mybucket",
|
1098
|
+
"object": "source_code.tar.gz",
|
1099
|
+
},
|
1100
|
+
},
|
1101
|
+
"tags": [
|
1097
1102
|
"build",
|
1098
1103
|
"newFeature",
|
1099
1104
|
],
|
1100
|
-
substitutions
|
1105
|
+
"substitutions": {
|
1101
1106
|
"_FOO": "bar",
|
1102
1107
|
"_BAZ": "qux",
|
1103
1108
|
},
|
1104
|
-
|
1105
|
-
|
1106
|
-
secrets
|
1107
|
-
|
1108
|
-
|
1109
|
+
"queueTtl": "20s",
|
1110
|
+
"logsBucket": "gs://mybucket/logs",
|
1111
|
+
"secrets": [{
|
1112
|
+
"kmsKeyName": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1113
|
+
"secretEnv": {
|
1109
1114
|
"PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1110
1115
|
},
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
env
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
artifacts
|
1119
|
-
images
|
1120
|
-
objects
|
1121
|
-
location
|
1122
|
-
paths
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
repository
|
1127
|
-
|
1128
|
-
|
1129
|
-
paths
|
1130
|
-
repository
|
1131
|
-
|
1132
|
-
|
1133
|
-
repository
|
1134
|
-
path
|
1135
|
-
|
1136
|
-
|
1137
|
-
version
|
1138
|
-
|
1139
|
-
|
1140
|
-
options
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
logging
|
1150
|
-
envs
|
1151
|
-
|
1152
|
-
volumes
|
1153
|
-
name
|
1154
|
-
path
|
1155
|
-
|
1156
|
-
|
1157
|
-
)
|
1116
|
+
}],
|
1117
|
+
"availableSecrets": {
|
1118
|
+
"secretManagers": [{
|
1119
|
+
"env": "MY_SECRET",
|
1120
|
+
"versionName": "projects/myProject/secrets/mySecret/versions/latest",
|
1121
|
+
}],
|
1122
|
+
},
|
1123
|
+
"artifacts": {
|
1124
|
+
"images": ["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
|
1125
|
+
"objects": {
|
1126
|
+
"location": "gs://bucket/path/to/somewhere/",
|
1127
|
+
"paths": ["path"],
|
1128
|
+
},
|
1129
|
+
"npmPackages": [{
|
1130
|
+
"packagePath": "package.json",
|
1131
|
+
"repository": "https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo",
|
1132
|
+
}],
|
1133
|
+
"pythonPackages": [{
|
1134
|
+
"paths": ["dist/*"],
|
1135
|
+
"repository": "https://us-west1-python.pkg.dev/myProject/quickstart-python-repo",
|
1136
|
+
}],
|
1137
|
+
"mavenArtifacts": [{
|
1138
|
+
"repository": "https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo",
|
1139
|
+
"path": "/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar",
|
1140
|
+
"artifactId": "my-app",
|
1141
|
+
"groupId": "com.mycompany.app",
|
1142
|
+
"version": "1.0",
|
1143
|
+
}],
|
1144
|
+
},
|
1145
|
+
"options": {
|
1146
|
+
"sourceProvenanceHashes": ["MD5"],
|
1147
|
+
"requestedVerifyOption": "VERIFIED",
|
1148
|
+
"machineType": "N1_HIGHCPU_8",
|
1149
|
+
"diskSizeGb": 100,
|
1150
|
+
"substitutionOption": "ALLOW_LOOSE",
|
1151
|
+
"dynamicSubstitutions": True,
|
1152
|
+
"logStreamingOption": "STREAM_OFF",
|
1153
|
+
"workerPool": "pool",
|
1154
|
+
"logging": "LEGACY",
|
1155
|
+
"envs": ["ekey = evalue"],
|
1156
|
+
"secretEnvs": ["secretenv = svalue"],
|
1157
|
+
"volumes": [{
|
1158
|
+
"name": "v1",
|
1159
|
+
"path": "v1",
|
1160
|
+
}],
|
1161
|
+
},
|
1162
|
+
})
|
1158
1163
|
```
|
1159
1164
|
### Cloudbuild Trigger Service Account
|
1160
1165
|
|
@@ -1173,10 +1178,10 @@ class Trigger(pulumi.CustomResource):
|
|
1173
1178
|
role="roles/logging.logWriter",
|
1174
1179
|
member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
|
1175
1180
|
service_account_trigger = gcp.cloudbuild.Trigger("service-account-trigger",
|
1176
|
-
trigger_template=
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1181
|
+
trigger_template={
|
1182
|
+
"branchName": "main",
|
1183
|
+
"repoName": "my-repo",
|
1184
|
+
},
|
1180
1185
|
service_account=cloudbuild_service_account.id,
|
1181
1186
|
filename="cloudbuild.yaml",
|
1182
1187
|
opts = pulumi.ResourceOptions(depends_on=[
|
@@ -1194,13 +1199,13 @@ class Trigger(pulumi.CustomResource):
|
|
1194
1199
|
location="us-central1",
|
1195
1200
|
name="include-build-logs-trigger",
|
1196
1201
|
filename="cloudbuild.yaml",
|
1197
|
-
github=
|
1198
|
-
owner
|
1199
|
-
name
|
1200
|
-
push
|
1201
|
-
branch
|
1202
|
-
|
1203
|
-
|
1202
|
+
github={
|
1203
|
+
"owner": "hashicorp",
|
1204
|
+
"name": "terraform-provider-google-beta",
|
1205
|
+
"push": {
|
1206
|
+
"branch": "^main$",
|
1207
|
+
},
|
1208
|
+
},
|
1204
1209
|
include_build_logs="INCLUDE_BUILD_LOGS_WITH_STATUS")
|
1205
1210
|
```
|
1206
1211
|
### Cloudbuild Trigger Pubsub Config
|
@@ -1214,20 +1219,20 @@ class Trigger(pulumi.CustomResource):
|
|
1214
1219
|
location="us-central1",
|
1215
1220
|
name="pubsub-trigger",
|
1216
1221
|
description="acceptance test example pubsub build trigger",
|
1217
|
-
pubsub_config=
|
1218
|
-
topic
|
1219
|
-
|
1220
|
-
source_to_build=
|
1221
|
-
uri
|
1222
|
-
ref
|
1223
|
-
|
1224
|
-
|
1225
|
-
git_file_source=
|
1226
|
-
path
|
1227
|
-
uri
|
1228
|
-
revision
|
1229
|
-
|
1230
|
-
|
1222
|
+
pubsub_config={
|
1223
|
+
"topic": mytopic.id,
|
1224
|
+
},
|
1225
|
+
source_to_build={
|
1226
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1227
|
+
"ref": "refs/heads/main",
|
1228
|
+
"repoType": "GITHUB",
|
1229
|
+
},
|
1230
|
+
git_file_source={
|
1231
|
+
"path": "cloudbuild.yaml",
|
1232
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1233
|
+
"revision": "refs/heads/main",
|
1234
|
+
"repoType": "GITHUB",
|
1235
|
+
},
|
1231
1236
|
substitutions={
|
1232
1237
|
"_ACTION": "$(body.message.data.action)",
|
1233
1238
|
},
|
@@ -1241,21 +1246,21 @@ class Trigger(pulumi.CustomResource):
|
|
1241
1246
|
|
1242
1247
|
webhook_trigger_secret_key = gcp.secretmanager.Secret("webhook_trigger_secret_key",
|
1243
1248
|
secret_id="webhook-trigger-secret-key",
|
1244
|
-
replication=
|
1245
|
-
|
1246
|
-
replicas
|
1247
|
-
location
|
1248
|
-
|
1249
|
-
|
1250
|
-
)
|
1249
|
+
replication={
|
1250
|
+
"userManaged": {
|
1251
|
+
"replicas": [{
|
1252
|
+
"location": "us-central1",
|
1253
|
+
}],
|
1254
|
+
},
|
1255
|
+
})
|
1251
1256
|
webhook_trigger_secret_key_data = gcp.secretmanager.SecretVersion("webhook_trigger_secret_key_data",
|
1252
1257
|
secret=webhook_trigger_secret_key.id,
|
1253
1258
|
secret_data="secretkeygoeshere")
|
1254
1259
|
project = gcp.organizations.get_project()
|
1255
|
-
secret_accessor = gcp.organizations.get_iam_policy(bindings=[
|
1256
|
-
role
|
1257
|
-
members
|
1258
|
-
|
1260
|
+
secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
|
1261
|
+
"role": "roles/secretmanager.secretAccessor",
|
1262
|
+
"members": [f"serviceAccount:service-{project.number}@gcp-sa-cloudbuild.iam.gserviceaccount.com"],
|
1263
|
+
}])
|
1259
1264
|
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
1260
1265
|
project=webhook_trigger_secret_key.project,
|
1261
1266
|
secret_id=webhook_trigger_secret_key.secret_id,
|
@@ -1263,20 +1268,20 @@ class Trigger(pulumi.CustomResource):
|
|
1263
1268
|
webhook_config_trigger = gcp.cloudbuild.Trigger("webhook-config-trigger",
|
1264
1269
|
name="webhook-trigger",
|
1265
1270
|
description="acceptance test example webhook build trigger",
|
1266
|
-
webhook_config=
|
1267
|
-
secret
|
1268
|
-
|
1269
|
-
source_to_build=
|
1270
|
-
uri
|
1271
|
-
ref
|
1272
|
-
|
1273
|
-
|
1274
|
-
git_file_source=
|
1275
|
-
path
|
1276
|
-
uri
|
1277
|
-
revision
|
1278
|
-
|
1279
|
-
)
|
1271
|
+
webhook_config={
|
1272
|
+
"secret": webhook_trigger_secret_key_data.id,
|
1273
|
+
},
|
1274
|
+
source_to_build={
|
1275
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1276
|
+
"ref": "refs/heads/main",
|
1277
|
+
"repoType": "GITHUB",
|
1278
|
+
},
|
1279
|
+
git_file_source={
|
1280
|
+
"path": "cloudbuild.yaml",
|
1281
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1282
|
+
"revision": "refs/heads/main",
|
1283
|
+
"repoType": "GITHUB",
|
1284
|
+
})
|
1280
1285
|
```
|
1281
1286
|
### Cloudbuild Trigger Manual
|
1282
1287
|
|
@@ -1286,20 +1291,20 @@ class Trigger(pulumi.CustomResource):
|
|
1286
1291
|
|
1287
1292
|
manual_trigger = gcp.cloudbuild.Trigger("manual-trigger",
|
1288
1293
|
name="manual-trigger",
|
1289
|
-
source_to_build=
|
1290
|
-
uri
|
1291
|
-
ref
|
1292
|
-
|
1293
|
-
|
1294
|
-
git_file_source=
|
1295
|
-
path
|
1296
|
-
uri
|
1297
|
-
revision
|
1298
|
-
|
1299
|
-
|
1300
|
-
approval_config=
|
1301
|
-
|
1302
|
-
)
|
1294
|
+
source_to_build={
|
1295
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1296
|
+
"ref": "refs/heads/main",
|
1297
|
+
"repoType": "GITHUB",
|
1298
|
+
},
|
1299
|
+
git_file_source={
|
1300
|
+
"path": "cloudbuild.yaml",
|
1301
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1302
|
+
"revision": "refs/heads/main",
|
1303
|
+
"repoType": "GITHUB",
|
1304
|
+
},
|
1305
|
+
approval_config={
|
1306
|
+
"approvalRequired": True,
|
1307
|
+
})
|
1303
1308
|
```
|
1304
1309
|
### Cloudbuild Trigger Manual Github Enterprise
|
1305
1310
|
|
@@ -1309,19 +1314,19 @@ class Trigger(pulumi.CustomResource):
|
|
1309
1314
|
|
1310
1315
|
manual_ghe_trigger = gcp.cloudbuild.Trigger("manual-ghe-trigger",
|
1311
1316
|
name="",
|
1312
|
-
source_to_build=
|
1313
|
-
uri
|
1314
|
-
ref
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
git_file_source=
|
1319
|
-
path
|
1320
|
-
uri
|
1321
|
-
revision
|
1322
|
-
|
1323
|
-
|
1324
|
-
)
|
1317
|
+
source_to_build={
|
1318
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1319
|
+
"ref": "refs/heads/main",
|
1320
|
+
"repoType": "GITHUB",
|
1321
|
+
"githubEnterpriseConfig": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
1322
|
+
},
|
1323
|
+
git_file_source={
|
1324
|
+
"path": "cloudbuild.yaml",
|
1325
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1326
|
+
"revision": "refs/heads/main",
|
1327
|
+
"repoType": "GITHUB",
|
1328
|
+
"githubEnterpriseConfig": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
1329
|
+
})
|
1325
1330
|
```
|
1326
1331
|
### Cloudbuild Trigger Manual Bitbucket Server
|
1327
1332
|
|
@@ -1331,19 +1336,19 @@ class Trigger(pulumi.CustomResource):
|
|
1331
1336
|
|
1332
1337
|
manual_bitbucket_trigger = gcp.cloudbuild.Trigger("manual-bitbucket-trigger",
|
1333
1338
|
name="terraform-manual-bbs-trigger",
|
1334
|
-
source_to_build=
|
1335
|
-
uri
|
1336
|
-
ref
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
git_file_source=
|
1341
|
-
path
|
1342
|
-
uri
|
1343
|
-
revision
|
1344
|
-
|
1345
|
-
|
1346
|
-
)
|
1339
|
+
source_to_build={
|
1340
|
+
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
1341
|
+
"ref": "refs/heads/main",
|
1342
|
+
"repoType": "BITBUCKET_SERVER",
|
1343
|
+
"bitbucketServerConfig": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
1344
|
+
},
|
1345
|
+
git_file_source={
|
1346
|
+
"path": "cloudbuild.yaml",
|
1347
|
+
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
1348
|
+
"revision": "refs/heads/main",
|
1349
|
+
"repoType": "BITBUCKET_SERVER",
|
1350
|
+
"bitbucketServerConfig": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
1351
|
+
})
|
1347
1352
|
```
|
1348
1353
|
### Cloudbuild Trigger Repo
|
1349
1354
|
|
@@ -1354,24 +1359,24 @@ class Trigger(pulumi.CustomResource):
|
|
1354
1359
|
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
1355
1360
|
location="us-central1",
|
1356
1361
|
name="my-connection",
|
1357
|
-
github_config=
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
)
|
1362
|
+
github_config={
|
1363
|
+
"appInstallationId": 123123,
|
1364
|
+
"authorizerCredential": {
|
1365
|
+
"oauthTokenSecretVersion": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
1366
|
+
},
|
1367
|
+
})
|
1363
1368
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
1364
1369
|
name="my-repo",
|
1365
1370
|
parent_connection=my_connection.id,
|
1366
1371
|
remote_uri="https://github.com/myuser/my-repo.git")
|
1367
1372
|
repo_trigger = gcp.cloudbuild.Trigger("repo-trigger",
|
1368
1373
|
location="us-central1",
|
1369
|
-
repository_event_config=
|
1370
|
-
repository
|
1371
|
-
push
|
1372
|
-
branch
|
1373
|
-
|
1374
|
-
|
1374
|
+
repository_event_config={
|
1375
|
+
"repository": my_repository.id,
|
1376
|
+
"push": {
|
1377
|
+
"branch": "feature-.*",
|
1378
|
+
},
|
1379
|
+
},
|
1375
1380
|
filename="cloudbuild.yaml")
|
1376
1381
|
```
|
1377
1382
|
### Cloudbuild Trigger Bitbucket Server Push
|
@@ -1383,15 +1388,15 @@ class Trigger(pulumi.CustomResource):
|
|
1383
1388
|
bbs_push_trigger = gcp.cloudbuild.Trigger("bbs-push-trigger",
|
1384
1389
|
name="bbs-push-trigger",
|
1385
1390
|
location="us-central1",
|
1386
|
-
bitbucket_server_trigger_config=
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
push
|
1391
|
-
tag
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1391
|
+
bitbucket_server_trigger_config={
|
1392
|
+
"repoSlug": "bbs-push-trigger",
|
1393
|
+
"projectKey": "STAG",
|
1394
|
+
"bitbucketServerConfigResource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
1395
|
+
"push": {
|
1396
|
+
"tag": "^0.1.*",
|
1397
|
+
"invertRegex": True,
|
1398
|
+
},
|
1399
|
+
},
|
1395
1400
|
filename="cloudbuild.yaml")
|
1396
1401
|
```
|
1397
1402
|
### Cloudbuild Trigger Bitbucket Server Pull Request
|
@@ -1403,16 +1408,16 @@ class Trigger(pulumi.CustomResource):
|
|
1403
1408
|
bbs_pull_request_trigger = gcp.cloudbuild.Trigger("bbs-pull-request-trigger",
|
1404
1409
|
name="ghe-trigger",
|
1405
1410
|
location="us-central1",
|
1406
|
-
bitbucket_server_trigger_config=
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
branch
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1411
|
+
bitbucket_server_trigger_config={
|
1412
|
+
"repoSlug": "terraform-provider-google",
|
1413
|
+
"projectKey": "STAG",
|
1414
|
+
"bitbucketServerConfigResource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
1415
|
+
"pullRequest": {
|
1416
|
+
"branch": "^master$",
|
1417
|
+
"invertRegex": False,
|
1418
|
+
"commentControl": "COMMENTS_ENABLED",
|
1419
|
+
},
|
1420
|
+
},
|
1416
1421
|
filename="cloudbuild.yaml")
|
1417
1422
|
```
|
1418
1423
|
### Cloudbuild Trigger Github Enterprise
|
@@ -1424,14 +1429,14 @@ class Trigger(pulumi.CustomResource):
|
|
1424
1429
|
ghe_trigger = gcp.cloudbuild.Trigger("ghe-trigger",
|
1425
1430
|
name="ghe-trigger",
|
1426
1431
|
location="us-central1",
|
1427
|
-
github=
|
1428
|
-
owner
|
1429
|
-
name
|
1430
|
-
push
|
1431
|
-
branch
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1432
|
+
github={
|
1433
|
+
"owner": "hashicorp",
|
1434
|
+
"name": "terraform-provider-google",
|
1435
|
+
"push": {
|
1436
|
+
"branch": "^main$",
|
1437
|
+
},
|
1438
|
+
"enterpriseConfigResourceName": "projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
|
1439
|
+
},
|
1435
1440
|
filename="cloudbuild.yaml")
|
1436
1441
|
```
|
1437
1442
|
### Cloudbuild Trigger Allow Failure
|
@@ -1443,72 +1448,72 @@ class Trigger(pulumi.CustomResource):
|
|
1443
1448
|
allow_failure_trigger = gcp.cloudbuild.Trigger("allow-failure-trigger",
|
1444
1449
|
name="my-trigger",
|
1445
1450
|
location="global",
|
1446
|
-
trigger_template=
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
build=
|
1451
|
-
steps
|
1452
|
-
name
|
1453
|
-
args
|
1451
|
+
trigger_template={
|
1452
|
+
"branchName": "main",
|
1453
|
+
"repoName": "my-repo",
|
1454
|
+
},
|
1455
|
+
build={
|
1456
|
+
"steps": [{
|
1457
|
+
"name": "ubuntu",
|
1458
|
+
"args": [
|
1454
1459
|
"-c",
|
1455
1460
|
"exit 1",
|
1456
1461
|
],
|
1457
|
-
|
1458
|
-
|
1459
|
-
source
|
1460
|
-
|
1461
|
-
bucket
|
1462
|
-
object
|
1463
|
-
|
1464
|
-
|
1465
|
-
tags
|
1462
|
+
"allowFailure": True,
|
1463
|
+
}],
|
1464
|
+
"source": {
|
1465
|
+
"storageSource": {
|
1466
|
+
"bucket": "mybucket",
|
1467
|
+
"object": "source_code.tar.gz",
|
1468
|
+
},
|
1469
|
+
},
|
1470
|
+
"tags": [
|
1466
1471
|
"build",
|
1467
1472
|
"newFeature",
|
1468
1473
|
],
|
1469
|
-
substitutions
|
1474
|
+
"substitutions": {
|
1470
1475
|
"_FOO": "bar",
|
1471
1476
|
"_BAZ": "qux",
|
1472
1477
|
},
|
1473
|
-
|
1474
|
-
|
1475
|
-
secrets
|
1476
|
-
|
1477
|
-
|
1478
|
+
"queueTtl": "20s",
|
1479
|
+
"logsBucket": "gs://mybucket/logs",
|
1480
|
+
"secrets": [{
|
1481
|
+
"kmsKeyName": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1482
|
+
"secretEnv": {
|
1478
1483
|
"PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1479
1484
|
},
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
env
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
artifacts
|
1488
|
-
images
|
1489
|
-
objects
|
1490
|
-
location
|
1491
|
-
paths
|
1492
|
-
|
1493
|
-
|
1494
|
-
options
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
logging
|
1504
|
-
envs
|
1505
|
-
|
1506
|
-
volumes
|
1507
|
-
name
|
1508
|
-
path
|
1509
|
-
|
1510
|
-
|
1511
|
-
)
|
1485
|
+
}],
|
1486
|
+
"availableSecrets": {
|
1487
|
+
"secretManagers": [{
|
1488
|
+
"env": "MY_SECRET",
|
1489
|
+
"versionName": "projects/myProject/secrets/mySecret/versions/latest",
|
1490
|
+
}],
|
1491
|
+
},
|
1492
|
+
"artifacts": {
|
1493
|
+
"images": ["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
|
1494
|
+
"objects": {
|
1495
|
+
"location": "gs://bucket/path/to/somewhere/",
|
1496
|
+
"paths": ["path"],
|
1497
|
+
},
|
1498
|
+
},
|
1499
|
+
"options": {
|
1500
|
+
"sourceProvenanceHashes": ["MD5"],
|
1501
|
+
"requestedVerifyOption": "VERIFIED",
|
1502
|
+
"machineType": "N1_HIGHCPU_8",
|
1503
|
+
"diskSizeGb": 100,
|
1504
|
+
"substitutionOption": "ALLOW_LOOSE",
|
1505
|
+
"dynamicSubstitutions": True,
|
1506
|
+
"logStreamingOption": "STREAM_OFF",
|
1507
|
+
"workerPool": "pool",
|
1508
|
+
"logging": "LEGACY",
|
1509
|
+
"envs": ["ekey = evalue"],
|
1510
|
+
"secretEnvs": ["secretenv = svalue"],
|
1511
|
+
"volumes": [{
|
1512
|
+
"name": "v1",
|
1513
|
+
"path": "v1",
|
1514
|
+
}],
|
1515
|
+
},
|
1516
|
+
})
|
1512
1517
|
```
|
1513
1518
|
### Cloudbuild Trigger Allow Exit Codes
|
1514
1519
|
|
@@ -1519,75 +1524,75 @@ class Trigger(pulumi.CustomResource):
|
|
1519
1524
|
allow_exit_codes_trigger = gcp.cloudbuild.Trigger("allow-exit-codes-trigger",
|
1520
1525
|
name="my-trigger",
|
1521
1526
|
location="global",
|
1522
|
-
trigger_template=
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
build=
|
1527
|
-
steps
|
1528
|
-
name
|
1529
|
-
args
|
1527
|
+
trigger_template={
|
1528
|
+
"branchName": "main",
|
1529
|
+
"repoName": "my-repo",
|
1530
|
+
},
|
1531
|
+
build={
|
1532
|
+
"steps": [{
|
1533
|
+
"name": "ubuntu",
|
1534
|
+
"args": [
|
1530
1535
|
"-c",
|
1531
1536
|
"exit 1",
|
1532
1537
|
],
|
1533
|
-
|
1538
|
+
"allowExitCodes": [
|
1534
1539
|
1,
|
1535
1540
|
3,
|
1536
1541
|
],
|
1537
|
-
|
1538
|
-
source
|
1539
|
-
|
1540
|
-
bucket
|
1541
|
-
object
|
1542
|
-
|
1543
|
-
|
1544
|
-
tags
|
1542
|
+
}],
|
1543
|
+
"source": {
|
1544
|
+
"storageSource": {
|
1545
|
+
"bucket": "mybucket",
|
1546
|
+
"object": "source_code.tar.gz",
|
1547
|
+
},
|
1548
|
+
},
|
1549
|
+
"tags": [
|
1545
1550
|
"build",
|
1546
1551
|
"newFeature",
|
1547
1552
|
],
|
1548
|
-
substitutions
|
1553
|
+
"substitutions": {
|
1549
1554
|
"_FOO": "bar",
|
1550
1555
|
"_BAZ": "qux",
|
1551
1556
|
},
|
1552
|
-
|
1553
|
-
|
1554
|
-
secrets
|
1555
|
-
|
1556
|
-
|
1557
|
+
"queueTtl": "20s",
|
1558
|
+
"logsBucket": "gs://mybucket/logs",
|
1559
|
+
"secrets": [{
|
1560
|
+
"kmsKeyName": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1561
|
+
"secretEnv": {
|
1557
1562
|
"PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1558
1563
|
},
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
env
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
artifacts
|
1567
|
-
images
|
1568
|
-
objects
|
1569
|
-
location
|
1570
|
-
paths
|
1571
|
-
|
1572
|
-
|
1573
|
-
options
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
logging
|
1583
|
-
envs
|
1584
|
-
|
1585
|
-
volumes
|
1586
|
-
name
|
1587
|
-
path
|
1588
|
-
|
1589
|
-
|
1590
|
-
)
|
1564
|
+
}],
|
1565
|
+
"availableSecrets": {
|
1566
|
+
"secretManagers": [{
|
1567
|
+
"env": "MY_SECRET",
|
1568
|
+
"versionName": "projects/myProject/secrets/mySecret/versions/latest",
|
1569
|
+
}],
|
1570
|
+
},
|
1571
|
+
"artifacts": {
|
1572
|
+
"images": ["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
|
1573
|
+
"objects": {
|
1574
|
+
"location": "gs://bucket/path/to/somewhere/",
|
1575
|
+
"paths": ["path"],
|
1576
|
+
},
|
1577
|
+
},
|
1578
|
+
"options": {
|
1579
|
+
"sourceProvenanceHashes": ["MD5"],
|
1580
|
+
"requestedVerifyOption": "VERIFIED",
|
1581
|
+
"machineType": "N1_HIGHCPU_8",
|
1582
|
+
"diskSizeGb": 100,
|
1583
|
+
"substitutionOption": "ALLOW_LOOSE",
|
1584
|
+
"dynamicSubstitutions": True,
|
1585
|
+
"logStreamingOption": "STREAM_OFF",
|
1586
|
+
"workerPool": "pool",
|
1587
|
+
"logging": "LEGACY",
|
1588
|
+
"envs": ["ekey = evalue"],
|
1589
|
+
"secretEnvs": ["secretenv = svalue"],
|
1590
|
+
"volumes": [{
|
1591
|
+
"name": "v1",
|
1592
|
+
"path": "v1",
|
1593
|
+
}],
|
1594
|
+
},
|
1595
|
+
})
|
1591
1596
|
```
|
1592
1597
|
### Cloudbuild Trigger Pubsub With Repo
|
1593
1598
|
|
@@ -1598,12 +1603,12 @@ class Trigger(pulumi.CustomResource):
|
|
1598
1603
|
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
1599
1604
|
location="us-central1",
|
1600
1605
|
name="my-connection",
|
1601
|
-
github_config=
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
)
|
1606
|
+
github_config={
|
1607
|
+
"appInstallationId": 123123,
|
1608
|
+
"authorizerCredential": {
|
1609
|
+
"oauthTokenSecretVersion": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
1610
|
+
},
|
1611
|
+
})
|
1607
1612
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
1608
1613
|
name="my-repo",
|
1609
1614
|
parent_connection=my_connection.id,
|
@@ -1612,20 +1617,20 @@ class Trigger(pulumi.CustomResource):
|
|
1612
1617
|
pubsub_with_repo_trigger = gcp.cloudbuild.Trigger("pubsub-with-repo-trigger",
|
1613
1618
|
name="pubsub-with-repo-trigger",
|
1614
1619
|
location="us-central1",
|
1615
|
-
pubsub_config=
|
1616
|
-
topic
|
1617
|
-
|
1618
|
-
source_to_build=
|
1619
|
-
repository
|
1620
|
-
ref
|
1621
|
-
|
1622
|
-
|
1623
|
-
git_file_source=
|
1624
|
-
path
|
1625
|
-
repository
|
1626
|
-
revision
|
1627
|
-
|
1628
|
-
)
|
1620
|
+
pubsub_config={
|
1621
|
+
"topic": mytopic.id,
|
1622
|
+
},
|
1623
|
+
source_to_build={
|
1624
|
+
"repository": my_repository.id,
|
1625
|
+
"ref": "refs/heads/main",
|
1626
|
+
"repoType": "GITHUB",
|
1627
|
+
},
|
1628
|
+
git_file_source={
|
1629
|
+
"path": "cloudbuild.yaml",
|
1630
|
+
"repository": my_repository.id,
|
1631
|
+
"revision": "refs/heads/main",
|
1632
|
+
"repoType": "GITHUB",
|
1633
|
+
})
|
1629
1634
|
```
|
1630
1635
|
|
1631
1636
|
## Import
|
@@ -1660,13 +1665,13 @@ class Trigger(pulumi.CustomResource):
|
|
1660
1665
|
|
1661
1666
|
:param str resource_name: The name of the resource.
|
1662
1667
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1663
|
-
:param pulumi.Input[
|
1668
|
+
:param pulumi.Input[Union['TriggerApprovalConfigArgs', 'TriggerApprovalConfigArgsDict']] approval_config: Configuration for manual approval to start a build invocation of this BuildTrigger.
|
1664
1669
|
Builds created by this trigger will require approval before they execute.
|
1665
1670
|
Any user with a Cloud Build Approver role for the project can approve a build.
|
1666
1671
|
Structure is documented below.
|
1667
|
-
:param pulumi.Input[
|
1672
|
+
:param pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']] bitbucket_server_trigger_config: BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
|
1668
1673
|
Structure is documented below.
|
1669
|
-
:param pulumi.Input[
|
1674
|
+
:param pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']] build: Contents of the build template. Either a filename or build template must be provided.
|
1670
1675
|
Structure is documented below.
|
1671
1676
|
:param pulumi.Input[str] description: Human-readable description of the trigger.
|
1672
1677
|
:param pulumi.Input[bool] disabled: Whether the trigger is disabled or not. If true, the trigger will never result in a build.
|
@@ -1674,9 +1679,9 @@ class Trigger(pulumi.CustomResource):
|
|
1674
1679
|
Either a filename or build template must be provided. Set this only when using trigger_template or github.
|
1675
1680
|
When using Pub/Sub, Webhook or Manual set the file name using git_file_source instead.
|
1676
1681
|
:param pulumi.Input[str] filter: A Common Expression Language string. Used only with Pub/Sub and Webhook.
|
1677
|
-
:param pulumi.Input[
|
1682
|
+
:param pulumi.Input[Union['TriggerGitFileSourceArgs', 'TriggerGitFileSourceArgsDict']] git_file_source: The file source describing the local or remote Build template.
|
1678
1683
|
Structure is documented below.
|
1679
|
-
:param pulumi.Input[
|
1684
|
+
:param pulumi.Input[Union['TriggerGithubArgs', 'TriggerGithubArgsDict']] github: Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
|
1680
1685
|
One of `trigger_template`, `github`, `pubsub_config` or `webhook_config` must be provided.
|
1681
1686
|
Structure is documented below.
|
1682
1687
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ignored_files: ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
|
@@ -1704,18 +1709,18 @@ class Trigger(pulumi.CustomResource):
|
|
1704
1709
|
:param pulumi.Input[str] name: Name of the trigger. Must be unique within the project.
|
1705
1710
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1706
1711
|
If it is not provided, the provider project is used.
|
1707
|
-
:param pulumi.Input[
|
1712
|
+
:param pulumi.Input[Union['TriggerPubsubConfigArgs', 'TriggerPubsubConfigArgsDict']] pubsub_config: PubsubConfig describes the configuration of a trigger that creates
|
1708
1713
|
a build whenever a Pub/Sub message is published.
|
1709
1714
|
One of `trigger_template`, `github`, `pubsub_config` `webhook_config` or `source_to_build` must be provided.
|
1710
1715
|
Structure is documented below.
|
1711
|
-
:param pulumi.Input[
|
1716
|
+
:param pulumi.Input[Union['TriggerRepositoryEventConfigArgs', 'TriggerRepositoryEventConfigArgsDict']] repository_event_config: The configuration of a trigger that creates a build whenever an event from Repo API is received.
|
1712
1717
|
Structure is documented below.
|
1713
1718
|
:param pulumi.Input[str] service_account: The service account used for all user-controlled operations including
|
1714
1719
|
triggers.patch, triggers.run, builds.create, and builds.cancel.
|
1715
1720
|
If no service account is set, then the standard Cloud Build service account
|
1716
1721
|
([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
|
1717
1722
|
Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
|
1718
|
-
:param pulumi.Input[
|
1723
|
+
:param pulumi.Input[Union['TriggerSourceToBuildArgs', 'TriggerSourceToBuildArgsDict']] source_to_build: The repo and ref of the repository from which to build.
|
1719
1724
|
This field is used only for those triggers that do not respond to SCM events.
|
1720
1725
|
Triggers that respond to such events build source at whatever commit caused the event.
|
1721
1726
|
This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
|
@@ -1723,13 +1728,13 @@ class Trigger(pulumi.CustomResource):
|
|
1723
1728
|
Structure is documented below.
|
1724
1729
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] substitutions: Substitutions data for Build resource.
|
1725
1730
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags for annotation of a BuildTrigger
|
1726
|
-
:param pulumi.Input[
|
1731
|
+
:param pulumi.Input[Union['TriggerTriggerTemplateArgs', 'TriggerTriggerTemplateArgsDict']] trigger_template: Template describing the types of source changes to trigger a build.
|
1727
1732
|
Branch and tag names in trigger templates are interpreted as regular
|
1728
1733
|
expressions. Any branch or tag change that matches that regular
|
1729
1734
|
expression will trigger a build.
|
1730
1735
|
One of `trigger_template`, `github`, `pubsub_config`, `webhook_config` or `source_to_build` must be provided.
|
1731
1736
|
Structure is documented below.
|
1732
|
-
:param pulumi.Input[
|
1737
|
+
:param pulumi.Input[Union['TriggerWebhookConfigArgs', 'TriggerWebhookConfigArgsDict']] webhook_config: WebhookConfig describes the configuration of a trigger that creates
|
1733
1738
|
a build whenever a webhook is sent to a trigger's webhook URL.
|
1734
1739
|
One of `trigger_template`, `github`, `pubsub_config` `webhook_config` or `source_to_build` must be provided.
|
1735
1740
|
Structure is documented below.
|
@@ -1761,10 +1766,10 @@ class Trigger(pulumi.CustomResource):
|
|
1761
1766
|
|
1762
1767
|
filename_trigger = gcp.cloudbuild.Trigger("filename-trigger",
|
1763
1768
|
location="us-central1",
|
1764
|
-
trigger_template=
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1769
|
+
trigger_template={
|
1770
|
+
"branchName": "main",
|
1771
|
+
"repoName": "my-repo",
|
1772
|
+
},
|
1768
1773
|
substitutions={
|
1769
1774
|
"_FOO": "bar",
|
1770
1775
|
"_BAZ": "qux",
|
@@ -1780,95 +1785,95 @@ class Trigger(pulumi.CustomResource):
|
|
1780
1785
|
build_trigger = gcp.cloudbuild.Trigger("build-trigger",
|
1781
1786
|
name="my-trigger",
|
1782
1787
|
location="global",
|
1783
|
-
trigger_template=
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
build=
|
1788
|
-
steps
|
1789
|
-
|
1790
|
-
name
|
1791
|
-
args
|
1788
|
+
trigger_template={
|
1789
|
+
"branchName": "main",
|
1790
|
+
"repoName": "my-repo",
|
1791
|
+
},
|
1792
|
+
build={
|
1793
|
+
"steps": [
|
1794
|
+
{
|
1795
|
+
"name": "gcr.io/cloud-builders/gsutil",
|
1796
|
+
"args": [
|
1792
1797
|
"cp",
|
1793
1798
|
"gs://mybucket/remotefile.zip",
|
1794
1799
|
"localfile.zip",
|
1795
1800
|
],
|
1796
|
-
timeout
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
name
|
1801
|
-
script
|
1802
|
-
|
1801
|
+
"timeout": "120s",
|
1802
|
+
"secretEnvs": ["MY_SECRET"],
|
1803
|
+
},
|
1804
|
+
{
|
1805
|
+
"name": "ubuntu",
|
1806
|
+
"script": "echo hello",
|
1807
|
+
},
|
1803
1808
|
],
|
1804
|
-
source
|
1805
|
-
|
1806
|
-
bucket
|
1807
|
-
object
|
1808
|
-
|
1809
|
-
|
1810
|
-
tags
|
1809
|
+
"source": {
|
1810
|
+
"storageSource": {
|
1811
|
+
"bucket": "mybucket",
|
1812
|
+
"object": "source_code.tar.gz",
|
1813
|
+
},
|
1814
|
+
},
|
1815
|
+
"tags": [
|
1811
1816
|
"build",
|
1812
1817
|
"newFeature",
|
1813
1818
|
],
|
1814
|
-
substitutions
|
1819
|
+
"substitutions": {
|
1815
1820
|
"_FOO": "bar",
|
1816
1821
|
"_BAZ": "qux",
|
1817
1822
|
},
|
1818
|
-
|
1819
|
-
|
1820
|
-
secrets
|
1821
|
-
|
1822
|
-
|
1823
|
+
"queueTtl": "20s",
|
1824
|
+
"logsBucket": "gs://mybucket/logs",
|
1825
|
+
"secrets": [{
|
1826
|
+
"kmsKeyName": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
1827
|
+
"secretEnv": {
|
1823
1828
|
"PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
1824
1829
|
},
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
env
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
artifacts
|
1833
|
-
images
|
1834
|
-
objects
|
1835
|
-
location
|
1836
|
-
paths
|
1837
|
-
|
1838
|
-
|
1839
|
-
|
1840
|
-
repository
|
1841
|
-
|
1842
|
-
|
1843
|
-
paths
|
1844
|
-
repository
|
1845
|
-
|
1846
|
-
|
1847
|
-
repository
|
1848
|
-
path
|
1849
|
-
|
1850
|
-
|
1851
|
-
version
|
1852
|
-
|
1853
|
-
|
1854
|
-
options
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
logging
|
1864
|
-
envs
|
1865
|
-
|
1866
|
-
volumes
|
1867
|
-
name
|
1868
|
-
path
|
1869
|
-
|
1870
|
-
|
1871
|
-
)
|
1830
|
+
}],
|
1831
|
+
"availableSecrets": {
|
1832
|
+
"secretManagers": [{
|
1833
|
+
"env": "MY_SECRET",
|
1834
|
+
"versionName": "projects/myProject/secrets/mySecret/versions/latest",
|
1835
|
+
}],
|
1836
|
+
},
|
1837
|
+
"artifacts": {
|
1838
|
+
"images": ["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
|
1839
|
+
"objects": {
|
1840
|
+
"location": "gs://bucket/path/to/somewhere/",
|
1841
|
+
"paths": ["path"],
|
1842
|
+
},
|
1843
|
+
"npmPackages": [{
|
1844
|
+
"packagePath": "package.json",
|
1845
|
+
"repository": "https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo",
|
1846
|
+
}],
|
1847
|
+
"pythonPackages": [{
|
1848
|
+
"paths": ["dist/*"],
|
1849
|
+
"repository": "https://us-west1-python.pkg.dev/myProject/quickstart-python-repo",
|
1850
|
+
}],
|
1851
|
+
"mavenArtifacts": [{
|
1852
|
+
"repository": "https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo",
|
1853
|
+
"path": "/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar",
|
1854
|
+
"artifactId": "my-app",
|
1855
|
+
"groupId": "com.mycompany.app",
|
1856
|
+
"version": "1.0",
|
1857
|
+
}],
|
1858
|
+
},
|
1859
|
+
"options": {
|
1860
|
+
"sourceProvenanceHashes": ["MD5"],
|
1861
|
+
"requestedVerifyOption": "VERIFIED",
|
1862
|
+
"machineType": "N1_HIGHCPU_8",
|
1863
|
+
"diskSizeGb": 100,
|
1864
|
+
"substitutionOption": "ALLOW_LOOSE",
|
1865
|
+
"dynamicSubstitutions": True,
|
1866
|
+
"logStreamingOption": "STREAM_OFF",
|
1867
|
+
"workerPool": "pool",
|
1868
|
+
"logging": "LEGACY",
|
1869
|
+
"envs": ["ekey = evalue"],
|
1870
|
+
"secretEnvs": ["secretenv = svalue"],
|
1871
|
+
"volumes": [{
|
1872
|
+
"name": "v1",
|
1873
|
+
"path": "v1",
|
1874
|
+
}],
|
1875
|
+
},
|
1876
|
+
})
|
1872
1877
|
```
|
1873
1878
|
### Cloudbuild Trigger Service Account
|
1874
1879
|
|
@@ -1887,10 +1892,10 @@ class Trigger(pulumi.CustomResource):
|
|
1887
1892
|
role="roles/logging.logWriter",
|
1888
1893
|
member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
|
1889
1894
|
service_account_trigger = gcp.cloudbuild.Trigger("service-account-trigger",
|
1890
|
-
trigger_template=
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1895
|
+
trigger_template={
|
1896
|
+
"branchName": "main",
|
1897
|
+
"repoName": "my-repo",
|
1898
|
+
},
|
1894
1899
|
service_account=cloudbuild_service_account.id,
|
1895
1900
|
filename="cloudbuild.yaml",
|
1896
1901
|
opts = pulumi.ResourceOptions(depends_on=[
|
@@ -1908,13 +1913,13 @@ class Trigger(pulumi.CustomResource):
|
|
1908
1913
|
location="us-central1",
|
1909
1914
|
name="include-build-logs-trigger",
|
1910
1915
|
filename="cloudbuild.yaml",
|
1911
|
-
github=
|
1912
|
-
owner
|
1913
|
-
name
|
1914
|
-
push
|
1915
|
-
branch
|
1916
|
-
|
1917
|
-
|
1916
|
+
github={
|
1917
|
+
"owner": "hashicorp",
|
1918
|
+
"name": "terraform-provider-google-beta",
|
1919
|
+
"push": {
|
1920
|
+
"branch": "^main$",
|
1921
|
+
},
|
1922
|
+
},
|
1918
1923
|
include_build_logs="INCLUDE_BUILD_LOGS_WITH_STATUS")
|
1919
1924
|
```
|
1920
1925
|
### Cloudbuild Trigger Pubsub Config
|
@@ -1928,20 +1933,20 @@ class Trigger(pulumi.CustomResource):
|
|
1928
1933
|
location="us-central1",
|
1929
1934
|
name="pubsub-trigger",
|
1930
1935
|
description="acceptance test example pubsub build trigger",
|
1931
|
-
pubsub_config=
|
1932
|
-
topic
|
1933
|
-
|
1934
|
-
source_to_build=
|
1935
|
-
uri
|
1936
|
-
ref
|
1937
|
-
|
1938
|
-
|
1939
|
-
git_file_source=
|
1940
|
-
path
|
1941
|
-
uri
|
1942
|
-
revision
|
1943
|
-
|
1944
|
-
|
1936
|
+
pubsub_config={
|
1937
|
+
"topic": mytopic.id,
|
1938
|
+
},
|
1939
|
+
source_to_build={
|
1940
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1941
|
+
"ref": "refs/heads/main",
|
1942
|
+
"repoType": "GITHUB",
|
1943
|
+
},
|
1944
|
+
git_file_source={
|
1945
|
+
"path": "cloudbuild.yaml",
|
1946
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1947
|
+
"revision": "refs/heads/main",
|
1948
|
+
"repoType": "GITHUB",
|
1949
|
+
},
|
1945
1950
|
substitutions={
|
1946
1951
|
"_ACTION": "$(body.message.data.action)",
|
1947
1952
|
},
|
@@ -1955,21 +1960,21 @@ class Trigger(pulumi.CustomResource):
|
|
1955
1960
|
|
1956
1961
|
webhook_trigger_secret_key = gcp.secretmanager.Secret("webhook_trigger_secret_key",
|
1957
1962
|
secret_id="webhook-trigger-secret-key",
|
1958
|
-
replication=
|
1959
|
-
|
1960
|
-
replicas
|
1961
|
-
location
|
1962
|
-
|
1963
|
-
|
1964
|
-
)
|
1963
|
+
replication={
|
1964
|
+
"userManaged": {
|
1965
|
+
"replicas": [{
|
1966
|
+
"location": "us-central1",
|
1967
|
+
}],
|
1968
|
+
},
|
1969
|
+
})
|
1965
1970
|
webhook_trigger_secret_key_data = gcp.secretmanager.SecretVersion("webhook_trigger_secret_key_data",
|
1966
1971
|
secret=webhook_trigger_secret_key.id,
|
1967
1972
|
secret_data="secretkeygoeshere")
|
1968
1973
|
project = gcp.organizations.get_project()
|
1969
|
-
secret_accessor = gcp.organizations.get_iam_policy(bindings=[
|
1970
|
-
role
|
1971
|
-
members
|
1972
|
-
|
1974
|
+
secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
|
1975
|
+
"role": "roles/secretmanager.secretAccessor",
|
1976
|
+
"members": [f"serviceAccount:service-{project.number}@gcp-sa-cloudbuild.iam.gserviceaccount.com"],
|
1977
|
+
}])
|
1973
1978
|
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
1974
1979
|
project=webhook_trigger_secret_key.project,
|
1975
1980
|
secret_id=webhook_trigger_secret_key.secret_id,
|
@@ -1977,20 +1982,20 @@ class Trigger(pulumi.CustomResource):
|
|
1977
1982
|
webhook_config_trigger = gcp.cloudbuild.Trigger("webhook-config-trigger",
|
1978
1983
|
name="webhook-trigger",
|
1979
1984
|
description="acceptance test example webhook build trigger",
|
1980
|
-
webhook_config=
|
1981
|
-
secret
|
1982
|
-
|
1983
|
-
source_to_build=
|
1984
|
-
uri
|
1985
|
-
ref
|
1986
|
-
|
1987
|
-
|
1988
|
-
git_file_source=
|
1989
|
-
path
|
1990
|
-
uri
|
1991
|
-
revision
|
1992
|
-
|
1993
|
-
)
|
1985
|
+
webhook_config={
|
1986
|
+
"secret": webhook_trigger_secret_key_data.id,
|
1987
|
+
},
|
1988
|
+
source_to_build={
|
1989
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1990
|
+
"ref": "refs/heads/main",
|
1991
|
+
"repoType": "GITHUB",
|
1992
|
+
},
|
1993
|
+
git_file_source={
|
1994
|
+
"path": "cloudbuild.yaml",
|
1995
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
1996
|
+
"revision": "refs/heads/main",
|
1997
|
+
"repoType": "GITHUB",
|
1998
|
+
})
|
1994
1999
|
```
|
1995
2000
|
### Cloudbuild Trigger Manual
|
1996
2001
|
|
@@ -2000,20 +2005,20 @@ class Trigger(pulumi.CustomResource):
|
|
2000
2005
|
|
2001
2006
|
manual_trigger = gcp.cloudbuild.Trigger("manual-trigger",
|
2002
2007
|
name="manual-trigger",
|
2003
|
-
source_to_build=
|
2004
|
-
uri
|
2005
|
-
ref
|
2006
|
-
|
2007
|
-
|
2008
|
-
git_file_source=
|
2009
|
-
path
|
2010
|
-
uri
|
2011
|
-
revision
|
2012
|
-
|
2013
|
-
|
2014
|
-
approval_config=
|
2015
|
-
|
2016
|
-
)
|
2008
|
+
source_to_build={
|
2009
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2010
|
+
"ref": "refs/heads/main",
|
2011
|
+
"repoType": "GITHUB",
|
2012
|
+
},
|
2013
|
+
git_file_source={
|
2014
|
+
"path": "cloudbuild.yaml",
|
2015
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2016
|
+
"revision": "refs/heads/main",
|
2017
|
+
"repoType": "GITHUB",
|
2018
|
+
},
|
2019
|
+
approval_config={
|
2020
|
+
"approvalRequired": True,
|
2021
|
+
})
|
2017
2022
|
```
|
2018
2023
|
### Cloudbuild Trigger Manual Github Enterprise
|
2019
2024
|
|
@@ -2023,19 +2028,19 @@ class Trigger(pulumi.CustomResource):
|
|
2023
2028
|
|
2024
2029
|
manual_ghe_trigger = gcp.cloudbuild.Trigger("manual-ghe-trigger",
|
2025
2030
|
name="",
|
2026
|
-
source_to_build=
|
2027
|
-
uri
|
2028
|
-
ref
|
2029
|
-
|
2030
|
-
|
2031
|
-
|
2032
|
-
git_file_source=
|
2033
|
-
path
|
2034
|
-
uri
|
2035
|
-
revision
|
2036
|
-
|
2037
|
-
|
2038
|
-
)
|
2031
|
+
source_to_build={
|
2032
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2033
|
+
"ref": "refs/heads/main",
|
2034
|
+
"repoType": "GITHUB",
|
2035
|
+
"githubEnterpriseConfig": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
2036
|
+
},
|
2037
|
+
git_file_source={
|
2038
|
+
"path": "cloudbuild.yaml",
|
2039
|
+
"uri": "https://hashicorp/terraform-provider-google-beta",
|
2040
|
+
"revision": "refs/heads/main",
|
2041
|
+
"repoType": "GITHUB",
|
2042
|
+
"githubEnterpriseConfig": "projects/myProject/locations/global/githubEnterpriseConfigs/configID",
|
2043
|
+
})
|
2039
2044
|
```
|
2040
2045
|
### Cloudbuild Trigger Manual Bitbucket Server
|
2041
2046
|
|
@@ -2045,19 +2050,19 @@ class Trigger(pulumi.CustomResource):
|
|
2045
2050
|
|
2046
2051
|
manual_bitbucket_trigger = gcp.cloudbuild.Trigger("manual-bitbucket-trigger",
|
2047
2052
|
name="terraform-manual-bbs-trigger",
|
2048
|
-
source_to_build=
|
2049
|
-
uri
|
2050
|
-
ref
|
2051
|
-
|
2052
|
-
|
2053
|
-
|
2054
|
-
git_file_source=
|
2055
|
-
path
|
2056
|
-
uri
|
2057
|
-
revision
|
2058
|
-
|
2059
|
-
|
2060
|
-
)
|
2053
|
+
source_to_build={
|
2054
|
+
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
2055
|
+
"ref": "refs/heads/main",
|
2056
|
+
"repoType": "BITBUCKET_SERVER",
|
2057
|
+
"bitbucketServerConfig": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
2058
|
+
},
|
2059
|
+
git_file_source={
|
2060
|
+
"path": "cloudbuild.yaml",
|
2061
|
+
"uri": "https://bbs.com/scm/stag/test-repo.git",
|
2062
|
+
"revision": "refs/heads/main",
|
2063
|
+
"repoType": "BITBUCKET_SERVER",
|
2064
|
+
"bitbucketServerConfig": "projects/myProject/locations/global/bitbucketServerConfigs/configID",
|
2065
|
+
})
|
2061
2066
|
```
|
2062
2067
|
### Cloudbuild Trigger Repo
|
2063
2068
|
|
@@ -2068,24 +2073,24 @@ class Trigger(pulumi.CustomResource):
|
|
2068
2073
|
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
2069
2074
|
location="us-central1",
|
2070
2075
|
name="my-connection",
|
2071
|
-
github_config=
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2075
|
-
|
2076
|
-
)
|
2076
|
+
github_config={
|
2077
|
+
"appInstallationId": 123123,
|
2078
|
+
"authorizerCredential": {
|
2079
|
+
"oauthTokenSecretVersion": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
2080
|
+
},
|
2081
|
+
})
|
2077
2082
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
2078
2083
|
name="my-repo",
|
2079
2084
|
parent_connection=my_connection.id,
|
2080
2085
|
remote_uri="https://github.com/myuser/my-repo.git")
|
2081
2086
|
repo_trigger = gcp.cloudbuild.Trigger("repo-trigger",
|
2082
2087
|
location="us-central1",
|
2083
|
-
repository_event_config=
|
2084
|
-
repository
|
2085
|
-
push
|
2086
|
-
branch
|
2087
|
-
|
2088
|
-
|
2088
|
+
repository_event_config={
|
2089
|
+
"repository": my_repository.id,
|
2090
|
+
"push": {
|
2091
|
+
"branch": "feature-.*",
|
2092
|
+
},
|
2093
|
+
},
|
2089
2094
|
filename="cloudbuild.yaml")
|
2090
2095
|
```
|
2091
2096
|
### Cloudbuild Trigger Bitbucket Server Push
|
@@ -2097,15 +2102,15 @@ class Trigger(pulumi.CustomResource):
|
|
2097
2102
|
bbs_push_trigger = gcp.cloudbuild.Trigger("bbs-push-trigger",
|
2098
2103
|
name="bbs-push-trigger",
|
2099
2104
|
location="us-central1",
|
2100
|
-
bitbucket_server_trigger_config=
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
push
|
2105
|
-
tag
|
2106
|
-
|
2107
|
-
|
2108
|
-
|
2105
|
+
bitbucket_server_trigger_config={
|
2106
|
+
"repoSlug": "bbs-push-trigger",
|
2107
|
+
"projectKey": "STAG",
|
2108
|
+
"bitbucketServerConfigResource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
2109
|
+
"push": {
|
2110
|
+
"tag": "^0.1.*",
|
2111
|
+
"invertRegex": True,
|
2112
|
+
},
|
2113
|
+
},
|
2109
2114
|
filename="cloudbuild.yaml")
|
2110
2115
|
```
|
2111
2116
|
### Cloudbuild Trigger Bitbucket Server Pull Request
|
@@ -2117,16 +2122,16 @@ class Trigger(pulumi.CustomResource):
|
|
2117
2122
|
bbs_pull_request_trigger = gcp.cloudbuild.Trigger("bbs-pull-request-trigger",
|
2118
2123
|
name="ghe-trigger",
|
2119
2124
|
location="us-central1",
|
2120
|
-
bitbucket_server_trigger_config=
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
branch
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2125
|
+
bitbucket_server_trigger_config={
|
2126
|
+
"repoSlug": "terraform-provider-google",
|
2127
|
+
"projectKey": "STAG",
|
2128
|
+
"bitbucketServerConfigResource": "projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
|
2129
|
+
"pullRequest": {
|
2130
|
+
"branch": "^master$",
|
2131
|
+
"invertRegex": False,
|
2132
|
+
"commentControl": "COMMENTS_ENABLED",
|
2133
|
+
},
|
2134
|
+
},
|
2130
2135
|
filename="cloudbuild.yaml")
|
2131
2136
|
```
|
2132
2137
|
### Cloudbuild Trigger Github Enterprise
|
@@ -2138,14 +2143,14 @@ class Trigger(pulumi.CustomResource):
|
|
2138
2143
|
ghe_trigger = gcp.cloudbuild.Trigger("ghe-trigger",
|
2139
2144
|
name="ghe-trigger",
|
2140
2145
|
location="us-central1",
|
2141
|
-
github=
|
2142
|
-
owner
|
2143
|
-
name
|
2144
|
-
push
|
2145
|
-
branch
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2146
|
+
github={
|
2147
|
+
"owner": "hashicorp",
|
2148
|
+
"name": "terraform-provider-google",
|
2149
|
+
"push": {
|
2150
|
+
"branch": "^main$",
|
2151
|
+
},
|
2152
|
+
"enterpriseConfigResourceName": "projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
|
2153
|
+
},
|
2149
2154
|
filename="cloudbuild.yaml")
|
2150
2155
|
```
|
2151
2156
|
### Cloudbuild Trigger Allow Failure
|
@@ -2157,72 +2162,72 @@ class Trigger(pulumi.CustomResource):
|
|
2157
2162
|
allow_failure_trigger = gcp.cloudbuild.Trigger("allow-failure-trigger",
|
2158
2163
|
name="my-trigger",
|
2159
2164
|
location="global",
|
2160
|
-
trigger_template=
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
build=
|
2165
|
-
steps
|
2166
|
-
name
|
2167
|
-
args
|
2165
|
+
trigger_template={
|
2166
|
+
"branchName": "main",
|
2167
|
+
"repoName": "my-repo",
|
2168
|
+
},
|
2169
|
+
build={
|
2170
|
+
"steps": [{
|
2171
|
+
"name": "ubuntu",
|
2172
|
+
"args": [
|
2168
2173
|
"-c",
|
2169
2174
|
"exit 1",
|
2170
2175
|
],
|
2171
|
-
|
2172
|
-
|
2173
|
-
source
|
2174
|
-
|
2175
|
-
bucket
|
2176
|
-
object
|
2177
|
-
|
2178
|
-
|
2179
|
-
tags
|
2176
|
+
"allowFailure": True,
|
2177
|
+
}],
|
2178
|
+
"source": {
|
2179
|
+
"storageSource": {
|
2180
|
+
"bucket": "mybucket",
|
2181
|
+
"object": "source_code.tar.gz",
|
2182
|
+
},
|
2183
|
+
},
|
2184
|
+
"tags": [
|
2180
2185
|
"build",
|
2181
2186
|
"newFeature",
|
2182
2187
|
],
|
2183
|
-
substitutions
|
2188
|
+
"substitutions": {
|
2184
2189
|
"_FOO": "bar",
|
2185
2190
|
"_BAZ": "qux",
|
2186
2191
|
},
|
2187
|
-
|
2188
|
-
|
2189
|
-
secrets
|
2190
|
-
|
2191
|
-
|
2192
|
+
"queueTtl": "20s",
|
2193
|
+
"logsBucket": "gs://mybucket/logs",
|
2194
|
+
"secrets": [{
|
2195
|
+
"kmsKeyName": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
2196
|
+
"secretEnv": {
|
2192
2197
|
"PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
2193
2198
|
},
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
env
|
2198
|
-
|
2199
|
-
|
2200
|
-
|
2201
|
-
artifacts
|
2202
|
-
images
|
2203
|
-
objects
|
2204
|
-
location
|
2205
|
-
paths
|
2206
|
-
|
2207
|
-
|
2208
|
-
options
|
2209
|
-
|
2210
|
-
|
2211
|
-
|
2212
|
-
|
2213
|
-
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2217
|
-
logging
|
2218
|
-
envs
|
2219
|
-
|
2220
|
-
volumes
|
2221
|
-
name
|
2222
|
-
path
|
2223
|
-
|
2224
|
-
|
2225
|
-
)
|
2199
|
+
}],
|
2200
|
+
"availableSecrets": {
|
2201
|
+
"secretManagers": [{
|
2202
|
+
"env": "MY_SECRET",
|
2203
|
+
"versionName": "projects/myProject/secrets/mySecret/versions/latest",
|
2204
|
+
}],
|
2205
|
+
},
|
2206
|
+
"artifacts": {
|
2207
|
+
"images": ["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
|
2208
|
+
"objects": {
|
2209
|
+
"location": "gs://bucket/path/to/somewhere/",
|
2210
|
+
"paths": ["path"],
|
2211
|
+
},
|
2212
|
+
},
|
2213
|
+
"options": {
|
2214
|
+
"sourceProvenanceHashes": ["MD5"],
|
2215
|
+
"requestedVerifyOption": "VERIFIED",
|
2216
|
+
"machineType": "N1_HIGHCPU_8",
|
2217
|
+
"diskSizeGb": 100,
|
2218
|
+
"substitutionOption": "ALLOW_LOOSE",
|
2219
|
+
"dynamicSubstitutions": True,
|
2220
|
+
"logStreamingOption": "STREAM_OFF",
|
2221
|
+
"workerPool": "pool",
|
2222
|
+
"logging": "LEGACY",
|
2223
|
+
"envs": ["ekey = evalue"],
|
2224
|
+
"secretEnvs": ["secretenv = svalue"],
|
2225
|
+
"volumes": [{
|
2226
|
+
"name": "v1",
|
2227
|
+
"path": "v1",
|
2228
|
+
}],
|
2229
|
+
},
|
2230
|
+
})
|
2226
2231
|
```
|
2227
2232
|
### Cloudbuild Trigger Allow Exit Codes
|
2228
2233
|
|
@@ -2233,75 +2238,75 @@ class Trigger(pulumi.CustomResource):
|
|
2233
2238
|
allow_exit_codes_trigger = gcp.cloudbuild.Trigger("allow-exit-codes-trigger",
|
2234
2239
|
name="my-trigger",
|
2235
2240
|
location="global",
|
2236
|
-
trigger_template=
|
2237
|
-
|
2238
|
-
|
2239
|
-
|
2240
|
-
build=
|
2241
|
-
steps
|
2242
|
-
name
|
2243
|
-
args
|
2241
|
+
trigger_template={
|
2242
|
+
"branchName": "main",
|
2243
|
+
"repoName": "my-repo",
|
2244
|
+
},
|
2245
|
+
build={
|
2246
|
+
"steps": [{
|
2247
|
+
"name": "ubuntu",
|
2248
|
+
"args": [
|
2244
2249
|
"-c",
|
2245
2250
|
"exit 1",
|
2246
2251
|
],
|
2247
|
-
|
2252
|
+
"allowExitCodes": [
|
2248
2253
|
1,
|
2249
2254
|
3,
|
2250
2255
|
],
|
2251
|
-
|
2252
|
-
source
|
2253
|
-
|
2254
|
-
bucket
|
2255
|
-
object
|
2256
|
-
|
2257
|
-
|
2258
|
-
tags
|
2256
|
+
}],
|
2257
|
+
"source": {
|
2258
|
+
"storageSource": {
|
2259
|
+
"bucket": "mybucket",
|
2260
|
+
"object": "source_code.tar.gz",
|
2261
|
+
},
|
2262
|
+
},
|
2263
|
+
"tags": [
|
2259
2264
|
"build",
|
2260
2265
|
"newFeature",
|
2261
2266
|
],
|
2262
|
-
substitutions
|
2267
|
+
"substitutions": {
|
2263
2268
|
"_FOO": "bar",
|
2264
2269
|
"_BAZ": "qux",
|
2265
2270
|
},
|
2266
|
-
|
2267
|
-
|
2268
|
-
secrets
|
2269
|
-
|
2270
|
-
|
2271
|
+
"queueTtl": "20s",
|
2272
|
+
"logsBucket": "gs://mybucket/logs",
|
2273
|
+
"secrets": [{
|
2274
|
+
"kmsKeyName": "projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
|
2275
|
+
"secretEnv": {
|
2271
2276
|
"PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
|
2272
2277
|
},
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
env
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
artifacts
|
2281
|
-
images
|
2282
|
-
objects
|
2283
|
-
location
|
2284
|
-
paths
|
2285
|
-
|
2286
|
-
|
2287
|
-
options
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
logging
|
2297
|
-
envs
|
2298
|
-
|
2299
|
-
volumes
|
2300
|
-
name
|
2301
|
-
path
|
2302
|
-
|
2303
|
-
|
2304
|
-
)
|
2278
|
+
}],
|
2279
|
+
"availableSecrets": {
|
2280
|
+
"secretManagers": [{
|
2281
|
+
"env": "MY_SECRET",
|
2282
|
+
"versionName": "projects/myProject/secrets/mySecret/versions/latest",
|
2283
|
+
}],
|
2284
|
+
},
|
2285
|
+
"artifacts": {
|
2286
|
+
"images": ["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
|
2287
|
+
"objects": {
|
2288
|
+
"location": "gs://bucket/path/to/somewhere/",
|
2289
|
+
"paths": ["path"],
|
2290
|
+
},
|
2291
|
+
},
|
2292
|
+
"options": {
|
2293
|
+
"sourceProvenanceHashes": ["MD5"],
|
2294
|
+
"requestedVerifyOption": "VERIFIED",
|
2295
|
+
"machineType": "N1_HIGHCPU_8",
|
2296
|
+
"diskSizeGb": 100,
|
2297
|
+
"substitutionOption": "ALLOW_LOOSE",
|
2298
|
+
"dynamicSubstitutions": True,
|
2299
|
+
"logStreamingOption": "STREAM_OFF",
|
2300
|
+
"workerPool": "pool",
|
2301
|
+
"logging": "LEGACY",
|
2302
|
+
"envs": ["ekey = evalue"],
|
2303
|
+
"secretEnvs": ["secretenv = svalue"],
|
2304
|
+
"volumes": [{
|
2305
|
+
"name": "v1",
|
2306
|
+
"path": "v1",
|
2307
|
+
}],
|
2308
|
+
},
|
2309
|
+
})
|
2305
2310
|
```
|
2306
2311
|
### Cloudbuild Trigger Pubsub With Repo
|
2307
2312
|
|
@@ -2312,12 +2317,12 @@ class Trigger(pulumi.CustomResource):
|
|
2312
2317
|
my_connection = gcp.cloudbuildv2.Connection("my-connection",
|
2313
2318
|
location="us-central1",
|
2314
2319
|
name="my-connection",
|
2315
|
-
github_config=
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
)
|
2320
|
+
github_config={
|
2321
|
+
"appInstallationId": 123123,
|
2322
|
+
"authorizerCredential": {
|
2323
|
+
"oauthTokenSecretVersion": "projects/my-project/secrets/github-pat-secret/versions/latest",
|
2324
|
+
},
|
2325
|
+
})
|
2321
2326
|
my_repository = gcp.cloudbuildv2.Repository("my-repository",
|
2322
2327
|
name="my-repo",
|
2323
2328
|
parent_connection=my_connection.id,
|
@@ -2326,20 +2331,20 @@ class Trigger(pulumi.CustomResource):
|
|
2326
2331
|
pubsub_with_repo_trigger = gcp.cloudbuild.Trigger("pubsub-with-repo-trigger",
|
2327
2332
|
name="pubsub-with-repo-trigger",
|
2328
2333
|
location="us-central1",
|
2329
|
-
pubsub_config=
|
2330
|
-
topic
|
2331
|
-
|
2332
|
-
source_to_build=
|
2333
|
-
repository
|
2334
|
-
ref
|
2335
|
-
|
2336
|
-
|
2337
|
-
git_file_source=
|
2338
|
-
path
|
2339
|
-
repository
|
2340
|
-
revision
|
2341
|
-
|
2342
|
-
)
|
2334
|
+
pubsub_config={
|
2335
|
+
"topic": mytopic.id,
|
2336
|
+
},
|
2337
|
+
source_to_build={
|
2338
|
+
"repository": my_repository.id,
|
2339
|
+
"ref": "refs/heads/main",
|
2340
|
+
"repoType": "GITHUB",
|
2341
|
+
},
|
2342
|
+
git_file_source={
|
2343
|
+
"path": "cloudbuild.yaml",
|
2344
|
+
"repository": my_repository.id,
|
2345
|
+
"revision": "refs/heads/main",
|
2346
|
+
"repoType": "GITHUB",
|
2347
|
+
})
|
2343
2348
|
```
|
2344
2349
|
|
2345
2350
|
## Import
|
@@ -2387,29 +2392,29 @@ class Trigger(pulumi.CustomResource):
|
|
2387
2392
|
def _internal_init(__self__,
|
2388
2393
|
resource_name: str,
|
2389
2394
|
opts: Optional[pulumi.ResourceOptions] = None,
|
2390
|
-
approval_config: Optional[pulumi.Input[
|
2391
|
-
bitbucket_server_trigger_config: Optional[pulumi.Input[
|
2392
|
-
build: Optional[pulumi.Input[
|
2395
|
+
approval_config: Optional[pulumi.Input[Union['TriggerApprovalConfigArgs', 'TriggerApprovalConfigArgsDict']]] = None,
|
2396
|
+
bitbucket_server_trigger_config: Optional[pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']]] = None,
|
2397
|
+
build: Optional[pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']]] = None,
|
2393
2398
|
description: Optional[pulumi.Input[str]] = None,
|
2394
2399
|
disabled: Optional[pulumi.Input[bool]] = None,
|
2395
2400
|
filename: Optional[pulumi.Input[str]] = None,
|
2396
2401
|
filter: Optional[pulumi.Input[str]] = None,
|
2397
|
-
git_file_source: Optional[pulumi.Input[
|
2398
|
-
github: Optional[pulumi.Input[
|
2402
|
+
git_file_source: Optional[pulumi.Input[Union['TriggerGitFileSourceArgs', 'TriggerGitFileSourceArgsDict']]] = None,
|
2403
|
+
github: Optional[pulumi.Input[Union['TriggerGithubArgs', 'TriggerGithubArgsDict']]] = None,
|
2399
2404
|
ignored_files: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2400
2405
|
include_build_logs: Optional[pulumi.Input[str]] = None,
|
2401
2406
|
included_files: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2402
2407
|
location: Optional[pulumi.Input[str]] = None,
|
2403
2408
|
name: Optional[pulumi.Input[str]] = None,
|
2404
2409
|
project: Optional[pulumi.Input[str]] = None,
|
2405
|
-
pubsub_config: Optional[pulumi.Input[
|
2406
|
-
repository_event_config: Optional[pulumi.Input[
|
2410
|
+
pubsub_config: Optional[pulumi.Input[Union['TriggerPubsubConfigArgs', 'TriggerPubsubConfigArgsDict']]] = None,
|
2411
|
+
repository_event_config: Optional[pulumi.Input[Union['TriggerRepositoryEventConfigArgs', 'TriggerRepositoryEventConfigArgsDict']]] = None,
|
2407
2412
|
service_account: Optional[pulumi.Input[str]] = None,
|
2408
|
-
source_to_build: Optional[pulumi.Input[
|
2413
|
+
source_to_build: Optional[pulumi.Input[Union['TriggerSourceToBuildArgs', 'TriggerSourceToBuildArgsDict']]] = None,
|
2409
2414
|
substitutions: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
2410
2415
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2411
|
-
trigger_template: Optional[pulumi.Input[
|
2412
|
-
webhook_config: Optional[pulumi.Input[
|
2416
|
+
trigger_template: Optional[pulumi.Input[Union['TriggerTriggerTemplateArgs', 'TriggerTriggerTemplateArgsDict']]] = None,
|
2417
|
+
webhook_config: Optional[pulumi.Input[Union['TriggerWebhookConfigArgs', 'TriggerWebhookConfigArgsDict']]] = None,
|
2413
2418
|
__props__=None):
|
2414
2419
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
2415
2420
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -2454,31 +2459,31 @@ class Trigger(pulumi.CustomResource):
|
|
2454
2459
|
def get(resource_name: str,
|
2455
2460
|
id: pulumi.Input[str],
|
2456
2461
|
opts: Optional[pulumi.ResourceOptions] = None,
|
2457
|
-
approval_config: Optional[pulumi.Input[
|
2458
|
-
bitbucket_server_trigger_config: Optional[pulumi.Input[
|
2459
|
-
build: Optional[pulumi.Input[
|
2462
|
+
approval_config: Optional[pulumi.Input[Union['TriggerApprovalConfigArgs', 'TriggerApprovalConfigArgsDict']]] = None,
|
2463
|
+
bitbucket_server_trigger_config: Optional[pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']]] = None,
|
2464
|
+
build: Optional[pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']]] = None,
|
2460
2465
|
create_time: Optional[pulumi.Input[str]] = None,
|
2461
2466
|
description: Optional[pulumi.Input[str]] = None,
|
2462
2467
|
disabled: Optional[pulumi.Input[bool]] = None,
|
2463
2468
|
filename: Optional[pulumi.Input[str]] = None,
|
2464
2469
|
filter: Optional[pulumi.Input[str]] = None,
|
2465
|
-
git_file_source: Optional[pulumi.Input[
|
2466
|
-
github: Optional[pulumi.Input[
|
2470
|
+
git_file_source: Optional[pulumi.Input[Union['TriggerGitFileSourceArgs', 'TriggerGitFileSourceArgsDict']]] = None,
|
2471
|
+
github: Optional[pulumi.Input[Union['TriggerGithubArgs', 'TriggerGithubArgsDict']]] = None,
|
2467
2472
|
ignored_files: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2468
2473
|
include_build_logs: Optional[pulumi.Input[str]] = None,
|
2469
2474
|
included_files: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2470
2475
|
location: Optional[pulumi.Input[str]] = None,
|
2471
2476
|
name: Optional[pulumi.Input[str]] = None,
|
2472
2477
|
project: Optional[pulumi.Input[str]] = None,
|
2473
|
-
pubsub_config: Optional[pulumi.Input[
|
2474
|
-
repository_event_config: Optional[pulumi.Input[
|
2478
|
+
pubsub_config: Optional[pulumi.Input[Union['TriggerPubsubConfigArgs', 'TriggerPubsubConfigArgsDict']]] = None,
|
2479
|
+
repository_event_config: Optional[pulumi.Input[Union['TriggerRepositoryEventConfigArgs', 'TriggerRepositoryEventConfigArgsDict']]] = None,
|
2475
2480
|
service_account: Optional[pulumi.Input[str]] = None,
|
2476
|
-
source_to_build: Optional[pulumi.Input[
|
2481
|
+
source_to_build: Optional[pulumi.Input[Union['TriggerSourceToBuildArgs', 'TriggerSourceToBuildArgsDict']]] = None,
|
2477
2482
|
substitutions: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
2478
2483
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
2479
2484
|
trigger_id: Optional[pulumi.Input[str]] = None,
|
2480
|
-
trigger_template: Optional[pulumi.Input[
|
2481
|
-
webhook_config: Optional[pulumi.Input[
|
2485
|
+
trigger_template: Optional[pulumi.Input[Union['TriggerTriggerTemplateArgs', 'TriggerTriggerTemplateArgsDict']]] = None,
|
2486
|
+
webhook_config: Optional[pulumi.Input[Union['TriggerWebhookConfigArgs', 'TriggerWebhookConfigArgsDict']]] = None) -> 'Trigger':
|
2482
2487
|
"""
|
2483
2488
|
Get an existing Trigger resource's state with the given name, id, and optional extra
|
2484
2489
|
properties used to qualify the lookup.
|
@@ -2486,13 +2491,13 @@ class Trigger(pulumi.CustomResource):
|
|
2486
2491
|
:param str resource_name: The unique name of the resulting resource.
|
2487
2492
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
2488
2493
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
2489
|
-
:param pulumi.Input[
|
2494
|
+
:param pulumi.Input[Union['TriggerApprovalConfigArgs', 'TriggerApprovalConfigArgsDict']] approval_config: Configuration for manual approval to start a build invocation of this BuildTrigger.
|
2490
2495
|
Builds created by this trigger will require approval before they execute.
|
2491
2496
|
Any user with a Cloud Build Approver role for the project can approve a build.
|
2492
2497
|
Structure is documented below.
|
2493
|
-
:param pulumi.Input[
|
2498
|
+
:param pulumi.Input[Union['TriggerBitbucketServerTriggerConfigArgs', 'TriggerBitbucketServerTriggerConfigArgsDict']] bitbucket_server_trigger_config: BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
|
2494
2499
|
Structure is documented below.
|
2495
|
-
:param pulumi.Input[
|
2500
|
+
:param pulumi.Input[Union['TriggerBuildArgs', 'TriggerBuildArgsDict']] build: Contents of the build template. Either a filename or build template must be provided.
|
2496
2501
|
Structure is documented below.
|
2497
2502
|
:param pulumi.Input[str] create_time: Time when the trigger was created.
|
2498
2503
|
:param pulumi.Input[str] description: Human-readable description of the trigger.
|
@@ -2501,9 +2506,9 @@ class Trigger(pulumi.CustomResource):
|
|
2501
2506
|
Either a filename or build template must be provided. Set this only when using trigger_template or github.
|
2502
2507
|
When using Pub/Sub, Webhook or Manual set the file name using git_file_source instead.
|
2503
2508
|
:param pulumi.Input[str] filter: A Common Expression Language string. Used only with Pub/Sub and Webhook.
|
2504
|
-
:param pulumi.Input[
|
2509
|
+
:param pulumi.Input[Union['TriggerGitFileSourceArgs', 'TriggerGitFileSourceArgsDict']] git_file_source: The file source describing the local or remote Build template.
|
2505
2510
|
Structure is documented below.
|
2506
|
-
:param pulumi.Input[
|
2511
|
+
:param pulumi.Input[Union['TriggerGithubArgs', 'TriggerGithubArgsDict']] github: Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
|
2507
2512
|
One of `trigger_template`, `github`, `pubsub_config` or `webhook_config` must be provided.
|
2508
2513
|
Structure is documented below.
|
2509
2514
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] ignored_files: ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
|
@@ -2531,18 +2536,18 @@ class Trigger(pulumi.CustomResource):
|
|
2531
2536
|
:param pulumi.Input[str] name: Name of the trigger. Must be unique within the project.
|
2532
2537
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
2533
2538
|
If it is not provided, the provider project is used.
|
2534
|
-
:param pulumi.Input[
|
2539
|
+
:param pulumi.Input[Union['TriggerPubsubConfigArgs', 'TriggerPubsubConfigArgsDict']] pubsub_config: PubsubConfig describes the configuration of a trigger that creates
|
2535
2540
|
a build whenever a Pub/Sub message is published.
|
2536
2541
|
One of `trigger_template`, `github`, `pubsub_config` `webhook_config` or `source_to_build` must be provided.
|
2537
2542
|
Structure is documented below.
|
2538
|
-
:param pulumi.Input[
|
2543
|
+
:param pulumi.Input[Union['TriggerRepositoryEventConfigArgs', 'TriggerRepositoryEventConfigArgsDict']] repository_event_config: The configuration of a trigger that creates a build whenever an event from Repo API is received.
|
2539
2544
|
Structure is documented below.
|
2540
2545
|
:param pulumi.Input[str] service_account: The service account used for all user-controlled operations including
|
2541
2546
|
triggers.patch, triggers.run, builds.create, and builds.cancel.
|
2542
2547
|
If no service account is set, then the standard Cloud Build service account
|
2543
2548
|
([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
|
2544
2549
|
Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
|
2545
|
-
:param pulumi.Input[
|
2550
|
+
:param pulumi.Input[Union['TriggerSourceToBuildArgs', 'TriggerSourceToBuildArgsDict']] source_to_build: The repo and ref of the repository from which to build.
|
2546
2551
|
This field is used only for those triggers that do not respond to SCM events.
|
2547
2552
|
Triggers that respond to such events build source at whatever commit caused the event.
|
2548
2553
|
This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
|
@@ -2551,13 +2556,13 @@ class Trigger(pulumi.CustomResource):
|
|
2551
2556
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] substitutions: Substitutions data for Build resource.
|
2552
2557
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags for annotation of a BuildTrigger
|
2553
2558
|
:param pulumi.Input[str] trigger_id: The unique identifier for the trigger.
|
2554
|
-
:param pulumi.Input[
|
2559
|
+
:param pulumi.Input[Union['TriggerTriggerTemplateArgs', 'TriggerTriggerTemplateArgsDict']] trigger_template: Template describing the types of source changes to trigger a build.
|
2555
2560
|
Branch and tag names in trigger templates are interpreted as regular
|
2556
2561
|
expressions. Any branch or tag change that matches that regular
|
2557
2562
|
expression will trigger a build.
|
2558
2563
|
One of `trigger_template`, `github`, `pubsub_config`, `webhook_config` or `source_to_build` must be provided.
|
2559
2564
|
Structure is documented below.
|
2560
|
-
:param pulumi.Input[
|
2565
|
+
:param pulumi.Input[Union['TriggerWebhookConfigArgs', 'TriggerWebhookConfigArgsDict']] webhook_config: WebhookConfig describes the configuration of a trigger that creates
|
2561
2566
|
a build whenever a webhook is sent to a trigger's webhook URL.
|
2562
2567
|
One of `trigger_template`, `github`, `pubsub_config` `webhook_config` or `source_to_build` must be provided.
|
2563
2568
|
Structure is documented below.
|