pulumi-gcp 7.12.0a1709102105__py3-none-any.whl → 7.12.0a1709133800__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (934) hide show
  1. pulumi_gcp/accessapproval/get_folder_service_account.py +2 -2
  2. pulumi_gcp/accessapproval/get_organization_service_account.py +2 -2
  3. pulumi_gcp/accessapproval/get_project_service_account.py +2 -2
  4. pulumi_gcp/accesscontextmanager/access_level.py +10 -8
  5. pulumi_gcp/accesscontextmanager/access_level_condition.py +2 -0
  6. pulumi_gcp/accesscontextmanager/access_levels.py +16 -16
  7. pulumi_gcp/accesscontextmanager/access_policy.py +12 -6
  8. pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +10 -2
  9. pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +10 -2
  10. pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +10 -2
  11. pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +8 -6
  12. pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +80 -0
  13. pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
  14. pulumi_gcp/accesscontextmanager/service_perimeter.py +34 -24
  15. pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +6 -4
  16. pulumi_gcp/accesscontextmanager/service_perimeters.py +14 -12
  17. pulumi_gcp/activedirectory/domain_trust.py +6 -6
  18. pulumi_gcp/activedirectory/peering.py +20 -22
  19. pulumi_gcp/alloydb/backup.py +62 -66
  20. pulumi_gcp/alloydb/cluster.py +78 -82
  21. pulumi_gcp/alloydb/instance.py +70 -74
  22. pulumi_gcp/alloydb/user.py +44 -48
  23. pulumi_gcp/apigateway/api.py +2 -4
  24. pulumi_gcp/apigateway/api_config.py +86 -14
  25. pulumi_gcp/apigateway/api_config_iam_binding.py +18 -24
  26. pulumi_gcp/apigateway/api_config_iam_member.py +18 -24
  27. pulumi_gcp/apigateway/api_config_iam_policy.py +18 -24
  28. pulumi_gcp/apigateway/api_iam_binding.py +18 -24
  29. pulumi_gcp/apigateway/api_iam_member.py +18 -24
  30. pulumi_gcp/apigateway/api_iam_policy.py +18 -24
  31. pulumi_gcp/apigateway/gateway.py +16 -22
  32. pulumi_gcp/apigateway/gateway_iam_binding.py +24 -30
  33. pulumi_gcp/apigateway/gateway_iam_member.py +24 -30
  34. pulumi_gcp/apigateway/gateway_iam_policy.py +24 -30
  35. pulumi_gcp/apigee/addons_config.py +22 -26
  36. pulumi_gcp/apigee/endpoint_attachment.py +14 -14
  37. pulumi_gcp/apigee/env_group.py +16 -14
  38. pulumi_gcp/apigee/env_group_attachment.py +0 -100
  39. pulumi_gcp/apigee/environment.py +14 -12
  40. pulumi_gcp/apigee/environment_iam_binding.py +12 -12
  41. pulumi_gcp/apigee/environment_iam_member.py +12 -12
  42. pulumi_gcp/apigee/environment_iam_policy.py +12 -12
  43. pulumi_gcp/apigee/get_environment_iam_policy.py +4 -4
  44. pulumi_gcp/apigee/instance.py +84 -76
  45. pulumi_gcp/apigee/instance_attachment.py +0 -100
  46. pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +40 -40
  47. pulumi_gcp/apigee/nat_address.py +42 -36
  48. pulumi_gcp/apigee/organization.py +62 -58
  49. pulumi_gcp/apigee/sync_authorization.py +16 -12
  50. pulumi_gcp/apigee/target_server.py +34 -36
  51. pulumi_gcp/appengine/application.py +8 -2
  52. pulumi_gcp/appengine/application_url_dispatch_rules.py +12 -6
  53. pulumi_gcp/appengine/domain_mapping.py +2 -2
  54. pulumi_gcp/appengine/engine_split_traffic.py +12 -6
  55. pulumi_gcp/appengine/firewall_rule.py +6 -2
  56. pulumi_gcp/appengine/flexible_app_version.py +20 -12
  57. pulumi_gcp/appengine/service_network_settings.py +14 -8
  58. pulumi_gcp/appengine/standard_app_version.py +18 -12
  59. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +6 -6
  60. pulumi_gcp/artifactregistry/repository.py +78 -82
  61. pulumi_gcp/artifactregistry/repository_iam_binding.py +18 -18
  62. pulumi_gcp/artifactregistry/repository_iam_member.py +18 -18
  63. pulumi_gcp/artifactregistry/repository_iam_policy.py +18 -18
  64. pulumi_gcp/artifactregistry/vpcsc_config.py +2 -4
  65. pulumi_gcp/assuredworkloads/workload.py +16 -18
  66. pulumi_gcp/backupdisasterrecovery/management_server.py +20 -24
  67. pulumi_gcp/beyondcorp/app_connection.py +44 -30
  68. pulumi_gcp/beyondcorp/app_connector.py +22 -16
  69. pulumi_gcp/beyondcorp/app_gateway.py +20 -16
  70. pulumi_gcp/biglake/catalog.py +6 -2
  71. pulumi_gcp/biglake/database.py +14 -4
  72. pulumi_gcp/biglake/table.py +20 -6
  73. pulumi_gcp/bigquery/app_profile.py +8 -0
  74. pulumi_gcp/bigquery/capacity_commitment.py +4 -4
  75. pulumi_gcp/bigquery/connection.py +72 -54
  76. pulumi_gcp/bigquery/connection_iam_binding.py +18 -18
  77. pulumi_gcp/bigquery/connection_iam_member.py +18 -18
  78. pulumi_gcp/bigquery/connection_iam_policy.py +18 -18
  79. pulumi_gcp/bigquery/data_transfer_config.py +8 -12
  80. pulumi_gcp/bigquery/dataset.py +20 -14
  81. pulumi_gcp/bigquery/dataset_access.py +16 -16
  82. pulumi_gcp/bigquery/dataset_iam_binding.py +4 -4
  83. pulumi_gcp/bigquery/dataset_iam_member.py +4 -4
  84. pulumi_gcp/bigquery/dataset_iam_policy.py +4 -4
  85. pulumi_gcp/bigquery/get_connection_iam_policy.py +6 -6
  86. pulumi_gcp/bigquery/get_dataset_iam_policy.py +2 -2
  87. pulumi_gcp/bigquery/get_default_service_account.py +4 -4
  88. pulumi_gcp/bigquery/get_table_iam_policy.py +6 -6
  89. pulumi_gcp/bigquery/iam_binding.py +36 -36
  90. pulumi_gcp/bigquery/iam_member.py +36 -36
  91. pulumi_gcp/bigquery/iam_policy.py +36 -36
  92. pulumi_gcp/bigquery/job.py +326 -20
  93. pulumi_gcp/bigquery/reservation.py +14 -12
  94. pulumi_gcp/bigquery/reservation_assignment.py +2 -0
  95. pulumi_gcp/bigquery/routine.py +22 -22
  96. pulumi_gcp/bigquery/table.py +8 -8
  97. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +6 -6
  98. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +18 -18
  99. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +18 -18
  100. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +18 -18
  101. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +6 -6
  102. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +8 -8
  103. pulumi_gcp/bigqueryanalyticshub/listing.py +16 -16
  104. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +24 -24
  105. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +24 -24
  106. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +24 -24
  107. pulumi_gcp/bigquerydatapolicy/data_policy.py +4 -4
  108. pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +18 -18
  109. pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +18 -18
  110. pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +18 -18
  111. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +6 -6
  112. pulumi_gcp/bigtable/gc_policy.py +0 -208
  113. pulumi_gcp/bigtable/get_instance_iam_policy.py +2 -2
  114. pulumi_gcp/bigtable/get_table_iam_policy.py +4 -4
  115. pulumi_gcp/bigtable/instance.py +14 -10
  116. pulumi_gcp/bigtable/instance_iam_binding.py +8 -8
  117. pulumi_gcp/bigtable/instance_iam_member.py +8 -8
  118. pulumi_gcp/bigtable/instance_iam_policy.py +8 -8
  119. pulumi_gcp/bigtable/table.py +18 -12
  120. pulumi_gcp/bigtable/table_iam_binding.py +8 -8
  121. pulumi_gcp/bigtable/table_iam_member.py +8 -8
  122. pulumi_gcp/bigtable/table_iam_policy.py +8 -8
  123. pulumi_gcp/billing/account_iam_binding.py +8 -8
  124. pulumi_gcp/billing/account_iam_member.py +8 -8
  125. pulumi_gcp/billing/account_iam_policy.py +8 -8
  126. pulumi_gcp/billing/budget.py +2 -2
  127. pulumi_gcp/binaryauthorization/attestor.py +74 -52
  128. pulumi_gcp/binaryauthorization/attestor_iam_binding.py +12 -12
  129. pulumi_gcp/binaryauthorization/attestor_iam_member.py +12 -12
  130. pulumi_gcp/binaryauthorization/attestor_iam_policy.py +12 -12
  131. pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +4 -4
  132. pulumi_gcp/binaryauthorization/policy.py +48 -32
  133. pulumi_gcp/blockchainnodeengine/blockchain_nodes.py +38 -38
  134. pulumi_gcp/certificateauthority/authority.py +34 -42
  135. pulumi_gcp/certificateauthority/ca_pool.py +274 -6
  136. pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +12 -12
  137. pulumi_gcp/certificateauthority/ca_pool_iam_member.py +12 -12
  138. pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +12 -12
  139. pulumi_gcp/certificateauthority/certificate.py +264 -44
  140. pulumi_gcp/certificateauthority/certificate_template.py +168 -0
  141. pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +12 -12
  142. pulumi_gcp/certificateauthority/certificate_template_iam_member.py +12 -12
  143. pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +12 -12
  144. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
  145. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
  146. pulumi_gcp/certificatemanager/certificate.py +114 -84
  147. pulumi_gcp/certificatemanager/certificate_issuance_config.py +34 -32
  148. pulumi_gcp/certificatemanager/certificate_map.py +2 -0
  149. pulumi_gcp/certificatemanager/certificate_map_entry.py +12 -2
  150. pulumi_gcp/certificatemanager/dns_authorization.py +2 -0
  151. pulumi_gcp/certificatemanager/trust_config.py +8 -4
  152. pulumi_gcp/cloudasset/folder_feed.py +82 -0
  153. pulumi_gcp/cloudasset/organization_feed.py +74 -0
  154. pulumi_gcp/cloudasset/project_feed.py +70 -0
  155. pulumi_gcp/cloudbuild/bitbucket_server_config.py +98 -14
  156. pulumi_gcp/cloudbuild/get_trigger.py +2 -2
  157. pulumi_gcp/cloudbuild/trigger.py +650 -122
  158. pulumi_gcp/cloudbuild/worker_pool.py +20 -16
  159. pulumi_gcp/cloudbuildv2/connection.py +20 -18
  160. pulumi_gcp/cloudbuildv2/connection_iam_binding.py +18 -12
  161. pulumi_gcp/cloudbuildv2/connection_iam_member.py +18 -12
  162. pulumi_gcp/cloudbuildv2/connection_iam_policy.py +18 -12
  163. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +6 -6
  164. pulumi_gcp/cloudbuildv2/repository.py +18 -14
  165. pulumi_gcp/clouddeploy/automation.py +16 -16
  166. pulumi_gcp/clouddeploy/custom_target_type.py +38 -32
  167. pulumi_gcp/clouddeploy/delivery_pipeline.py +40 -38
  168. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +6 -6
  169. pulumi_gcp/clouddeploy/target.py +26 -24
  170. pulumi_gcp/clouddomains/registration.py +74 -74
  171. pulumi_gcp/cloudfunctions/function.py +20 -4
  172. pulumi_gcp/cloudfunctions/function_iam_binding.py +18 -18
  173. pulumi_gcp/cloudfunctions/function_iam_member.py +18 -18
  174. pulumi_gcp/cloudfunctions/function_iam_policy.py +18 -18
  175. pulumi_gcp/cloudfunctions/get_function_iam_policy.py +6 -6
  176. pulumi_gcp/cloudfunctionsv2/function.py +776 -42
  177. pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +18 -18
  178. pulumi_gcp/cloudfunctionsv2/function_iam_member.py +18 -18
  179. pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +18 -18
  180. pulumi_gcp/cloudfunctionsv2/get_function.py +4 -4
  181. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +6 -6
  182. pulumi_gcp/cloudidentity/group.py +8 -8
  183. pulumi_gcp/cloudidentity/group_membership.py +4 -4
  184. pulumi_gcp/cloudids/endpoint.py +12 -10
  185. pulumi_gcp/cloudrun/domain_mapping.py +10 -6
  186. pulumi_gcp/cloudrun/get_service.py +4 -4
  187. pulumi_gcp/cloudrun/get_service_iam_policy.py +6 -6
  188. pulumi_gcp/cloudrun/iam_binding.py +18 -18
  189. pulumi_gcp/cloudrun/iam_member.py +18 -18
  190. pulumi_gcp/cloudrun/iam_policy.py +18 -18
  191. pulumi_gcp/cloudrun/service.py +28 -14
  192. pulumi_gcp/cloudrunv2/get_job.py +4 -4
  193. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +6 -6
  194. pulumi_gcp/cloudrunv2/get_service.py +4 -4
  195. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +6 -6
  196. pulumi_gcp/cloudrunv2/job.py +56 -46
  197. pulumi_gcp/cloudrunv2/job_iam_binding.py +18 -12
  198. pulumi_gcp/cloudrunv2/job_iam_member.py +18 -12
  199. pulumi_gcp/cloudrunv2/job_iam_policy.py +18 -12
  200. pulumi_gcp/cloudrunv2/service.py +94 -68
  201. pulumi_gcp/cloudrunv2/service_iam_binding.py +18 -12
  202. pulumi_gcp/cloudrunv2/service_iam_member.py +18 -12
  203. pulumi_gcp/cloudrunv2/service_iam_policy.py +18 -12
  204. pulumi_gcp/cloudscheduler/job.py +168 -26
  205. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +6 -6
  206. pulumi_gcp/cloudtasks/queue.py +18 -12
  207. pulumi_gcp/cloudtasks/queue_iam_binding.py +18 -12
  208. pulumi_gcp/cloudtasks/queue_iam_member.py +18 -12
  209. pulumi_gcp/cloudtasks/queue_iam_policy.py +18 -12
  210. pulumi_gcp/composer/get_environment.py +22 -0
  211. pulumi_gcp/composer/get_image_versions.py +2 -0
  212. pulumi_gcp/compute/address.py +32 -18
  213. pulumi_gcp/compute/attached_disk.py +8 -6
  214. pulumi_gcp/compute/autoscaler.py +34 -28
  215. pulumi_gcp/compute/backend_bucket.py +42 -16
  216. pulumi_gcp/compute/backend_bucket_signed_url_key.py +16 -8
  217. pulumi_gcp/compute/backend_service.py +350 -34
  218. pulumi_gcp/compute/backend_service_signed_url_key.py +98 -0
  219. pulumi_gcp/compute/disk.py +26 -18
  220. pulumi_gcp/compute/disk_async_replication.py +4 -0
  221. pulumi_gcp/compute/disk_iam_binding.py +18 -12
  222. pulumi_gcp/compute/disk_iam_member.py +18 -12
  223. pulumi_gcp/compute/disk_iam_policy.py +18 -12
  224. pulumi_gcp/compute/disk_resource_policy_attachment.py +12 -6
  225. pulumi_gcp/compute/external_vpn_gateway.py +40 -16
  226. pulumi_gcp/compute/firewall.py +16 -12
  227. pulumi_gcp/compute/firewall_policy.py +4 -4
  228. pulumi_gcp/compute/firewall_policy_association.py +10 -8
  229. pulumi_gcp/compute/firewall_policy_rule.py +4 -2
  230. pulumi_gcp/compute/forwarding_rule.py +1840 -22
  231. pulumi_gcp/compute/get_address.py +6 -2
  232. pulumi_gcp/compute/get_addresses.py +6 -2
  233. pulumi_gcp/compute/get_backend_service.py +32 -0
  234. pulumi_gcp/compute/get_disk.py +0 -2
  235. pulumi_gcp/compute/get_disk_iam_policy.py +6 -6
  236. pulumi_gcp/compute/get_global_address.py +6 -2
  237. pulumi_gcp/compute/get_image.py +0 -2
  238. pulumi_gcp/compute/get_image_iam_policy.py +4 -4
  239. pulumi_gcp/compute/get_instance_iam_policy.py +6 -6
  240. pulumi_gcp/compute/get_instance_serial_port.py +10 -8
  241. pulumi_gcp/compute/get_instance_template.py +0 -22
  242. pulumi_gcp/compute/get_lbip_ranges.py +4 -2
  243. pulumi_gcp/compute/get_machine_types.py +100 -0
  244. pulumi_gcp/compute/get_netblock_ip_ranges.py +4 -2
  245. pulumi_gcp/compute/get_network_peering.py +16 -4
  246. pulumi_gcp/compute/get_node_types.py +4 -2
  247. pulumi_gcp/compute/get_region_disk_iam_policy.py +6 -6
  248. pulumi_gcp/compute/get_region_instance_template.py +4 -0
  249. pulumi_gcp/compute/get_regions.py +2 -0
  250. pulumi_gcp/compute/get_snapshot.py +4 -0
  251. pulumi_gcp/compute/get_snapshot_iam_policy.py +4 -4
  252. pulumi_gcp/compute/get_subnetwork_iam_policy.py +6 -6
  253. pulumi_gcp/compute/global_address.py +12 -10
  254. pulumi_gcp/compute/global_forwarding_rule.py +1574 -56
  255. pulumi_gcp/compute/global_network_endpoint.py +2 -0
  256. pulumi_gcp/compute/global_network_endpoint_group.py +8 -4
  257. pulumi_gcp/compute/ha_vpn_gateway.py +38 -10
  258. pulumi_gcp/compute/health_check.py +114 -90
  259. pulumi_gcp/compute/http_health_check.py +6 -4
  260. pulumi_gcp/compute/https_health_check.py +6 -4
  261. pulumi_gcp/compute/image.py +22 -14
  262. pulumi_gcp/compute/image_iam_binding.py +24 -24
  263. pulumi_gcp/compute/image_iam_member.py +24 -24
  264. pulumi_gcp/compute/image_iam_policy.py +24 -24
  265. pulumi_gcp/compute/instance.py +16 -14
  266. pulumi_gcp/compute/instance_from_machine_image.py +4 -4
  267. pulumi_gcp/compute/instance_from_template.py +10 -6
  268. pulumi_gcp/compute/instance_group.py +108 -6
  269. pulumi_gcp/compute/instance_group_manager.py +16 -12
  270. pulumi_gcp/compute/instance_group_membership.py +6 -4
  271. pulumi_gcp/compute/instance_group_named_port.py +22 -10
  272. pulumi_gcp/compute/instance_iam_binding.py +36 -36
  273. pulumi_gcp/compute/instance_iam_member.py +36 -36
  274. pulumi_gcp/compute/instance_iam_policy.py +36 -36
  275. pulumi_gcp/compute/instance_settings.py +4 -6
  276. pulumi_gcp/compute/instance_template.py +150 -12
  277. pulumi_gcp/compute/interconnect_attachment.py +28 -10
  278. pulumi_gcp/compute/machine_image.py +30 -24
  279. pulumi_gcp/compute/machine_image_iam_binding.py +36 -48
  280. pulumi_gcp/compute/machine_image_iam_member.py +36 -48
  281. pulumi_gcp/compute/machine_image_iam_policy.py +36 -48
  282. pulumi_gcp/compute/managed_ssl_certificate.py +212 -0
  283. pulumi_gcp/compute/manged_ssl_certificate.py +212 -0
  284. pulumi_gcp/compute/network.py +18 -14
  285. pulumi_gcp/compute/network_attachment.py +60 -52
  286. pulumi_gcp/compute/network_edge_security_service.py +4 -4
  287. pulumi_gcp/compute/network_endpoint.py +32 -22
  288. pulumi_gcp/compute/network_endpoint_group.py +20 -10
  289. pulumi_gcp/compute/network_endpoint_list.py +44 -32
  290. pulumi_gcp/compute/network_firewall_policy.py +6 -2
  291. pulumi_gcp/compute/network_firewall_policy_association.py +8 -4
  292. pulumi_gcp/compute/network_firewall_policy_rule.py +14 -10
  293. pulumi_gcp/compute/network_peering.py +16 -4
  294. pulumi_gcp/compute/network_peering_routes_config.py +38 -18
  295. pulumi_gcp/compute/node_group.py +28 -10
  296. pulumi_gcp/compute/node_template.py +12 -8
  297. pulumi_gcp/compute/organization_security_policy.py +2 -4
  298. pulumi_gcp/compute/organization_security_policy_association.py +22 -28
  299. pulumi_gcp/compute/organization_security_policy_rule.py +10 -14
  300. pulumi_gcp/compute/packet_mirroring.py +128 -0
  301. pulumi_gcp/compute/per_instance_config.py +16 -8
  302. pulumi_gcp/compute/project_metadata.py +6 -8
  303. pulumi_gcp/compute/public_advertised_prefix.py +2 -0
  304. pulumi_gcp/compute/public_delegated_prefix.py +4 -0
  305. pulumi_gcp/compute/region_autoscaler.py +14 -8
  306. pulumi_gcp/compute/region_backend_service.py +462 -2
  307. pulumi_gcp/compute/region_commitment.py +20 -16
  308. pulumi_gcp/compute/region_disk.py +20 -8
  309. pulumi_gcp/compute/region_disk_iam_binding.py +18 -12
  310. pulumi_gcp/compute/region_disk_iam_member.py +18 -12
  311. pulumi_gcp/compute/region_disk_iam_policy.py +18 -12
  312. pulumi_gcp/compute/region_disk_resource_policy_attachment.py +16 -6
  313. pulumi_gcp/compute/region_health_check.py +114 -90
  314. pulumi_gcp/compute/region_instance_group_manager.py +14 -8
  315. pulumi_gcp/compute/region_network_endpoint.py +16 -4
  316. pulumi_gcp/compute/region_network_endpoint_group.py +166 -32
  317. pulumi_gcp/compute/region_network_firewall_policy.py +6 -2
  318. pulumi_gcp/compute/region_network_firewall_policy_association.py +8 -4
  319. pulumi_gcp/compute/region_network_firewall_policy_rule.py +14 -10
  320. pulumi_gcp/compute/region_per_instance_config.py +12 -4
  321. pulumi_gcp/compute/region_security_policy.py +12 -12
  322. pulumi_gcp/compute/region_security_policy_rule.py +38 -48
  323. pulumi_gcp/compute/region_ssl_certificate.py +138 -32
  324. pulumi_gcp/compute/region_target_http_proxy.py +88 -4
  325. pulumi_gcp/compute/region_target_https_proxy.py +96 -0
  326. pulumi_gcp/compute/region_target_tcp_proxy.py +52 -0
  327. pulumi_gcp/compute/region_url_map.py +1038 -0
  328. pulumi_gcp/compute/reservation.py +10 -8
  329. pulumi_gcp/compute/resource_policy.py +60 -48
  330. pulumi_gcp/compute/route.py +206 -4
  331. pulumi_gcp/compute/router.py +18 -6
  332. pulumi_gcp/compute/router_interface.py +6 -4
  333. pulumi_gcp/compute/router_nat.py +82 -42
  334. pulumi_gcp/compute/router_peer.py +72 -42
  335. pulumi_gcp/compute/security_policy.py +120 -108
  336. pulumi_gcp/compute/security_scan_config.py +4 -6
  337. pulumi_gcp/compute/service_attachment.py +376 -0
  338. pulumi_gcp/compute/snapshot.py +8 -0
  339. pulumi_gcp/compute/snapshot_iam_binding.py +12 -6
  340. pulumi_gcp/compute/snapshot_iam_member.py +12 -6
  341. pulumi_gcp/compute/snapshot_iam_policy.py +12 -6
  342. pulumi_gcp/compute/ssl_certificate.py +118 -30
  343. pulumi_gcp/compute/ssl_policy.py +20 -12
  344. pulumi_gcp/compute/subnetwork.py +58 -30
  345. pulumi_gcp/compute/subnetwork_iam_binding.py +36 -36
  346. pulumi_gcp/compute/subnetwork_iam_member.py +36 -36
  347. pulumi_gcp/compute/subnetwork_iam_policy.py +36 -36
  348. pulumi_gcp/compute/target_grpc_proxy.py +176 -0
  349. pulumi_gcp/compute/target_http_proxy.py +166 -10
  350. pulumi_gcp/compute/target_https_proxy.py +336 -14
  351. pulumi_gcp/compute/target_instance.py +22 -16
  352. pulumi_gcp/compute/target_pool.py +40 -0
  353. pulumi_gcp/compute/target_ssl_proxy.py +54 -0
  354. pulumi_gcp/compute/target_tcp_proxy.py +44 -0
  355. pulumi_gcp/compute/url_map.py +1146 -0
  356. pulumi_gcp/compute/vpn_gateway.py +28 -24
  357. pulumi_gcp/compute/vpn_tunnel.py +40 -36
  358. pulumi_gcp/container/_inputs.py +0 -188
  359. pulumi_gcp/container/attached_cluster.py +124 -0
  360. pulumi_gcp/container/aws_cluster.py +46 -42
  361. pulumi_gcp/container/aws_node_pool.py +34 -26
  362. pulumi_gcp/container/azure_client.py +6 -4
  363. pulumi_gcp/container/azure_cluster.py +30 -26
  364. pulumi_gcp/container/azure_node_pool.py +12 -6
  365. pulumi_gcp/container/cluster.py +62 -6
  366. pulumi_gcp/container/get_attached_versions.py +2 -2
  367. pulumi_gcp/container/get_aws_versions.py +2 -2
  368. pulumi_gcp/container/get_azure_versions.py +2 -2
  369. pulumi_gcp/container/get_engine_versions.py +2 -0
  370. pulumi_gcp/container/node_pool.py +68 -2
  371. pulumi_gcp/container/outputs.py +0 -188
  372. pulumi_gcp/container/registry.py +4 -4
  373. pulumi_gcp/containeranalysis/get_note_iam_policy.py +4 -4
  374. pulumi_gcp/containeranalysis/note.py +32 -26
  375. pulumi_gcp/containeranalysis/note_iam_binding.py +12 -12
  376. pulumi_gcp/containeranalysis/note_iam_member.py +12 -12
  377. pulumi_gcp/containeranalysis/note_iam_policy.py +12 -12
  378. pulumi_gcp/databasemigrationservice/connection_profile.py +40 -46
  379. pulumi_gcp/databasemigrationservice/private_connection.py +6 -6
  380. pulumi_gcp/datacatalog/entry.py +12 -12
  381. pulumi_gcp/datacatalog/entry_group.py +8 -8
  382. pulumi_gcp/datacatalog/entry_group_iam_binding.py +6 -6
  383. pulumi_gcp/datacatalog/entry_group_iam_member.py +6 -6
  384. pulumi_gcp/datacatalog/entry_group_iam_policy.py +6 -6
  385. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
  386. pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
  387. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
  388. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
  389. pulumi_gcp/datacatalog/policy_tag.py +14 -16
  390. pulumi_gcp/datacatalog/policy_tag_iam_binding.py +6 -6
  391. pulumi_gcp/datacatalog/policy_tag_iam_member.py +6 -6
  392. pulumi_gcp/datacatalog/policy_tag_iam_policy.py +6 -6
  393. pulumi_gcp/datacatalog/tag.py +22 -22
  394. pulumi_gcp/datacatalog/tag_template.py +16 -16
  395. pulumi_gcp/datacatalog/tag_template_iam_binding.py +6 -6
  396. pulumi_gcp/datacatalog/tag_template_iam_member.py +6 -6
  397. pulumi_gcp/datacatalog/tag_template_iam_policy.py +6 -6
  398. pulumi_gcp/datacatalog/taxonomy.py +6 -6
  399. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +6 -6
  400. pulumi_gcp/datacatalog/taxonomy_iam_member.py +6 -6
  401. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +6 -6
  402. pulumi_gcp/dataflow/flex_template_job.py +18 -18
  403. pulumi_gcp/dataflow/job.py +34 -26
  404. pulumi_gcp/dataflow/pipeline.py +4 -2
  405. pulumi_gcp/dataform/repository.py +28 -36
  406. pulumi_gcp/dataform/repository_release_config.py +16 -20
  407. pulumi_gcp/dataform/repository_workflow_config.py +26 -32
  408. pulumi_gcp/datafusion/get_instance_iam_policy.py +6 -6
  409. pulumi_gcp/datafusion/instance.py +60 -40
  410. pulumi_gcp/dataloss/prevention_deidentify_template.py +206 -10
  411. pulumi_gcp/dataloss/prevention_inspect_template.py +270 -42
  412. pulumi_gcp/dataloss/prevention_job_trigger.py +368 -192
  413. pulumi_gcp/dataloss/prevention_stored_info_type.py +24 -20
  414. pulumi_gcp/dataplex/asset.py +16 -10
  415. pulumi_gcp/dataplex/asset_iam_binding.py +30 -30
  416. pulumi_gcp/dataplex/asset_iam_member.py +30 -30
  417. pulumi_gcp/dataplex/asset_iam_policy.py +30 -30
  418. pulumi_gcp/dataplex/datascan.py +90 -92
  419. pulumi_gcp/dataplex/datascan_iam_binding.py +18 -18
  420. pulumi_gcp/dataplex/datascan_iam_member.py +18 -18
  421. pulumi_gcp/dataplex/datascan_iam_policy.py +18 -18
  422. pulumi_gcp/dataplex/get_asset_iam_policy.py +10 -10
  423. pulumi_gcp/dataplex/get_datascan_iam_policy.py +6 -6
  424. pulumi_gcp/dataplex/get_lake_iam_policy.py +6 -6
  425. pulumi_gcp/dataplex/get_task_iam_policy.py +8 -8
  426. pulumi_gcp/dataplex/get_zone_iam_policy.py +8 -8
  427. pulumi_gcp/dataplex/lake.py +8 -6
  428. pulumi_gcp/dataplex/lake_iam_binding.py +18 -18
  429. pulumi_gcp/dataplex/lake_iam_member.py +18 -18
  430. pulumi_gcp/dataplex/lake_iam_policy.py +18 -18
  431. pulumi_gcp/dataplex/task_iam_binding.py +24 -24
  432. pulumi_gcp/dataplex/task_iam_member.py +24 -24
  433. pulumi_gcp/dataplex/task_iam_policy.py +24 -24
  434. pulumi_gcp/dataplex/zone.py +4 -0
  435. pulumi_gcp/dataplex/zone_iam_binding.py +24 -24
  436. pulumi_gcp/dataplex/zone_iam_member.py +24 -24
  437. pulumi_gcp/dataplex/zone_iam_policy.py +24 -24
  438. pulumi_gcp/dataproc/autoscaling_policy.py +2 -0
  439. pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +18 -18
  440. pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +18 -18
  441. pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +18 -18
  442. pulumi_gcp/dataproc/cluster.py +18 -10
  443. pulumi_gcp/dataproc/cluster_iam_binding.py +8 -8
  444. pulumi_gcp/dataproc/cluster_iam_member.py +8 -8
  445. pulumi_gcp/dataproc/cluster_iam_policy.py +8 -8
  446. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +6 -6
  447. pulumi_gcp/dataproc/get_cluster_iam_policy.py +2 -2
  448. pulumi_gcp/dataproc/get_job_iam_policy.py +2 -2
  449. pulumi_gcp/dataproc/get_metastore_service.py +4 -4
  450. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +6 -6
  451. pulumi_gcp/dataproc/job.py +6 -2
  452. pulumi_gcp/dataproc/job_iam_binding.py +8 -8
  453. pulumi_gcp/dataproc/job_iam_member.py +8 -8
  454. pulumi_gcp/dataproc/job_iam_policy.py +8 -8
  455. pulumi_gcp/dataproc/metastore_federation.py +16 -24
  456. pulumi_gcp/dataproc/metastore_service.py +64 -56
  457. pulumi_gcp/dataproc/metastore_service_iam_binding.py +18 -18
  458. pulumi_gcp/dataproc/metastore_service_iam_member.py +18 -18
  459. pulumi_gcp/dataproc/metastore_service_iam_policy.py +18 -18
  460. pulumi_gcp/dataproc/workflow_template.py +58 -56
  461. pulumi_gcp/datastore/data_store_index.py +4 -4
  462. pulumi_gcp/datastream/connection_profile.py +52 -36
  463. pulumi_gcp/datastream/private_connection.py +4 -4
  464. pulumi_gcp/datastream/stream.py +52 -30
  465. pulumi_gcp/deploymentmanager/deployment.py +6 -2
  466. pulumi_gcp/diagflow/agent.py +20 -20
  467. pulumi_gcp/diagflow/cx_agent.py +4 -2
  468. pulumi_gcp/diagflow/cx_entity_type.py +2 -2
  469. pulumi_gcp/diagflow/cx_environment.py +2 -2
  470. pulumi_gcp/diagflow/cx_flow.py +6 -4
  471. pulumi_gcp/diagflow/cx_intent.py +2 -2
  472. pulumi_gcp/diagflow/cx_page.py +6 -6
  473. pulumi_gcp/diagflow/cx_security_settings.py +6 -4
  474. pulumi_gcp/diagflow/cx_test_case.py +6 -6
  475. pulumi_gcp/diagflow/cx_version.py +2 -2
  476. pulumi_gcp/diagflow/cx_webhook.py +2 -2
  477. pulumi_gcp/diagflow/entity_type.py +6 -8
  478. pulumi_gcp/diagflow/fulfillment.py +6 -8
  479. pulumi_gcp/diagflow/intent.py +32 -30
  480. pulumi_gcp/discoveryengine/chat_engine.py +4 -4
  481. pulumi_gcp/discoveryengine/data_store.py +8 -8
  482. pulumi_gcp/discoveryengine/search_engine.py +8 -8
  483. pulumi_gcp/dns/dns_managed_zone_iam_binding.py +12 -12
  484. pulumi_gcp/dns/dns_managed_zone_iam_member.py +12 -12
  485. pulumi_gcp/dns/dns_managed_zone_iam_policy.py +12 -12
  486. pulumi_gcp/dns/get_keys.py +2 -0
  487. pulumi_gcp/dns/get_managed_zone_iam_policy.py +4 -4
  488. pulumi_gcp/dns/managed_zone.py +82 -38
  489. pulumi_gcp/dns/policy.py +14 -4
  490. pulumi_gcp/dns/record_set.py +76 -44
  491. pulumi_gcp/dns/response_policy.py +16 -4
  492. pulumi_gcp/dns/response_policy_rule.py +12 -4
  493. pulumi_gcp/edgecontainer/cluster.py +54 -48
  494. pulumi_gcp/edgecontainer/node_pool.py +34 -16
  495. pulumi_gcp/edgecontainer/vpn_connection.py +12 -8
  496. pulumi_gcp/edgenetwork/network.py +2 -2
  497. pulumi_gcp/edgenetwork/subnet.py +8 -8
  498. pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
  499. pulumi_gcp/endpoints/service.py +12 -12
  500. pulumi_gcp/endpoints/service_iam_binding.py +6 -6
  501. pulumi_gcp/endpoints/service_iam_member.py +6 -6
  502. pulumi_gcp/endpoints/service_iam_policy.py +6 -6
  503. pulumi_gcp/essentialcontacts/document_ai_processor.py +2 -2
  504. pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +8 -8
  505. pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +18 -18
  506. pulumi_gcp/eventarc/channel.py +10 -10
  507. pulumi_gcp/eventarc/google_channel_config.py +8 -8
  508. pulumi_gcp/eventarc/trigger.py +6 -2
  509. pulumi_gcp/filestore/backup.py +4 -0
  510. pulumi_gcp/filestore/instance.py +44 -30
  511. pulumi_gcp/filestore/snapshot.py +8 -0
  512. pulumi_gcp/firebase/_inputs.py +0 -6
  513. pulumi_gcp/firebase/android_app.py +8 -12
  514. pulumi_gcp/firebase/app_check_debug_token.py +38 -0
  515. pulumi_gcp/firebase/app_check_service_config.py +6 -12
  516. pulumi_gcp/firebase/apple_app.py +8 -12
  517. pulumi_gcp/firebase/database_instance.py +26 -36
  518. pulumi_gcp/firebase/extensions_instance.py +8 -10
  519. pulumi_gcp/firebase/hosting_channel.py +14 -22
  520. pulumi_gcp/firebase/hosting_custom_domain.py +40 -54
  521. pulumi_gcp/firebase/hosting_release.py +48 -66
  522. pulumi_gcp/firebase/hosting_site.py +6 -12
  523. pulumi_gcp/firebase/hosting_version.py +66 -86
  524. pulumi_gcp/firebase/outputs.py +0 -6
  525. pulumi_gcp/firebase/project.py +10 -10
  526. pulumi_gcp/firebase/storage_bucket.py +10 -12
  527. pulumi_gcp/firebase/web_app.py +46 -40
  528. pulumi_gcp/firebaserules/release.py +20 -24
  529. pulumi_gcp/firebaserules/ruleset.py +10 -10
  530. pulumi_gcp/firestore/backup_schedule.py +4 -0
  531. pulumi_gcp/firestore/database.py +40 -32
  532. pulumi_gcp/firestore/document.py +132 -0
  533. pulumi_gcp/firestore/field.py +2 -0
  534. pulumi_gcp/firestore/index.py +94 -10
  535. pulumi_gcp/folder/access_approval_settings.py +26 -18
  536. pulumi_gcp/folder/get_iam_policy.py +2 -2
  537. pulumi_gcp/folder/iam_audit_config.py +42 -42
  538. pulumi_gcp/folder/iam_member.py +42 -42
  539. pulumi_gcp/folder/iam_policy.py +42 -42
  540. pulumi_gcp/folder/organization_policy.py +22 -22
  541. pulumi_gcp/gkebackup/backup_plan.py +28 -4
  542. pulumi_gcp/gkebackup/backup_plan_iam_binding.py +18 -12
  543. pulumi_gcp/gkebackup/backup_plan_iam_member.py +18 -12
  544. pulumi_gcp/gkebackup/backup_plan_iam_policy.py +18 -12
  545. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +6 -6
  546. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +6 -6
  547. pulumi_gcp/gkebackup/restore_plan.py +48 -12
  548. pulumi_gcp/gkebackup/restore_plan_iam_binding.py +48 -12
  549. pulumi_gcp/gkebackup/restore_plan_iam_member.py +48 -12
  550. pulumi_gcp/gkebackup/restore_plan_iam_policy.py +48 -12
  551. pulumi_gcp/gkehub/feature.py +200 -38
  552. pulumi_gcp/gkehub/feature_iam_binding.py +18 -12
  553. pulumi_gcp/gkehub/feature_iam_member.py +18 -12
  554. pulumi_gcp/gkehub/feature_iam_policy.py +18 -12
  555. pulumi_gcp/gkehub/feature_membership.py +54 -22
  556. pulumi_gcp/gkehub/fleet.py +4 -4
  557. pulumi_gcp/gkehub/get_feature_iam_policy.py +6 -6
  558. pulumi_gcp/gkehub/get_membership_iam_policy.py +6 -6
  559. pulumi_gcp/gkehub/get_scope_iam_policy.py +4 -4
  560. pulumi_gcp/gkehub/membership.py +24 -18
  561. pulumi_gcp/gkehub/membership_iam_binding.py +18 -18
  562. pulumi_gcp/gkehub/membership_iam_member.py +18 -18
  563. pulumi_gcp/gkehub/membership_iam_policy.py +18 -18
  564. pulumi_gcp/gkehub/scope.py +6 -6
  565. pulumi_gcp/gkehub/scope_iam_binding.py +12 -12
  566. pulumi_gcp/gkehub/scope_iam_member.py +12 -12
  567. pulumi_gcp/gkehub/scope_iam_policy.py +12 -12
  568. pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +126 -122
  569. pulumi_gcp/gkeonprem/bare_metal_cluster.py +242 -236
  570. pulumi_gcp/gkeonprem/bare_metal_node_pool.py +8 -0
  571. pulumi_gcp/gkeonprem/v_mware_cluster.py +242 -236
  572. pulumi_gcp/gkeonprem/v_mware_node_pool.py +4 -180
  573. pulumi_gcp/healthcare/consent_store.py +32 -10
  574. pulumi_gcp/healthcare/consent_store_iam_binding.py +12 -12
  575. pulumi_gcp/healthcare/consent_store_iam_member.py +12 -12
  576. pulumi_gcp/healthcare/consent_store_iam_policy.py +12 -12
  577. pulumi_gcp/healthcare/dataset.py +2 -0
  578. pulumi_gcp/healthcare/dataset_iam_binding.py +8 -8
  579. pulumi_gcp/healthcare/dataset_iam_member.py +8 -8
  580. pulumi_gcp/healthcare/dataset_iam_policy.py +8 -8
  581. pulumi_gcp/healthcare/dicom_store.py +30 -26
  582. pulumi_gcp/healthcare/dicom_store_iam_binding.py +14 -14
  583. pulumi_gcp/healthcare/dicom_store_iam_member.py +14 -14
  584. pulumi_gcp/healthcare/dicom_store_iam_policy.py +14 -14
  585. pulumi_gcp/healthcare/fhir_store.py +44 -24
  586. pulumi_gcp/healthcare/fhir_store_iam_binding.py +14 -14
  587. pulumi_gcp/healthcare/fhir_store_iam_member.py +14 -14
  588. pulumi_gcp/healthcare/fhir_store_iam_policy.py +14 -14
  589. pulumi_gcp/healthcare/get_consent_store_iam_policy.py +4 -4
  590. pulumi_gcp/healthcare/get_dataset_iam_policy.py +2 -2
  591. pulumi_gcp/healthcare/get_dicom_store_iam_policy.py +2 -2
  592. pulumi_gcp/healthcare/get_fhir_store_iam_policy.py +2 -2
  593. pulumi_gcp/healthcare/get_hl7_v2_store_iam_policy.py +2 -2
  594. pulumi_gcp/healthcare/hl7_store.py +30 -20
  595. pulumi_gcp/healthcare/hl7_store_iam_binding.py +14 -14
  596. pulumi_gcp/healthcare/hl7_store_iam_member.py +14 -14
  597. pulumi_gcp/healthcare/hl7_store_iam_policy.py +14 -14
  598. pulumi_gcp/iam/_inputs.py +0 -18
  599. pulumi_gcp/iam/access_boundary_policy.py +100 -0
  600. pulumi_gcp/iam/deny_policy.py +92 -0
  601. pulumi_gcp/iam/outputs.py +0 -18
  602. pulumi_gcp/iam/workforce_pool.py +20 -20
  603. pulumi_gcp/iam/workforce_pool_provider.py +0 -21
  604. pulumi_gcp/iam/workload_identity_pool.py +6 -6
  605. pulumi_gcp/iam/workload_identity_pool_provider.py +8 -46
  606. pulumi_gcp/iap/app_engine_service_iam_binding.py +56 -56
  607. pulumi_gcp/iap/app_engine_service_iam_member.py +56 -56
  608. pulumi_gcp/iap/app_engine_service_iam_policy.py +56 -56
  609. pulumi_gcp/iap/app_engine_version_iam_binding.py +68 -68
  610. pulumi_gcp/iap/app_engine_version_iam_member.py +68 -68
  611. pulumi_gcp/iap/app_engine_version_iam_policy.py +68 -68
  612. pulumi_gcp/iap/brand.py +12 -6
  613. pulumi_gcp/iap/client.py +14 -8
  614. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +6 -6
  615. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +8 -8
  616. pulumi_gcp/iap/get_client.py +2 -2
  617. pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
  618. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +6 -6
  619. pulumi_gcp/iap/get_web_backend_service_iam_policy.py +4 -4
  620. pulumi_gcp/iap/get_web_iam_policy.py +2 -2
  621. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +6 -6
  622. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +4 -4
  623. pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
  624. pulumi_gcp/iap/tunnel_iam_binding.py +12 -12
  625. pulumi_gcp/iap/tunnel_iam_member.py +12 -12
  626. pulumi_gcp/iap/tunnel_iam_policy.py +12 -12
  627. pulumi_gcp/iap/tunnel_instance_iam_binding.py +36 -36
  628. pulumi_gcp/iap/tunnel_instance_iam_member.py +36 -36
  629. pulumi_gcp/iap/tunnel_instance_iam_policy.py +36 -36
  630. pulumi_gcp/iap/web_backend_service_iam_binding.py +24 -24
  631. pulumi_gcp/iap/web_backend_service_iam_member.py +24 -24
  632. pulumi_gcp/iap/web_backend_service_iam_policy.py +24 -24
  633. pulumi_gcp/iap/web_iam_binding.py +12 -12
  634. pulumi_gcp/iap/web_iam_member.py +12 -12
  635. pulumi_gcp/iap/web_iam_policy.py +12 -12
  636. pulumi_gcp/iap/web_region_backend_service_iam_binding.py +36 -36
  637. pulumi_gcp/iap/web_region_backend_service_iam_member.py +36 -36
  638. pulumi_gcp/iap/web_region_backend_service_iam_policy.py +36 -36
  639. pulumi_gcp/iap/web_type_app_enging_iam_binding.py +24 -24
  640. pulumi_gcp/iap/web_type_app_enging_iam_member.py +24 -24
  641. pulumi_gcp/iap/web_type_app_enging_iam_policy.py +24 -24
  642. pulumi_gcp/iap/web_type_compute_iam_binding.py +12 -12
  643. pulumi_gcp/iap/web_type_compute_iam_member.py +12 -12
  644. pulumi_gcp/iap/web_type_compute_iam_policy.py +12 -12
  645. pulumi_gcp/identityplatform/config.py +12 -8
  646. pulumi_gcp/identityplatform/default_supported_idp_config.py +8 -8
  647. pulumi_gcp/identityplatform/inbound_saml_config.py +8 -4
  648. pulumi_gcp/identityplatform/oauth_idp_config.py +10 -8
  649. pulumi_gcp/identityplatform/tenant.py +4 -4
  650. pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +2 -2
  651. pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +8 -4
  652. pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +4 -2
  653. pulumi_gcp/integrationconnectors/connection.py +16 -14
  654. pulumi_gcp/integrationconnectors/endpoint_attachment.py +8 -6
  655. pulumi_gcp/kms/crypto_key.py +16 -4
  656. pulumi_gcp/kms/crypto_key_iam_binding.py +32 -26
  657. pulumi_gcp/kms/crypto_key_iam_member.py +32 -26
  658. pulumi_gcp/kms/crypto_key_iam_policy.py +32 -26
  659. pulumi_gcp/kms/crypto_key_version.py +8 -2
  660. pulumi_gcp/kms/get_crypto_key_iam_policy.py +2 -2
  661. pulumi_gcp/kms/get_kms_crypto_key_version.py +2 -2
  662. pulumi_gcp/kms/get_kms_key_ring.py +4 -4
  663. pulumi_gcp/kms/key_ring.py +6 -2
  664. pulumi_gcp/kms/key_ring_iam_binding.py +52 -44
  665. pulumi_gcp/kms/key_ring_iam_member.py +52 -44
  666. pulumi_gcp/kms/key_ring_iam_policy.py +52 -44
  667. pulumi_gcp/kms/secret_ciphertext.py +20 -12
  668. pulumi_gcp/logging/billing_account_exclusion.py +2 -0
  669. pulumi_gcp/logging/billing_account_sink.py +8 -2
  670. pulumi_gcp/logging/folder_exclusion.py +2 -0
  671. pulumi_gcp/logging/folder_settings.py +12 -14
  672. pulumi_gcp/logging/folder_sink.py +8 -2
  673. pulumi_gcp/logging/linked_dataset.py +22 -24
  674. pulumi_gcp/logging/log_view.py +8 -6
  675. pulumi_gcp/logging/metric.py +78 -68
  676. pulumi_gcp/logging/organization_exclusion.py +6 -4
  677. pulumi_gcp/logging/organization_settings.py +10 -12
  678. pulumi_gcp/logging/organization_sink.py +8 -2
  679. pulumi_gcp/logging/project_bucket_config.py +178 -0
  680. pulumi_gcp/logging/project_exclusion.py +2 -0
  681. pulumi_gcp/looker/instance.py +76 -70
  682. pulumi_gcp/memcache/instance.py +10 -6
  683. pulumi_gcp/migrationcenter/group.py +6 -6
  684. pulumi_gcp/ml/engine_model.py +8 -4
  685. pulumi_gcp/monitoring/alert_policy.py +58 -58
  686. pulumi_gcp/monitoring/custom_service.py +2 -2
  687. pulumi_gcp/monitoring/dashboard.py +0 -4
  688. pulumi_gcp/monitoring/generic_service.py +18 -18
  689. pulumi_gcp/monitoring/get_app_engine_service.py +10 -2
  690. pulumi_gcp/monitoring/get_cluster_istio_service.py +10 -8
  691. pulumi_gcp/monitoring/get_istio_canonical_service.py +6 -4
  692. pulumi_gcp/monitoring/get_mesh_istio_service.py +6 -4
  693. pulumi_gcp/monitoring/get_notification_channel.py +2 -2
  694. pulumi_gcp/monitoring/metric_descriptor.py +34 -34
  695. pulumi_gcp/monitoring/monitored_project.py +14 -4
  696. pulumi_gcp/monitoring/notification_channel.py +8 -8
  697. pulumi_gcp/monitoring/slo.py +238 -4
  698. pulumi_gcp/monitoring/uptime_check_config.py +106 -102
  699. pulumi_gcp/netapp/active_directory.py +4 -2
  700. pulumi_gcp/netapp/backup_policy.py +12 -10
  701. pulumi_gcp/netapp/backup_vault.py +4 -2
  702. pulumi_gcp/netapp/kmsconfig.py +14 -6
  703. pulumi_gcp/netapp/storage_pool.py +12 -8
  704. pulumi_gcp/netapp/volume.py +12 -8
  705. pulumi_gcp/netapp/volume_snapshot.py +16 -12
  706. pulumi_gcp/networkconnectivity/hub.py +6 -4
  707. pulumi_gcp/networkconnectivity/policy_based_route.py +18 -6
  708. pulumi_gcp/networkconnectivity/service_connection_policy.py +12 -4
  709. pulumi_gcp/networkconnectivity/spoke.py +28 -8
  710. pulumi_gcp/networkmanagement/connectivity_test.py +36 -22
  711. pulumi_gcp/networksecurity/address_group.py +32 -26
  712. pulumi_gcp/networksecurity/authorization_policy.py +8 -8
  713. pulumi_gcp/networksecurity/client_tls_policy.py +8 -8
  714. pulumi_gcp/networksecurity/firewall_endpoint.py +4 -4
  715. pulumi_gcp/networksecurity/gateway_security_policy.py +38 -54
  716. pulumi_gcp/networksecurity/gateway_security_policy_rule.py +20 -12
  717. pulumi_gcp/networksecurity/security_profile.py +8 -8
  718. pulumi_gcp/networksecurity/security_profile_group.py +10 -10
  719. pulumi_gcp/networksecurity/server_tls_policy.py +30 -28
  720. pulumi_gcp/networksecurity/tls_inspection_policy.py +28 -44
  721. pulumi_gcp/networksecurity/url_list.py +6 -2
  722. pulumi_gcp/networkservices/edge_cache_keyset.py +4 -0
  723. pulumi_gcp/networkservices/edge_cache_origin.py +12 -4
  724. pulumi_gcp/networkservices/edge_cache_service.py +270 -16
  725. pulumi_gcp/networkservices/endpoint_policy.py +8 -8
  726. pulumi_gcp/networkservices/gateway.py +96 -60
  727. pulumi_gcp/networkservices/grpc_route.py +12 -12
  728. pulumi_gcp/networkservices/http_route.py +26 -26
  729. pulumi_gcp/networkservices/mesh.py +8 -8
  730. pulumi_gcp/networkservices/service_binding.py +16 -20
  731. pulumi_gcp/networkservices/tcp_route.py +298 -0
  732. pulumi_gcp/networkservices/tls_route.py +214 -0
  733. pulumi_gcp/notebooks/environment.py +6 -4
  734. pulumi_gcp/notebooks/get_instance_iam_policy.py +6 -6
  735. pulumi_gcp/notebooks/get_runtime_iam_policy.py +6 -6
  736. pulumi_gcp/notebooks/instance.py +38 -28
  737. pulumi_gcp/notebooks/instance_iam_binding.py +18 -18
  738. pulumi_gcp/notebooks/instance_iam_member.py +18 -18
  739. pulumi_gcp/notebooks/instance_iam_policy.py +18 -18
  740. pulumi_gcp/notebooks/runtime.py +74 -64
  741. pulumi_gcp/notebooks/runtime_iam_binding.py +18 -18
  742. pulumi_gcp/notebooks/runtime_iam_member.py +18 -18
  743. pulumi_gcp/notebooks/runtime_iam_policy.py +18 -18
  744. pulumi_gcp/organizations/access_approval_settings.py +34 -26
  745. pulumi_gcp/organizations/get_billing_account.py +6 -2
  746. pulumi_gcp/organizations/get_folders.py +2 -2
  747. pulumi_gcp/organizations/get_iam_policy.py +0 -62
  748. pulumi_gcp/organizations/iam_audit_config.py +8 -8
  749. pulumi_gcp/organizations/iam_binding.py +4 -4
  750. pulumi_gcp/organizations/iam_custom_role.py +8 -8
  751. pulumi_gcp/organizations/iam_member.py +42 -42
  752. pulumi_gcp/organizations/iam_policy.py +42 -42
  753. pulumi_gcp/organizations/policy.py +26 -26
  754. pulumi_gcp/organizations/project.py +16 -4
  755. pulumi_gcp/orgpolicy/custom_constraint.py +14 -8
  756. pulumi_gcp/orgpolicy/policy.py +24 -60
  757. pulumi_gcp/osconfig/guest_policies.py +16 -22
  758. pulumi_gcp/osconfig/os_policy_assignment.py +42 -40
  759. pulumi_gcp/osconfig/patch_deployment.py +122 -120
  760. pulumi_gcp/oslogin/ssh_public_key.py +4 -2
  761. pulumi_gcp/projects/access_approval_settings.py +24 -22
  762. pulumi_gcp/projects/api_key.py +50 -10
  763. pulumi_gcp/projects/default_service_accounts.py +10 -10
  764. pulumi_gcp/projects/iam_audit_config.py +46 -46
  765. pulumi_gcp/projects/iam_binding.py +46 -46
  766. pulumi_gcp/projects/iam_custom_role.py +6 -6
  767. pulumi_gcp/projects/iam_member.py +46 -46
  768. pulumi_gcp/projects/iam_policy.py +46 -46
  769. pulumi_gcp/projects/organization_policy.py +26 -26
  770. pulumi_gcp/projects/service.py +4 -4
  771. pulumi_gcp/projects/service_identity.py +6 -8
  772. pulumi_gcp/projects/usage_export_bucket.py +16 -4
  773. pulumi_gcp/pubsub/get_schema_iam_policy.py +4 -4
  774. pulumi_gcp/pubsub/get_subscription_iam_policy.py +2 -2
  775. pulumi_gcp/pubsub/get_topic_iam_policy.py +4 -4
  776. pulumi_gcp/pubsub/lite_reservation.py +2 -0
  777. pulumi_gcp/pubsub/lite_subscription.py +10 -6
  778. pulumi_gcp/pubsub/lite_topic.py +10 -6
  779. pulumi_gcp/pubsub/schema.py +22 -18
  780. pulumi_gcp/pubsub/schema_iam_binding.py +12 -12
  781. pulumi_gcp/pubsub/schema_iam_member.py +12 -12
  782. pulumi_gcp/pubsub/schema_iam_policy.py +12 -12
  783. pulumi_gcp/pubsub/subscription.py +90 -96
  784. pulumi_gcp/pubsub/subscription_iam_binding.py +8 -8
  785. pulumi_gcp/pubsub/subscription_iam_member.py +8 -8
  786. pulumi_gcp/pubsub/subscription_iam_policy.py +8 -8
  787. pulumi_gcp/pubsub/topic.py +46 -24
  788. pulumi_gcp/pubsub/topic_iam_binding.py +12 -12
  789. pulumi_gcp/pubsub/topic_iam_member.py +12 -12
  790. pulumi_gcp/pubsub/topic_iam_policy.py +12 -12
  791. pulumi_gcp/recaptcha/enterprise_key.py +54 -54
  792. pulumi_gcp/redis/cluster.py +32 -24
  793. pulumi_gcp/redis/instance.py +132 -14
  794. pulumi_gcp/resourcemanager/lien.py +12 -8
  795. pulumi_gcp/runtimeconfig/config.py +6 -2
  796. pulumi_gcp/runtimeconfig/get_variable.py +4 -4
  797. pulumi_gcp/runtimeconfig/variable.py +20 -8
  798. pulumi_gcp/secretmanager/get_secret_iam_policy.py +4 -4
  799. pulumi_gcp/secretmanager/secret.py +16 -18
  800. pulumi_gcp/secretmanager/secret_iam_binding.py +12 -12
  801. pulumi_gcp/secretmanager/secret_iam_member.py +12 -12
  802. pulumi_gcp/secretmanager/secret_iam_policy.py +12 -12
  803. pulumi_gcp/secretmanager/secret_version.py +4 -4
  804. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +6 -6
  805. pulumi_gcp/securesourcemanager/instance.py +144 -14
  806. pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
  807. pulumi_gcp/securitycenter/instance_iam_binding.py +60 -40
  808. pulumi_gcp/securitycenter/instance_iam_member.py +60 -40
  809. pulumi_gcp/securitycenter/instance_iam_policy.py +60 -40
  810. pulumi_gcp/securitycenter/mute_config.py +6 -6
  811. pulumi_gcp/securitycenter/notification_config.py +4 -4
  812. pulumi_gcp/securitycenter/organization_custom_module.py +40 -40
  813. pulumi_gcp/securitycenter/project_custom_module.py +36 -36
  814. pulumi_gcp/securitycenter/source.py +6 -6
  815. pulumi_gcp/securitycenter/source_iam_binding.py +6 -6
  816. pulumi_gcp/securitycenter/source_iam_member.py +6 -6
  817. pulumi_gcp/securitycenter/source_iam_policy.py +6 -6
  818. pulumi_gcp/securityposture/posture.py +46 -46
  819. pulumi_gcp/serviceaccount/account.py +2 -2
  820. pulumi_gcp/serviceaccount/get_account.py +34 -0
  821. pulumi_gcp/serviceaccount/get_account_access_token.py +8 -10
  822. pulumi_gcp/serviceaccount/get_account_key.py +4 -4
  823. pulumi_gcp/serviceaccount/get_iam_policy.py +2 -2
  824. pulumi_gcp/serviceaccount/key.py +46 -2
  825. pulumi_gcp/servicedirectory/endpoint.py +28 -40
  826. pulumi_gcp/servicedirectory/namespace.py +2 -4
  827. pulumi_gcp/servicedirectory/namespace_iam_binding.py +14 -12
  828. pulumi_gcp/servicedirectory/namespace_iam_member.py +14 -12
  829. pulumi_gcp/servicedirectory/namespace_iam_policy.py +14 -12
  830. pulumi_gcp/servicedirectory/service.py +10 -14
  831. pulumi_gcp/servicedirectory/service_iam_binding.py +14 -12
  832. pulumi_gcp/servicedirectory/service_iam_member.py +14 -12
  833. pulumi_gcp/servicedirectory/service_iam_policy.py +14 -12
  834. pulumi_gcp/servicenetworking/connection.py +8 -6
  835. pulumi_gcp/servicenetworking/peered_dns_domain.py +6 -4
  836. pulumi_gcp/serviceusage/consumer_quota_override.py +126 -0
  837. pulumi_gcp/sourcerepo/get_repository_iam_policy.py +4 -4
  838. pulumi_gcp/sourcerepo/repository.py +20 -16
  839. pulumi_gcp/sourcerepo/repository_iam_binding.py +12 -12
  840. pulumi_gcp/sourcerepo/repository_iam_member.py +12 -12
  841. pulumi_gcp/sourcerepo/repository_iam_policy.py +12 -12
  842. pulumi_gcp/spanner/database.py +2 -0
  843. pulumi_gcp/spanner/database_iam_binding.py +12 -12
  844. pulumi_gcp/spanner/database_iam_member.py +12 -12
  845. pulumi_gcp/spanner/database_iam_policy.py +12 -12
  846. pulumi_gcp/spanner/get_database_iam_policy.py +6 -6
  847. pulumi_gcp/spanner/get_instance_iam_policy.py +4 -4
  848. pulumi_gcp/spanner/instance.py +16 -16
  849. pulumi_gcp/spanner/instance_iam_binding.py +8 -8
  850. pulumi_gcp/spanner/instance_iam_member.py +8 -8
  851. pulumi_gcp/spanner/instance_iam_policy.py +8 -8
  852. pulumi_gcp/sql/database.py +14 -4
  853. pulumi_gcp/sql/database_instance.py +76 -26
  854. pulumi_gcp/sql/get_backup_run.py +2 -2
  855. pulumi_gcp/sql/get_ca_certs.py +32 -0
  856. pulumi_gcp/sql/get_database.py +2 -2
  857. pulumi_gcp/sql/get_databases.py +2 -2
  858. pulumi_gcp/sql/source_representation_instance.py +20 -16
  859. pulumi_gcp/sql/ssl_cert.py +6 -4
  860. pulumi_gcp/sql/user.py +154 -0
  861. pulumi_gcp/storage/bucket.py +44 -38
  862. pulumi_gcp/storage/bucket_access_control.py +8 -4
  863. pulumi_gcp/storage/bucket_acl.py +6 -2
  864. pulumi_gcp/storage/bucket_iam_binding.py +12 -12
  865. pulumi_gcp/storage/bucket_iam_member.py +12 -12
  866. pulumi_gcp/storage/bucket_iam_policy.py +12 -12
  867. pulumi_gcp/storage/bucket_object.py +14 -12
  868. pulumi_gcp/storage/default_object_access_control.py +8 -4
  869. pulumi_gcp/storage/default_object_acl.py +6 -2
  870. pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
  871. pulumi_gcp/storage/get_bucket_object.py +4 -4
  872. pulumi_gcp/storage/get_object_signed_url.py +6 -4
  873. pulumi_gcp/storage/get_project_service_account.py +6 -6
  874. pulumi_gcp/storage/hmac_key.py +2 -2
  875. pulumi_gcp/storage/insights_report_config.py +14 -14
  876. pulumi_gcp/storage/notification.py +20 -18
  877. pulumi_gcp/storage/object_access_control.py +10 -4
  878. pulumi_gcp/storage/object_acl.py +8 -2
  879. pulumi_gcp/storage/transfer_agent_pool.py +6 -6
  880. pulumi_gcp/storage/transfer_job.py +30 -38
  881. pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
  882. pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
  883. pulumi_gcp/tags/location_tag_binding.py +44 -32
  884. pulumi_gcp/tags/tag_binding.py +16 -10
  885. pulumi_gcp/tags/tag_key.py +4 -4
  886. pulumi_gcp/tags/tag_key_iam_binding.py +6 -6
  887. pulumi_gcp/tags/tag_key_iam_member.py +6 -6
  888. pulumi_gcp/tags/tag_key_iam_policy.py +6 -6
  889. pulumi_gcp/tags/tag_value.py +8 -8
  890. pulumi_gcp/tags/tag_value_iam_binding.py +6 -6
  891. pulumi_gcp/tags/tag_value_iam_member.py +6 -6
  892. pulumi_gcp/tags/tag_value_iam_policy.py +6 -6
  893. pulumi_gcp/tpu/get_tensorflow_versions.py +2 -0
  894. pulumi_gcp/tpu/get_v2_accelerator_types.py +10 -8
  895. pulumi_gcp/tpu/get_v2_runtime_versions.py +2 -0
  896. pulumi_gcp/tpu/node.py +12 -6
  897. pulumi_gcp/tpu/v2_vm.py +134 -2
  898. pulumi_gcp/vertex/ai_dataset.py +6 -6
  899. pulumi_gcp/vertex/ai_endpoint.py +28 -26
  900. pulumi_gcp/vertex/ai_feature_group.py +8 -6
  901. pulumi_gcp/vertex/ai_feature_group_feature.py +12 -8
  902. pulumi_gcp/vertex/ai_feature_online_store.py +26 -24
  903. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +36 -28
  904. pulumi_gcp/vertex/ai_feature_store.py +30 -26
  905. pulumi_gcp/vertex/ai_feature_store_entity_type.py +12 -8
  906. pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +18 -12
  907. pulumi_gcp/vertex/ai_index.py +8 -0
  908. pulumi_gcp/vertex/ai_index_endpoint.py +36 -36
  909. pulumi_gcp/vertex/ai_metadata_store.py +2 -0
  910. pulumi_gcp/vertex/ai_tensorboard.py +12 -14
  911. pulumi_gcp/vmwareengine/cluster.py +12 -0
  912. pulumi_gcp/vmwareengine/external_access_rule.py +16 -0
  913. pulumi_gcp/vmwareengine/external_address.py +10 -4
  914. pulumi_gcp/vmwareengine/get_network.py +4 -4
  915. pulumi_gcp/vmwareengine/get_network_policy.py +4 -4
  916. pulumi_gcp/vmwareengine/get_private_cloud.py +4 -4
  917. pulumi_gcp/vmwareengine/network.py +56 -4
  918. pulumi_gcp/vmwareengine/network_peering.py +12 -2
  919. pulumi_gcp/vmwareengine/network_policy.py +8 -0
  920. pulumi_gcp/vmwareengine/private_cloud.py +8 -0
  921. pulumi_gcp/vmwareengine/subnet.py +6 -0
  922. pulumi_gcp/vpcaccess/connector.py +16 -6
  923. pulumi_gcp/vpcaccess/get_connector.py +2 -0
  924. pulumi_gcp/workbench/get_instance_iam_policy.py +6 -6
  925. pulumi_gcp/workbench/instance.py +42 -26
  926. pulumi_gcp/workflows/workflow.py +98 -0
  927. pulumi_gcp/workstations/workstation.py +26 -30
  928. pulumi_gcp/workstations/workstation_cluster.py +48 -48
  929. pulumi_gcp/workstations/workstation_config.py +182 -194
  930. {pulumi_gcp-7.12.0a1709102105.dist-info → pulumi_gcp-7.12.0a1709133800.dist-info}/METADATA +1 -1
  931. pulumi_gcp-7.12.0a1709133800.dist-info/RECORD +1489 -0
  932. pulumi_gcp-7.12.0a1709102105.dist-info/RECORD +0 -1489
  933. {pulumi_gcp-7.12.0a1709102105.dist-info → pulumi_gcp-7.12.0a1709133800.dist-info}/WHEEL +0 -0
  934. {pulumi_gcp-7.12.0a1709102105.dist-info → pulumi_gcp-7.12.0a1709133800.dist-info}/top_level.txt +0 -0
