Skip to content

Commit a526cc6

Browse files
authored
Correct resource name conversion in test ticket creation (#15658)
1 parent dfc399d commit a526cc6

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.ci/magician/cmd/create_test_failure_ticket.go

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,23 @@ func init() {
523523
var (
524524
// TODO: add all mismatch resource names
525525
resourceNameConverter = map[string]string{
526-
"google_iam3_projects_policy_binding": "google_iam_projects_policy_binding",
527-
"google_iam3_organizations_policy_binding": "google_iam_organizations_policy_binding",
528-
"google_cloud_backup_dr_data_source": "google_backup_dr_data_source",
529-
"google_cloud_backup_dr_backup": "google_backup_dr_backup",
530-
"google_security_posture_posture_deployment": "google_securityposture_posture_deployment",
526+
"google_iam3_projects_policy_binding": "google_iam_projects_policy_binding",
527+
"google_iam3_organizations_policy_binding": "google_iam_organizations_policy_binding",
528+
"google_cloud_backup_dr_data_source": "google_backup_dr_data_source",
529+
"google_cloud_backup_dr_backup": "google_backup_dr_backup",
530+
"google_security_posture_posture_deployment": "google_securityposture_posture_deployment",
531+
"google_container_cluster_custom_service_account": "google_container_cluster",
532+
"iap_client": "google_iap_client",
533+
"compute_node_types": "google_compute_node_types",
534+
"google_big_query_table": "google_bigquery_table",
535+
"google_sql_user_fw": "google_fw_sql_user",
536+
"google_resource_fw_pubsub_lite_reservation": "google_fwprovider_pubsub_lite_reservation",
537+
"google_compute_router_bgp_peer": "google_compute_router_peer",
538+
"google_resource_manager3_capability": "google_resource_manager_capability",
539+
"google_datafusion_instance": "google_data_fusion_instance",
540+
"google_iam_beta_workload_identity_pool_iam_policy": "google_iam_workload_identity_pool_iam_policy",
541+
"google_resource_google_project_default_service_accounts_disable": "google_project_default_service_accounts",
542+
"google_datasource_google_service_networking_peered_dns_domain": "google_service_networking_peered_dns_domain",
543+
"google_resource_google_project_default_service_accounts_delete": "google_project_default_service_accounts",
531544
}
532545
)

0 commit comments

Comments
 (0)