GCP Service Graph - Deletion of VM instance

Fosi
Tera Contributor

I just setup GCP Service graph connector in our instance and the connection is working as expected. 

 

One issue that i noticed is when VM instance is created, VM instance, storage and block endpoint is created

gcp1.JPGgcp2.JPG

 

But, when the VM is deleted at the GCP console, only the VM instance is terminated in ServiceNow. Other artifact (storage volume and block resource endpoint) are all active and operational in ServiceNow.

 

Is there anything OOB rules or functionality that automatically cascade the  status of the VM instance to all associated artifact for GCP?

gcp3.JPGgcp4.JPG

Do we need to create a cascade business rule to delete all related objects.

 

N.B

I believed this issue is relevant to all Service graph related connector. Deletion strategy doesnt seems to be an option here. 

@Murali Reddy1 

1 REPLY 1

Rick Mann
Tera Expert

Hello - Did you ever find a solution for this issue? I had added a BR to prevent the insert of the Block endpoint records since the class would keeping growing. Thanks.