@@ -1045,15 +1045,114 @@ class Trigger(pulumi.CustomResource):
1045
1045
  import pulumi_gcp as gcp
1046
1046
 
1047
1047
  filename_trigger = gcp.cloudbuild.Trigger("filename-trigger",
1048
- filename="cloudbuild.yaml",
1049
1048
  location="us-central1",
1049
+ trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1050
+ branch_name="main",
1051
+ repo_name="my-repo",
1052
+ ),
1050
1053
  substitutions={
1051
- "_BAZ": "qux",
1052
1054
  "_FOO": "bar",
1055
+ "_BAZ": "qux",
1053
1056
  },
1057
+ filename="cloudbuild.yaml")
1058
+ ```
1059
+ ### Cloudbuild Trigger Build
1060
+
1061
+ ```python
1062
+ import pulumi
1063
+ import pulumi_gcp as gcp
1064
+
1065
+ build_trigger = gcp.cloudbuild.Trigger("build-trigger",
1066
+ name="my-trigger",
1067
+ location="global",
1054
1068
  trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1055
1069
  branch_name="main",
1056
1070
  repo_name="my-repo",
1071
+ ),
1072
+ build=gcp.cloudbuild.TriggerBuildArgs(
1073
+ steps=[
1074
+ gcp.cloudbuild.TriggerBuildStepArgs(
1075
+ name="gcr.io/cloud-builders/gsutil",
1076
+ args=[
1077
+ "cp",
1078
+ "gs://mybucket/remotefile.zip",
1079
+ "localfile.zip",
1080
+ ],
1081
+ timeout="120s",
1082
+ secret_envs=["MY_SECRET"],
1083
+ ),
1084
+ gcp.cloudbuild.TriggerBuildStepArgs(
1085
+ name="ubuntu",
1086
+ script="echo hello",
1087
+ ),
1088
+ ],
1089
+ source=gcp.cloudbuild.TriggerBuildSourceArgs(
1090
+ storage_source=gcp.cloudbuild.TriggerBuildSourceStorageSourceArgs(
1091
+ bucket="mybucket",
1092
+ object="source_code.tar.gz",
1093
+ ),
1094
+ ),
1095
+ tags=[
1096
+ "build",
1097
+ "newFeature",
1098
+ ],
1099
+ substitutions={
1100
+ "_FOO": "bar",
1101
+ "_BAZ": "qux",
1102
+ },
1103
+ queue_ttl="20s",
1104
+ logs_bucket="gs://mybucket/logs",
1105
+ secrets=[gcp.cloudbuild.TriggerBuildSecretArgs(
1106
+ kms_key_name="projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
1107
+ secret_env={
1108
+ "PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
1109
+ },
1110
+ )],
1111
+ available_secrets=gcp.cloudbuild.TriggerBuildAvailableSecretsArgs(
1112
+ secret_managers=[gcp.cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs(
1113
+ env="MY_SECRET",
1114
+ version_name="projects/myProject/secrets/mySecret/versions/latest",
1115
+ )],
1116
+ ),
1117
+ artifacts=gcp.cloudbuild.TriggerBuildArtifactsArgs(
1118
+ images=["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
1119
+ objects=gcp.cloudbuild.TriggerBuildArtifactsObjectsArgs(
1120
+ location="gs://bucket/path/to/somewhere/",
1121
+ paths=["path"],
1122
+ ),
1123
+ npm_packages=[gcp.cloudbuild.TriggerBuildArtifactsNpmPackageArgs(
1124
+ package_path="package.json",
1125
+ repository="https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo",
1126
+ )],
1127
+ python_packages=[gcp.cloudbuild.TriggerBuildArtifactsPythonPackageArgs(
1128
+ paths=["dist/*"],
1129
+ repository="https://us-west1-python.pkg.dev/myProject/quickstart-python-repo",
1130
+ )],
1131
+ maven_artifacts=[gcp.cloudbuild.TriggerBuildArtifactsMavenArtifactArgs(
1132
+ repository="https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo",
1133
+ path="/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar",
1134
+ artifact_id="my-app",
1135
+ group_id="com.mycompany.app",
1136
+ version="1.0",
1137
+ )],
1138
+ ),
1139
+ options=gcp.cloudbuild.TriggerBuildOptionsArgs(
1140
+ source_provenance_hashes=["MD5"],
1141
+ requested_verify_option="VERIFIED",
1142
+ machine_type="N1_HIGHCPU_8",
1143
+ disk_size_gb=100,
1144
+ substitution_option="ALLOW_LOOSE",
1145
+ dynamic_substitutions=True,
1146
+ log_streaming_option="STREAM_OFF",
1147
+ worker_pool="pool",
1148
+ logging="LEGACY",
1149
+ envs=["ekey = evalue"],
1150
+ secret_envs=["secretenv = svalue"],
1151
+ volumes=[gcp.cloudbuild.TriggerBuildOptionsVolumeArgs(
1152
+ name="v1",
1153
+ path="v1",
1154
+ )],
1155
+ ),
1057
1156
  ))
