Tag-Based Service Mapping - Traversal Rules

BenzChua31
Tera Contributor

Context:
I have a Dependency Map for this ECS Service. 

BenzChua31_0-1690435497680.png



Question: 
How can I use Traversal Rules to show a direct relationship between ECS Service and Cloud Load Balancer? This means I want to remove AWS Datacenter and Availability Zone from the service map. Is there any way to do so?

Reason: 
By definition of application service, I want to only include compute, load balancers, api gateways only. I want to avoid modifying the OOB pattern (adding a "Create Relation" step). I also want to avoid modifying the OOB dependent relationships. 

Assumptions:
Tags have not been applied on the Cloud Load Balancer. (This is because ElasticLoadBalancing:DescribeTags is limited to 20 resources per call... and it will require customization in order to get the tags. 

 

1 ACCEPTED SOLUTION

Niklas Peterson
Mega Sage
Mega Sage

Hi,

Traversal Rules uses CI relationships to bring in CIs related to a tagged CI. Which means the related CI doesn't have to be tagged to be contained in the Application Service. The rule defintion contains the parent class, the relationship type and the child class to be used to identifed the CIs to be captured.

This means the tagged CI needs to have a direct relationship with the other CI and cannot be separated by multple levels. You need to create the CI relationship before the traversal rule can be used.

Regards,
Niklas

View solution in original post

1 REPLY 1

Niklas Peterson
Mega Sage
Mega Sage

Hi,

Traversal Rules uses CI relationships to bring in CIs related to a tagged CI. Which means the related CI doesn't have to be tagged to be contained in the Application Service. The rule defintion contains the parent class, the relationship type and the child class to be used to identifed the CIs to be captured.

This means the tagged CI needs to have a direct relationship with the other CI and cannot be separated by multple levels. You need to create the CI relationship before the traversal rule can be used.

Regards,
Niklas