1058
1157
  ```
1059
1158
  ### Cloudbuild Trigger Service Account
@@ -1063,26 +1162,22 @@ class Trigger(pulumi.CustomResource):
1063
1162
  import pulumi_gcp as gcp
1064
1163
 
1065
1164
  project = gcp.organizations.get_project()
1066
- cloudbuild_service_account = gcp.serviceaccount.Account("cloudbuildServiceAccount", account_id="cloud-sa")
1067
- act_as = gcp.projects.IAMMember("actAs",
1068
- project=project.project_id,
1069
- role="roles/iam.serviceAccountUser",
1070
- member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1071
- logs_writer = gcp.projects.IAMMember("logsWriter",
1072
- project=project.project_id,
1073
- role="roles/logging.logWriter",
1074
- member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1165
+ cloudbuild_service_account = gcp.serviceaccount.Account("cloudbuild_service_account", account_id="cloud-sa")
1075
1166
  service_account_trigger = gcp.cloudbuild.Trigger("service-account-trigger",
1076
1167
  trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1077
1168
  branch_name="main",
1078
1169
  repo_name="my-repo",
1079
1170
  ),
1080
1171
  service_account=cloudbuild_service_account.id,
1081
- filename="cloudbuild.yaml",
1082
- opts=pulumi.ResourceOptions(depends_on=[
1083
- act_as,
1084
- logs_writer,
1085
- ]))
1172
+ filename="cloudbuild.yaml")
1173
+ act_as = gcp.projects.IAMMember("act_as",
1174
+ project=project.project_id,
1175
+ role="roles/iam.serviceAccountUser",
1176
+ member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1177
+ logs_writer = gcp.projects.IAMMember("logs_writer",
1178
+ project=project.project_id,
1179
+ role="roles/logging.logWriter",
1180
+ member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1086
1181
  ```
1087
1182
  ### Cloudbuild Trigger Include Build Logs
1088
1183
 
@@ -1091,16 +1186,17 @@ class Trigger(pulumi.CustomResource):
1091
1186
  import pulumi_gcp as gcp
1092
1187
 
1093
1188
  include_build_logs_trigger = gcp.cloudbuild.Trigger("include-build-logs-trigger",
1189
+ location="us-central1",
1190
+ name="include-build-logs-trigger",
1094
1191
  filename="cloudbuild.yaml",
1095
1192
  github=gcp.cloudbuild.TriggerGithubArgs(
1096
- name="terraform-provider-google-beta",
1097
1193
  owner="hashicorp",
1194
+ name="terraform-provider-google-beta",
1098
1195
  push=gcp.cloudbuild.TriggerGithubPushArgs(
1099
1196
  branch="^main$",
1100
1197
  ),
1101
1198
  ),
1102
- include_build_logs="INCLUDE_BUILD_LOGS_WITH_STATUS",
1103
- location="us-central1")
1199
+ include_build_logs="INCLUDE_BUILD_LOGS_WITH_STATUS")
1104
1200
  ```
1105
1201
  ### Cloudbuild Trigger Pubsub Config
1106
1202
 
@@ -1108,9 +1204,10 @@ class Trigger(pulumi.CustomResource):
1108
1204
  import pulumi
1109
1205
  import pulumi_gcp as gcp
1110
1206
 
1111
- mytopic = gcp.pubsub.Topic("mytopic")
1207
+ mytopic = gcp.pubsub.Topic("mytopic", name="my-topic")
1112
1208
  pubsub_config_trigger = gcp.cloudbuild.Trigger("pubsub-config-trigger",
1113
1209
  location="us-central1",
1210
+ name="pubsub-trigger",
1114
1211
  description="acceptance test example pubsub build trigger",
1115
1212
  pubsub_config=gcp.cloudbuild.TriggerPubsubConfigArgs(
1116
1213
  topic=mytopic.id,
@@ -1137,7 +1234,7 @@ class Trigger(pulumi.CustomResource):
1137
1234
  import pulumi
1138
1235
  import pulumi_gcp as gcp
1139
1236
 
1140
- webhook_trigger_secret_key = gcp.secretmanager.Secret("webhookTriggerSecretKey",
1237
+ webhook_trigger_secret_key = gcp.secretmanager.Secret("webhook_trigger_secret_key",
1141
1238
  secret_id="webhook-trigger-secret-key",
1142
1239
  replication=gcp.secretmanager.SecretReplicationArgs(
1143
1240
  user_managed=gcp.secretmanager.SecretReplicationUserManagedArgs(
@@ -1146,7 +1243,7 @@ class Trigger(pulumi.CustomResource):
1146
1243
  )],
1147
1244
  ),
1148
1245
  ))
1149
- webhook_trigger_secret_key_data = gcp.secretmanager.SecretVersion("webhookTriggerSecretKeyData",
1246
+ webhook_trigger_secret_key_data = gcp.secretmanager.SecretVersion("webhook_trigger_secret_key_data",
1150
1247
  secret=webhook_trigger_secret_key.id,
1151
1248
  secret_data="secretkeygoeshere")
1152
1249
  project = gcp.organizations.get_project()
@@ -1159,6 +1256,7 @@ class Trigger(pulumi.CustomResource):
1159
1256
  secret_id=webhook_trigger_secret_key.secret_id,
1160
1257
  policy_data=secret_accessor.policy_data)
1161
1258
  webhook_config_trigger = gcp.cloudbuild.Trigger("webhook-config-trigger",
1259
+ name="webhook-trigger",
1162
1260
  description="acceptance test example webhook build trigger",
1163
1261
  webhook_config=gcp.cloudbuild.TriggerWebhookConfigArgs(
1164
1262
  secret=webhook_trigger_secret_key_data.id,
@@ -1182,19 +1280,20 @@ class Trigger(pulumi.CustomResource):
1182
1280
  import pulumi_gcp as gcp
1183
1281
 
1184
1282
  manual_trigger = gcp.cloudbuild.Trigger("manual-trigger",
1185
- approval_config=gcp.cloudbuild.TriggerApprovalConfigArgs(
1186
- approval_required=True,
1283
+ name="manual-trigger",
1284
+ source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1285
+ uri="https://hashicorp/terraform-provider-google-beta",
1286
+ ref="refs/heads/main",
1287
+ repo_type="GITHUB",
1187
1288
  ),
1188
1289
  git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1189
1290
  path="cloudbuild.yaml",
1190
- repo_type="GITHUB",
1191
- revision="refs/heads/main",
1192
1291
  uri="https://hashicorp/terraform-provider-google-beta",
1193
- ),
1194
- source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1195
- ref="refs/heads/main",
1292
+ revision="refs/heads/main",
1196
1293
  repo_type="GITHUB",
1197
- uri="https://hashicorp/terraform-provider-google-beta",
1294
+ ),
1295
+ approval_config=gcp.cloudbuild.TriggerApprovalConfigArgs(
1296
+ approval_required=True,
1198
1297
  ))
1199
1298
  ```
1200
1299
  ### Cloudbuild Trigger Manual Github Enterprise
@@ -1204,18 +1303,19 @@ class Trigger(pulumi.CustomResource):
1204
1303
  import pulumi_gcp as gcp
1205
1304
 
1206
1305
  manual_ghe_trigger = gcp.cloudbuild.Trigger("manual-ghe-trigger",
1207
- git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1208
- github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
1209
- path="cloudbuild.yaml",
1210
- repo_type="GITHUB",
1211
- revision="refs/heads/main",
1212
- uri="https://hashicorp/terraform-provider-google-beta",
1213
- ),
1306
+ name="",
1214
1307
  source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1215
- github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
1308
+ uri="https://hashicorp/terraform-provider-google-beta",
1216
1309
  ref="refs/heads/main",
1217
1310
  repo_type="GITHUB",
1311
+ github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
1312
+ ),
1313
+ git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1314
+ path="cloudbuild.yaml",
1218
1315
  uri="https://hashicorp/terraform-provider-google-beta",
1316
+ revision="refs/heads/main",
1317
+ repo_type="GITHUB",
1318
+ github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
1219
1319
  ))
1220
1320
  ```
1221
1321
  ### Cloudbuild Trigger Manual Bitbucket Server
@@ -1225,18 +1325,19 @@ class Trigger(pulumi.CustomResource):
1225
1325
  import pulumi_gcp as gcp
1226
1326
 
1227
1327
  manual_bitbucket_trigger = gcp.cloudbuild.Trigger("manual-bitbucket-trigger",
1228
- git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1229
- bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
1230
- path="cloudbuild.yaml",
1231
- repo_type="BITBUCKET_SERVER",
1232
- revision="refs/heads/main",
1233
- uri="https://bbs.com/scm/stag/test-repo.git",
1234
- ),
1328
+ name="terraform-manual-bbs-trigger",
1235
1329
  source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1236
- bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
1330
+ uri="https://bbs.com/scm/stag/test-repo.git",
1237
1331
  ref="refs/heads/main",
1238
1332
  repo_type="BITBUCKET_SERVER",
1333
+ bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
1334
+ ),
1335
+ git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1336
+ path="cloudbuild.yaml",
1239
1337
  uri="https://bbs.com/scm/stag/test-repo.git",
1338
+ revision="refs/heads/main",
1339
+ repo_type="BITBUCKET_SERVER",
1340
+ bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
1240
1341
  ))
1241
1342
  ```
1242
1343
  ### Cloudbuild Trigger Repo
@@ -1247,6 +1348,7 @@ class Trigger(pulumi.CustomResource):
1247
1348
 
1248
1349
  my_connection = gcp.cloudbuildv2.Connection("my-connection",
1249
1350
  location="us-central1",
1351
+ name="my-connection",
1250
1352
  github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
1251
1353
  app_installation_id=123123,
1252
1354
  authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
@@ -1254,6 +1356,7 @@ class Trigger(pulumi.CustomResource):
1254
1356
  ),
1255
1357
  ))
1256
1358
  my_repository = gcp.cloudbuildv2.Repository("my-repository",
1359
+ name="my-repo",
1257
1360
  parent_connection=my_connection.id,
1258
1361
  remote_uri="https://github.com/myuser/my-repo.git")
1259
1362
  repo_trigger = gcp.cloudbuild.Trigger("repo-trigger",
@@ -1273,17 +1376,18 @@ class Trigger(pulumi.CustomResource):
1273
1376
  import pulumi_gcp as gcp
1274
1377
 
1275
1378
  bbs_push_trigger = gcp.cloudbuild.Trigger("bbs-push-trigger",
1379
+ name="bbs-push-trigger",
1380
+ location="us-central1",
1276
1381
  bitbucket_server_trigger_config=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigArgs(
1277
- bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
1382
+ repo_slug="bbs-push-trigger",
1278
1383
  project_key="STAG",
1384
+ bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
1279
1385
  push=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigPushArgs(
1280
- invert_regex=True,
1281
1386
  tag="^0.1.*",
1387
+ invert_regex=True,
1282
1388
  ),
1283
- repo_slug="bbs-push-trigger",
1284
1389
  ),
1285
- filename="cloudbuild.yaml",
1286
- location="us-central1")
1390
+ filename="cloudbuild.yaml")
1287
1391
  ```
1288
1392
  ### Cloudbuild Trigger Bitbucket Server Pull Request
1289
1393
 
@@ -1292,18 +1396,19 @@ class Trigger(pulumi.CustomResource):
1292
1396
  import pulumi_gcp as gcp
1293
1397
 
1294
1398
  bbs_pull_request_trigger = gcp.cloudbuild.Trigger("bbs-pull-request-trigger",
1399
+ name="ghe-trigger",
1400
+ location="us-central1",
1295
1401
  bitbucket_server_trigger_config=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigArgs(
1296
- bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
1402
+ repo_slug="terraform-provider-google",
1297
1403
  project_key="STAG",
1404
+ bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
1298
1405
  pull_request=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigPullRequestArgs(
1299
1406
  branch="^master$",
1300
- comment_control="COMMENTS_ENABLED",
1301
1407
  invert_regex=False,
1408
+ comment_control="COMMENTS_ENABLED",
1302
1409
  ),
1303
- repo_slug="terraform-provider-google",
1304
1410
  ),
1305
- filename="cloudbuild.yaml",
1306
- location="us-central1")
1411
+ filename="cloudbuild.yaml")
1307
1412
  ```
1308
1413
  ### Cloudbuild Trigger Github Enterprise
1309
1414
 
@@ -1312,16 +1417,172 @@ class Trigger(pulumi.CustomResource):
1312
1417
  import pulumi_gcp as gcp
1313
1418
 
1314
1419
  ghe_trigger = gcp.cloudbuild.Trigger("ghe-trigger",
1315
- filename="cloudbuild.yaml",
1420
+ name="ghe-trigger",
1421
+ location="us-central1",
1316
1422
  github=gcp.cloudbuild.TriggerGithubArgs(
1317
- enterprise_config_resource_name="projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
1318
- name="terraform-provider-google",
1319
1423
  owner="hashicorp",
1424
+ name="terraform-provider-google",
1320
1425
  push=gcp.cloudbuild.TriggerGithubPushArgs(
1321
1426
  branch="^main$",
1322
1427
  ),
1428
+ enterprise_config_resource_name="projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
1323
1429
  ),
1324
- location="us-central1")
1430
+ filename="cloudbuild.yaml")
1431
+ ```
1432
+ ### Cloudbuild Trigger Allow Failure
1433
+
1434
+ ```python
1435
+ import pulumi
1436
+ import pulumi_gcp as gcp
1437
+
1438
+ allow_failure_trigger = gcp.cloudbuild.Trigger("allow-failure-trigger",
1439
+ name="my-trigger",
1440
+ location="global",
1441
+ trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1442
+ branch_name="main",
1443
+ repo_name="my-repo",
1444
+ ),
1445
+ build=gcp.cloudbuild.TriggerBuildArgs(
1446
+ steps=[gcp.cloudbuild.TriggerBuildStepArgs(
1447
+ name="ubuntu",
1448
+ args=[
1449
+ "-c",
1450
+ "exit 1",
1451
+ ],
1452
+ allow_failure=True,
1453
+ )],
1454
+ source=gcp.cloudbuild.TriggerBuildSourceArgs(
1455
+ storage_source=gcp.cloudbuild.TriggerBuildSourceStorageSourceArgs(
1456
+ bucket="mybucket",
1457
+ object="source_code.tar.gz",
1458
+ ),
1459
+ ),
1460
+ tags=[
1461
+ "build",
1462
+ "newFeature",
1463
+ ],
1464
+ substitutions={
1465
+ "_FOO": "bar",
1466
+ "_BAZ": "qux",
1467
+ },
1468
+ queue_ttl="20s",
1469
+ logs_bucket="gs://mybucket/logs",
1470
+ secrets=[gcp.cloudbuild.TriggerBuildSecretArgs(
1471
+ kms_key_name="projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
1472
+ secret_env={
1473
+ "PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
1474
+ },
1475
+ )],
1476
+ available_secrets=gcp.cloudbuild.TriggerBuildAvailableSecretsArgs(
1477
+ secret_managers=[gcp.cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs(
1478
+ env="MY_SECRET",
1479
+ version_name="projects/myProject/secrets/mySecret/versions/latest",
1480
+ )],
1481
+ ),
1482
+ artifacts=gcp.cloudbuild.TriggerBuildArtifactsArgs(
1483
+ images=["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
1484
+ objects=gcp.cloudbuild.TriggerBuildArtifactsObjectsArgs(
1485
+ location="gs://bucket/path/to/somewhere/",
1486
+ paths=["path"],
1487
+ ),
1488
+ ),
1489
+ options=gcp.cloudbuild.TriggerBuildOptionsArgs(
1490
+ source_provenance_hashes=["MD5"],
1491
+ requested_verify_option="VERIFIED",
1492
+ machine_type="N1_HIGHCPU_8",
1493
+ disk_size_gb=100,
1494
+ substitution_option="ALLOW_LOOSE",
1495
+ dynamic_substitutions=True,
1496
+ log_streaming_option="STREAM_OFF",
1497
+ worker_pool="pool",
1498
+ logging="LEGACY",
1499
+ envs=["ekey = evalue"],
1500
+ secret_envs=["secretenv = svalue"],
1501
+ volumes=[gcp.cloudbuild.TriggerBuildOptionsVolumeArgs(
1502
+ name="v1",
1503
+ path="v1",
1504
+ )],
1505
+ ),
1506
+ ))
1507
+ ```
1508
+ ### Cloudbuild Trigger Allow Exit Codes
1509
+
1510
+ ```python
1511
+ import pulumi
1512
+ import pulumi_gcp as gcp
1513
+
1514
+ allow_exit_codes_trigger = gcp.cloudbuild.Trigger("allow-exit-codes-trigger",
1515
+ name="my-trigger",
1516
+ location="global",
1517
+ trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1518
+ branch_name="main",
1519
+ repo_name="my-repo",
1520
+ ),
1521
+ build=gcp.cloudbuild.TriggerBuildArgs(
1522
+ steps=[gcp.cloudbuild.TriggerBuildStepArgs(
1523
+ name="ubuntu",
1524
+ args=[
1525
+ "-c",
1526
+ "exit 1",
1527
+ ],
1528
+ allow_exit_codes=[
1529
+ 1,
1530
+ 3,
1531
+ ],
1532
+ )],
1533
+ source=gcp.cloudbuild.TriggerBuildSourceArgs(
1534
+ storage_source=gcp.cloudbuild.TriggerBuildSourceStorageSourceArgs(
1535
+ bucket="mybucket",
1536
+ object="source_code.tar.gz",
1537
+ ),
1538
+ ),
1539
+ tags=[
1540
+ "build",
1541
+ "newFeature",
1542
+ ],
1543
+ substitutions={
1544
+ "_FOO": "bar",
1545
+ "_BAZ": "qux",
1546
+ },
1547
+ queue_ttl="20s",
1548
+ logs_bucket="gs://mybucket/logs",
1549
+ secrets=[gcp.cloudbuild.TriggerBuildSecretArgs(
1550
+ kms_key_name="projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
1551
+ secret_env={
1552
+ "PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
1553
+ },
1554
+ )],
1555
+ available_secrets=gcp.cloudbuild.TriggerBuildAvailableSecretsArgs(
1556
+ secret_managers=[gcp.cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs(
1557
+ env="MY_SECRET",
1558
+ version_name="projects/myProject/secrets/mySecret/versions/latest",
1559
+ )],
1560
+ ),
1561
+ artifacts=gcp.cloudbuild.TriggerBuildArtifactsArgs(
1562
+ images=["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
1563
+ objects=gcp.cloudbuild.TriggerBuildArtifactsObjectsArgs(
1564
+ location="gs://bucket/path/to/somewhere/",
1565
+ paths=["path"],
1566
+ ),
1567
+ ),
1568
+ options=gcp.cloudbuild.TriggerBuildOptionsArgs(
1569
+ source_provenance_hashes=["MD5"],
1570
+ requested_verify_option="VERIFIED",
1571
+ machine_type="N1_HIGHCPU_8",
1572
+ disk_size_gb=100,
1573
+ substitution_option="ALLOW_LOOSE",
1574
+ dynamic_substitutions=True,
1575
+ log_streaming_option="STREAM_OFF",
1576
+ worker_pool="pool",
1577
+ logging="LEGACY",
1578
+ envs=["ekey = evalue"],
1579
+ secret_envs=["secretenv = svalue"],
1580
+ volumes=[gcp.cloudbuild.TriggerBuildOptionsVolumeArgs(
1581
+ name="v1",
1582
+ path="v1",
1583
+ )],
1584
+ ),
1585
+ ))
1325
1586
  ```
1326
1587
  ### Cloudbuild Trigger Pubsub With Repo
1327
1588
 
@@ -1331,6 +1592,7 @@ class Trigger(pulumi.CustomResource):
1331
1592
 
1332
1593
  my_connection = gcp.cloudbuildv2.Connection("my-connection",
1333
1594
  location="us-central1",
1595
+ name="my-connection",
1334
1596
  github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
1335
1597
  app_installation_id=123123,
1336
1598
  authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
@@ -1338,10 +1600,12 @@ class Trigger(pulumi.CustomResource):
1338
1600
  ),
1339
1601
  ))
1340
1602
  my_repository = gcp.cloudbuildv2.Repository("my-repository",
1603
+ name="my-repo",
1341
1604
  parent_connection=my_connection.id,
1342
1605
  remote_uri="https://github.com/myuser/my-repo.git")
1343
- mytopic = gcp.pubsub.Topic("mytopic")
1606
+ mytopic = gcp.pubsub.Topic("mytopic", name="my-topic")
1344
1607
  pubsub_with_repo_trigger = gcp.cloudbuild.Trigger("pubsub-with-repo-trigger",
1608
+ name="pubsub-with-repo-trigger",
1345
1609
  location="us-central1",
1346
1610
  pubsub_config=gcp.cloudbuild.TriggerPubsubConfigArgs(
1347
1611
  topic=mytopic.id,
@@ -1490,15 +1754,114 @@ class Trigger(pulumi.CustomResource):
1490
1754
  import pulumi_gcp as gcp
1491
1755
 
1492
1756
  filename_trigger = gcp.cloudbuild.Trigger("filename-trigger",
1493
- filename="cloudbuild.yaml",
1494
1757
  location="us-central1",
1758
+ trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1759
+ branch_name="main",
1760
+ repo_name="my-repo",
1761
+ ),
1495
1762
  substitutions={
1496
- "_BAZ": "qux",
1497
1763
  "_FOO": "bar",
1764
+ "_BAZ": "qux",
1498
1765
  },
1766
+ filename="cloudbuild.yaml")
1767
+ ```
1768
+ ### Cloudbuild Trigger Build
1769
+
1770
+ ```python
1771
+ import pulumi
1772
+ import pulumi_gcp as gcp
1773
+
1774
+ build_trigger = gcp.cloudbuild.Trigger("build-trigger",
1775
+ name="my-trigger",
1776
+ location="global",
1499
1777
  trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1500
1778
  branch_name="main",
1501
1779
  repo_name="my-repo",
1780
+ ),
1781
+ build=gcp.cloudbuild.TriggerBuildArgs(
1782
+ steps=[
1783
+ gcp.cloudbuild.TriggerBuildStepArgs(
1784
+ name="gcr.io/cloud-builders/gsutil",
1785
+ args=[
1786
+ "cp",
1787
+ "gs://mybucket/remotefile.zip",
1788
+ "localfile.zip",
1789
+ ],
1790
+ timeout="120s",
1791
+ secret_envs=["MY_SECRET"],
1792
+ ),
1793
+ gcp.cloudbuild.TriggerBuildStepArgs(
1794
+ name="ubuntu",
1795
+ script="echo hello",
1796
+ ),
1797
+ ],
1798
+ source=gcp.cloudbuild.TriggerBuildSourceArgs(
1799
+ storage_source=gcp.cloudbuild.TriggerBuildSourceStorageSourceArgs(
1800
+ bucket="mybucket",
1801
+ object="source_code.tar.gz",
1802
+ ),
1803
+ ),
1804
+ tags=[
1805
+ "build",
1806
+ "newFeature",
1807
+ ],
1808
+ substitutions={
1809
+ "_FOO": "bar",
1810
+ "_BAZ": "qux",
1811
+ },
1812
+ queue_ttl="20s",
1813
+ logs_bucket="gs://mybucket/logs",
1814
+ secrets=[gcp.cloudbuild.TriggerBuildSecretArgs(
1815
+ kms_key_name="projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
1816
+ secret_env={
1817
+ "PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
1818
+ },
1819
+ )],
1820
+ available_secrets=gcp.cloudbuild.TriggerBuildAvailableSecretsArgs(
1821
+ secret_managers=[gcp.cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs(
1822
+ env="MY_SECRET",
1823
+ version_name="projects/myProject/secrets/mySecret/versions/latest",
1824
+ )],
1825
+ ),
1826
+ artifacts=gcp.cloudbuild.TriggerBuildArtifactsArgs(
1827
+ images=["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
1828
+ objects=gcp.cloudbuild.TriggerBuildArtifactsObjectsArgs(
1829
+ location="gs://bucket/path/to/somewhere/",
1830
+ paths=["path"],
1831
+ ),
1832
+ npm_packages=[gcp.cloudbuild.TriggerBuildArtifactsNpmPackageArgs(
1833
+ package_path="package.json",
1834
+ repository="https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo",
1835
+ )],
1836
+ python_packages=[gcp.cloudbuild.TriggerBuildArtifactsPythonPackageArgs(
1837
+ paths=["dist/*"],
1838
+ repository="https://us-west1-python.pkg.dev/myProject/quickstart-python-repo",
1839
+ )],
1840
+ maven_artifacts=[gcp.cloudbuild.TriggerBuildArtifactsMavenArtifactArgs(
1841
+ repository="https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo",
1842
+ path="/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar",
1843
+ artifact_id="my-app",
1844
+ group_id="com.mycompany.app",
1845
+ version="1.0",
1846
+ )],
1847
+ ),
1848
+ options=gcp.cloudbuild.TriggerBuildOptionsArgs(
1849
+ source_provenance_hashes=["MD5"],
1850
+ requested_verify_option="VERIFIED",
1851
+ machine_type="N1_HIGHCPU_8",
1852
+ disk_size_gb=100,
1853
+ substitution_option="ALLOW_LOOSE",
1854
+ dynamic_substitutions=True,
1855
+ log_streaming_option="STREAM_OFF",
1856
+ worker_pool="pool",
1857
+ logging="LEGACY",
1858
+ envs=["ekey = evalue"],
1859
+ secret_envs=["secretenv = svalue"],
1860
+ volumes=[gcp.cloudbuild.TriggerBuildOptionsVolumeArgs(
1861
+ name="v1",
1862
+ path="v1",
1863
+ )],
1864
+ ),
1502
1865
  ))
1503
1866
  ```
1504
1867
  ### Cloudbuild Trigger Service Account
@@ -1508,26 +1871,22 @@ class Trigger(pulumi.CustomResource):
1508
1871
  import pulumi_gcp as gcp
1509
1872
 
1510
1873
  project = gcp.organizations.get_project()
1511
- cloudbuild_service_account = gcp.serviceaccount.Account("cloudbuildServiceAccount", account_id="cloud-sa")
1512
- act_as = gcp.projects.IAMMember("actAs",
1513
- project=project.project_id,
1514
- role="roles/iam.serviceAccountUser",
1515
- member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1516
- logs_writer = gcp.projects.IAMMember("logsWriter",
1517
- project=project.project_id,
1518
- role="roles/logging.logWriter",
1519
- member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1874
+ cloudbuild_service_account = gcp.serviceaccount.Account("cloudbuild_service_account", account_id="cloud-sa")
1520
1875
  service_account_trigger = gcp.cloudbuild.Trigger("service-account-trigger",
1521
1876
  trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
1522
1877
  branch_name="main",
1523
1878
  repo_name="my-repo",
1524
1879
  ),
1525
1880
  service_account=cloudbuild_service_account.id,
1526
- filename="cloudbuild.yaml",
1527
- opts=pulumi.ResourceOptions(depends_on=[
1528
- act_as,
1529
- logs_writer,
1530
- ]))
1881
+ filename="cloudbuild.yaml")
1882
+ act_as = gcp.projects.IAMMember("act_as",
1883
+ project=project.project_id,
1884
+ role="roles/iam.serviceAccountUser",
1885
+ member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1886
+ logs_writer = gcp.projects.IAMMember("logs_writer",
1887
+ project=project.project_id,
1888
+ role="roles/logging.logWriter",
1889
+ member=cloudbuild_service_account.email.apply(lambda email: f"serviceAccount:{email}"))
1531
1890
  ```
1532
1891
  ### Cloudbuild Trigger Include Build Logs
1533
1892
 
@@ -1536,16 +1895,17 @@ class Trigger(pulumi.CustomResource):
1536
1895
  import pulumi_gcp as gcp
1537
1896
 
1538
1897
  include_build_logs_trigger = gcp.cloudbuild.Trigger("include-build-logs-trigger",
1898
+ location="us-central1",
1899
+ name="include-build-logs-trigger",
1539
1900
  filename="cloudbuild.yaml",
1540
1901
  github=gcp.cloudbuild.TriggerGithubArgs(
1541
- name="terraform-provider-google-beta",
1542
1902
  owner="hashicorp",
1903
+ name="terraform-provider-google-beta",
1543
1904
  push=gcp.cloudbuild.TriggerGithubPushArgs(
1544
1905
  branch="^main$",
1545
1906
  ),
1546
1907
  ),
1547
- include_build_logs="INCLUDE_BUILD_LOGS_WITH_STATUS",
1548
- location="us-central1")
1908
+ include_build_logs="INCLUDE_BUILD_LOGS_WITH_STATUS")
1549
1909
  ```
1550
1910
  ### Cloudbuild Trigger Pubsub Config
1551
1911
 
@@ -1553,9 +1913,10 @@ class Trigger(pulumi.CustomResource):
1553
1913
  import pulumi
1554
1914
  import pulumi_gcp as gcp
1555
1915
 
1556
- mytopic = gcp.pubsub.Topic("mytopic")
1916
+ mytopic = gcp.pubsub.Topic("mytopic", name="my-topic")
1557
1917
  pubsub_config_trigger = gcp.cloudbuild.Trigger("pubsub-config-trigger",
1558
1918
  location="us-central1",
1919
+ name="pubsub-trigger",
1559
1920
  description="acceptance test example pubsub build trigger",
1560
1921
  pubsub_config=gcp.cloudbuild.TriggerPubsubConfigArgs(
1561
1922
  topic=mytopic.id,
@@ -1582,7 +1943,7 @@ class Trigger(pulumi.CustomResource):
1582
1943
  import pulumi
1583
1944
  import pulumi_gcp as gcp
1584
1945
 
1585
- webhook_trigger_secret_key = gcp.secretmanager.Secret("webhookTriggerSecretKey",
1946
+ webhook_trigger_secret_key = gcp.secretmanager.Secret("webhook_trigger_secret_key",
1586
1947
  secret_id="webhook-trigger-secret-key",
1587
1948
  replication=gcp.secretmanager.SecretReplicationArgs(
1588
1949
  user_managed=gcp.secretmanager.SecretReplicationUserManagedArgs(
@@ -1591,7 +1952,7 @@ class Trigger(pulumi.CustomResource):
1591
1952
  )],
1592
1953
  ),
1593
1954
  ))
1594
- webhook_trigger_secret_key_data = gcp.secretmanager.SecretVersion("webhookTriggerSecretKeyData",
1955
+ webhook_trigger_secret_key_data = gcp.secretmanager.SecretVersion("webhook_trigger_secret_key_data",
1595
1956
  secret=webhook_trigger_secret_key.id,
1596
1957
  secret_data="secretkeygoeshere")
1597
1958
  project = gcp.organizations.get_project()
@@ -1604,6 +1965,7 @@ class Trigger(pulumi.CustomResource):
1604
1965
  secret_id=webhook_trigger_secret_key.secret_id,
1605
1966
  policy_data=secret_accessor.policy_data)
1606
1967
  webhook_config_trigger = gcp.cloudbuild.Trigger("webhook-config-trigger",
1968
+ name="webhook-trigger",
1607
1969
  description="acceptance test example webhook build trigger",
1608
1970
  webhook_config=gcp.cloudbuild.TriggerWebhookConfigArgs(
1609
1971
  secret=webhook_trigger_secret_key_data.id,
@@ -1627,19 +1989,20 @@ class Trigger(pulumi.CustomResource):
1627
1989
  import pulumi_gcp as gcp
1628
1990
 
1629
1991
  manual_trigger = gcp.cloudbuild.Trigger("manual-trigger",
1630
- approval_config=gcp.cloudbuild.TriggerApprovalConfigArgs(
1631
- approval_required=True,
1992
+ name="manual-trigger",
1993
+ source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1994
+ uri="https://hashicorp/terraform-provider-google-beta",
1995
+ ref="refs/heads/main",
1996
+ repo_type="GITHUB",
1632
1997
  ),
1633
1998
  git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1634
1999
  path="cloudbuild.yaml",
1635
- repo_type="GITHUB",
1636
- revision="refs/heads/main",
1637
2000
  uri="https://hashicorp/terraform-provider-google-beta",
1638
- ),
1639
- source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1640
- ref="refs/heads/main",
2001
+ revision="refs/heads/main",
1641
2002
  repo_type="GITHUB",
1642
- uri="https://hashicorp/terraform-provider-google-beta",
2003
+ ),
2004
+ approval_config=gcp.cloudbuild.TriggerApprovalConfigArgs(
2005
+ approval_required=True,
1643
2006
  ))
1644
2007
  ```
1645
2008
  ### Cloudbuild Trigger Manual Github Enterprise
@@ -1649,18 +2012,19 @@ class Trigger(pulumi.CustomResource):
1649
2012
  import pulumi_gcp as gcp
1650
2013
 
1651
2014
  manual_ghe_trigger = gcp.cloudbuild.Trigger("manual-ghe-trigger",
1652
- git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1653
- github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
1654
- path="cloudbuild.yaml",
1655
- repo_type="GITHUB",
1656
- revision="refs/heads/main",
1657
- uri="https://hashicorp/terraform-provider-google-beta",
1658
- ),
2015
+ name="",
1659
2016
  source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1660
- github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
2017
+ uri="https://hashicorp/terraform-provider-google-beta",
1661
2018
  ref="refs/heads/main",
1662
2019
  repo_type="GITHUB",
2020
+ github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
2021
+ ),
2022
+ git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
2023
+ path="cloudbuild.yaml",
1663
2024
  uri="https://hashicorp/terraform-provider-google-beta",
2025
+ revision="refs/heads/main",
2026
+ repo_type="GITHUB",
2027
+ github_enterprise_config="projects/myProject/locations/global/githubEnterpriseConfigs/configID",
1664
2028
  ))
1665
2029
  ```
1666
2030
  ### Cloudbuild Trigger Manual Bitbucket Server
@@ -1670,18 +2034,19 @@ class Trigger(pulumi.CustomResource):
1670
2034
  import pulumi_gcp as gcp
1671
2035
 
1672
2036
  manual_bitbucket_trigger = gcp.cloudbuild.Trigger("manual-bitbucket-trigger",
1673
- git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
1674
- bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
1675
- path="cloudbuild.yaml",
1676
- repo_type="BITBUCKET_SERVER",
1677
- revision="refs/heads/main",
1678
- uri="https://bbs.com/scm/stag/test-repo.git",
1679
- ),
2037
+ name="terraform-manual-bbs-trigger",
1680
2038
  source_to_build=gcp.cloudbuild.TriggerSourceToBuildArgs(
1681
- bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
2039
+ uri="https://bbs.com/scm/stag/test-repo.git",
1682
2040
  ref="refs/heads/main",
1683
2041
  repo_type="BITBUCKET_SERVER",
2042
+ bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
2043
+ ),
2044
+ git_file_source=gcp.cloudbuild.TriggerGitFileSourceArgs(
2045
+ path="cloudbuild.yaml",
1684
2046
  uri="https://bbs.com/scm/stag/test-repo.git",
2047
+ revision="refs/heads/main",
2048
+ repo_type="BITBUCKET_SERVER",
2049
+ bitbucket_server_config="projects/myProject/locations/global/bitbucketServerConfigs/configID",
1685
2050
  ))
1686
2051
  ```
1687
2052
  ### Cloudbuild Trigger Repo
@@ -1692,6 +2057,7 @@ class Trigger(pulumi.CustomResource):
1692
2057
 
1693
2058
  my_connection = gcp.cloudbuildv2.Connection("my-connection",
1694
2059
  location="us-central1",
2060
+ name="my-connection",
1695
2061
  github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
1696
2062
  app_installation_id=123123,
1697
2063
  authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
@@ -1699,6 +2065,7 @@ class Trigger(pulumi.CustomResource):
1699
2065
  ),
1700
2066
  ))
1701
2067
  my_repository = gcp.cloudbuildv2.Repository("my-repository",
2068
+ name="my-repo",
1702
2069
  parent_connection=my_connection.id,
1703
2070
  remote_uri="https://github.com/myuser/my-repo.git")
1704
2071
  repo_trigger = gcp.cloudbuild.Trigger("repo-trigger",
@@ -1718,17 +2085,18 @@ class Trigger(pulumi.CustomResource):
1718
2085
  import pulumi_gcp as gcp
1719
2086
 
1720
2087
  bbs_push_trigger = gcp.cloudbuild.Trigger("bbs-push-trigger",
2088
+ name="bbs-push-trigger",
2089
+ location="us-central1",
1721
2090
  bitbucket_server_trigger_config=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigArgs(
1722
- bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
2091
+ repo_slug="bbs-push-trigger",
1723
2092
  project_key="STAG",
2093
+ bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
1724
2094
  push=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigPushArgs(
1725
- invert_regex=True,
1726
2095
  tag="^0.1.*",
2096
+ invert_regex=True,
1727
2097
  ),
1728
- repo_slug="bbs-push-trigger",
1729
2098
  ),
1730
- filename="cloudbuild.yaml",
1731
- location="us-central1")
2099
+ filename="cloudbuild.yaml")
1732
2100
  ```
1733
2101
  ### Cloudbuild Trigger Bitbucket Server Pull Request
1734
2102
 
@@ -1737,18 +2105,19 @@ class Trigger(pulumi.CustomResource):
1737
2105
  import pulumi_gcp as gcp
1738
2106
 
1739
2107
  bbs_pull_request_trigger = gcp.cloudbuild.Trigger("bbs-pull-request-trigger",
2108
+ name="ghe-trigger",
2109
+ location="us-central1",
1740
2110
  bitbucket_server_trigger_config=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigArgs(
1741
- bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
2111
+ repo_slug="terraform-provider-google",
1742
2112
  project_key="STAG",
2113
+ bitbucket_server_config_resource="projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig",
1743
2114
  pull_request=gcp.cloudbuild.TriggerBitbucketServerTriggerConfigPullRequestArgs(
1744
2115
  branch="^master$",
1745
- comment_control="COMMENTS_ENABLED",
1746
2116
  invert_regex=False,
2117
+ comment_control="COMMENTS_ENABLED",
1747
2118
  ),
1748
- repo_slug="terraform-provider-google",
1749
2119
  ),
1750
- filename="cloudbuild.yaml",
1751
- location="us-central1")
2120
+ filename="cloudbuild.yaml")
1752
2121
  ```
1753
2122
  ### Cloudbuild Trigger Github Enterprise
1754
2123
 
@@ -1757,16 +2126,172 @@ class Trigger(pulumi.CustomResource):
1757
2126
  import pulumi_gcp as gcp
1758
2127
 
1759
2128
  ghe_trigger = gcp.cloudbuild.Trigger("ghe-trigger",
1760
- filename="cloudbuild.yaml",
2129
+ name="ghe-trigger",
2130
+ location="us-central1",
1761
2131
  github=gcp.cloudbuild.TriggerGithubArgs(
1762
- enterprise_config_resource_name="projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
1763
- name="terraform-provider-google",
1764
2132
  owner="hashicorp",
2133
+ name="terraform-provider-google",
1765
2134
  push=gcp.cloudbuild.TriggerGithubPushArgs(
1766
2135
  branch="^main$",
1767
2136
  ),
2137
+ enterprise_config_resource_name="projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID",
1768
2138
  ),
1769
- location="us-central1")
2139
+ filename="cloudbuild.yaml")
2140
+ ```
2141
+ ### Cloudbuild Trigger Allow Failure
2142
+
2143
+ ```python
2144
+ import pulumi
2145
+ import pulumi_gcp as gcp
2146
+
2147
+ allow_failure_trigger = gcp.cloudbuild.Trigger("allow-failure-trigger",
2148
+ name="my-trigger",
2149
+ location="global",
2150
+ trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
2151
+ branch_name="main",
2152
+ repo_name="my-repo",
2153
+ ),
2154
+ build=gcp.cloudbuild.TriggerBuildArgs(
2155
+ steps=[gcp.cloudbuild.TriggerBuildStepArgs(
2156
+ name="ubuntu",
2157
+ args=[
2158
+ "-c",
2159
+ "exit 1",
2160
+ ],
2161
+ allow_failure=True,
2162
+ )],
2163
+ source=gcp.cloudbuild.TriggerBuildSourceArgs(
2164
+ storage_source=gcp.cloudbuild.TriggerBuildSourceStorageSourceArgs(
2165
+ bucket="mybucket",
2166
+ object="source_code.tar.gz",
2167
+ ),
2168
+ ),
2169
+ tags=[
2170
+ "build",
2171
+ "newFeature",
2172
+ ],
2173
+ substitutions={
2174
+ "_FOO": "bar",
2175
+ "_BAZ": "qux",
2176
+ },
2177
+ queue_ttl="20s",
2178
+ logs_bucket="gs://mybucket/logs",
2179
+ secrets=[gcp.cloudbuild.TriggerBuildSecretArgs(
2180
+ kms_key_name="projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
2181
+ secret_env={
2182
+ "PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
2183
+ },
2184
+ )],
2185
+ available_secrets=gcp.cloudbuild.TriggerBuildAvailableSecretsArgs(
2186
+ secret_managers=[gcp.cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs(
2187
+ env="MY_SECRET",
2188
+ version_name="projects/myProject/secrets/mySecret/versions/latest",
2189
+ )],
2190
+ ),
2191
+ artifacts=gcp.cloudbuild.TriggerBuildArtifactsArgs(
2192
+ images=["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
2193
+ objects=gcp.cloudbuild.TriggerBuildArtifactsObjectsArgs(
2194
+ location="gs://bucket/path/to/somewhere/",
2195
+ paths=["path"],
2196
+ ),
2197
+ ),
2198
+ options=gcp.cloudbuild.TriggerBuildOptionsArgs(
2199
+ source_provenance_hashes=["MD5"],
2200
+ requested_verify_option="VERIFIED",
2201
+ machine_type="N1_HIGHCPU_8",
2202
+ disk_size_gb=100,
2203
+ substitution_option="ALLOW_LOOSE",
2204
+ dynamic_substitutions=True,
2205
+ log_streaming_option="STREAM_OFF",
2206
+ worker_pool="pool",
2207
+ logging="LEGACY",
2208
+ envs=["ekey = evalue"],
2209
+ secret_envs=["secretenv = svalue"],
2210
+ volumes=[gcp.cloudbuild.TriggerBuildOptionsVolumeArgs(
2211
+ name="v1",
2212
+ path="v1",
2213
+ )],
2214
+ ),
2215
+ ))
2216
+ ```
2217
+ ### Cloudbuild Trigger Allow Exit Codes
2218
+
2219
+ ```python
2220
+ import pulumi
2221
+ import pulumi_gcp as gcp
2222
+
2223
+ allow_exit_codes_trigger = gcp.cloudbuild.Trigger("allow-exit-codes-trigger",
2224
+ name="my-trigger",
2225
+ location="global",
2226
+ trigger_template=gcp.cloudbuild.TriggerTriggerTemplateArgs(
2227
+ branch_name="main",
2228
+ repo_name="my-repo",
2229
+ ),
2230
+ build=gcp.cloudbuild.TriggerBuildArgs(
2231
+ steps=[gcp.cloudbuild.TriggerBuildStepArgs(
2232
+ name="ubuntu",
2233
+ args=[
2234
+ "-c",
2235
+ "exit 1",
2236
+ ],
2237
+ allow_exit_codes=[
2238
+ 1,
2239
+ 3,
2240
+ ],
2241
+ )],
2242
+ source=gcp.cloudbuild.TriggerBuildSourceArgs(
2243
+ storage_source=gcp.cloudbuild.TriggerBuildSourceStorageSourceArgs(
2244
+ bucket="mybucket",
2245
+ object="source_code.tar.gz",
2246
+ ),
2247
+ ),
2248
+ tags=[
2249
+ "build",
2250
+ "newFeature",
2251
+ ],
2252
+ substitutions={
2253
+ "_FOO": "bar",
2254
+ "_BAZ": "qux",
2255
+ },
2256
+ queue_ttl="20s",
2257
+ logs_bucket="gs://mybucket/logs",
2258
+ secrets=[gcp.cloudbuild.TriggerBuildSecretArgs(
2259
+ kms_key_name="projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name",
2260
+ secret_env={
2261
+ "PASSWORD": "ZW5jcnlwdGVkLXBhc3N3b3JkCg==",
2262
+ },
2263
+ )],
2264
+ available_secrets=gcp.cloudbuild.TriggerBuildAvailableSecretsArgs(
2265
+ secret_managers=[gcp.cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs(
2266
+ env="MY_SECRET",
2267
+ version_name="projects/myProject/secrets/mySecret/versions/latest",
2268
+ )],
2269
+ ),
2270
+ artifacts=gcp.cloudbuild.TriggerBuildArtifactsArgs(
2271
+ images=["gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA"],
2272
+ objects=gcp.cloudbuild.TriggerBuildArtifactsObjectsArgs(
2273
+ location="gs://bucket/path/to/somewhere/",
2274
+ paths=["path"],
2275
+ ),
2276
+ ),
2277
+ options=gcp.cloudbuild.TriggerBuildOptionsArgs(
2278
+ source_provenance_hashes=["MD5"],
2279
+ requested_verify_option="VERIFIED",
2280
+ machine_type="N1_HIGHCPU_8",
2281
+ disk_size_gb=100,
2282
+ substitution_option="ALLOW_LOOSE",
2283
+ dynamic_substitutions=True,
2284
+ log_streaming_option="STREAM_OFF",
2285
+ worker_pool="pool",
2286
+ logging="LEGACY",
2287
+ envs=["ekey = evalue"],
2288
+ secret_envs=["secretenv = svalue"],
2289
+ volumes=[gcp.cloudbuild.TriggerBuildOptionsVolumeArgs(
2290
+ name="v1",
2291
+ path="v1",
2292
+ )],
2293
+ ),
2294
+ ))
1770
2295
  ```
1771
2296
  ### Cloudbuild Trigger Pubsub With Repo
1772
2297
 
@@ -1776,6 +2301,7 @@ class Trigger(pulumi.CustomResource):
1776
2301
 
1777
2302
  my_connection = gcp.cloudbuildv2.Connection("my-connection",
1778
2303
  location="us-central1",
2304
+ name="my-connection",
1779
2305
  github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
1780
2306
  app_installation_id=123123,
1781
2307
  authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
@@ -1783,10 +2309,12 @@ class Trigger(pulumi.CustomResource):
1783
2309
  ),
1784
2310
  ))
1785
2311
  my_repository = gcp.cloudbuildv2.Repository("my-repository",
2312
+ name="my-repo",
1786
2313
  parent_connection=my_connection.id,
1787
2314
  remote_uri="https://github.com/myuser/my-repo.git")
1788
- mytopic = gcp.pubsub.Topic("mytopic")
2315
+ mytopic = gcp.pubsub.Topic("mytopic", name="my-topic")
1789
2316
  pubsub_with_repo_trigger = gcp.cloudbuild.Trigger("pubsub-with-repo-trigger",
2317
+ name="pubsub-with-repo-trigger",
1790
2318
  location="us-central1",
1791
2319
  pubsub_config=gcp.cloudbuild.TriggerPubsubConfigArgs(
1792
2320
  topic=mytopic.id,