Amazon AWS - LB Service (LP) Pattern: Fails Due to LoadBalancerArn contains "null" Causing Missing DependenciesIssue 1.During the execution of the Amazon AWS - LB Service (LP) discovery pattern, the following error was observed: MISSING_DEPENDENCY: In payload no relations defined for dependent class [cmdb_ci_lb_service] that matches any containment/hosting rules: [cmdb_ci_lb_service >> Runs on >> cmdb_ci_avi_controller_cluster, cmdb_ci_lb_service >> Hosted on >> cmdb_ci_cloud_load_balancer, ...]ReleaseAny releaseCauseOn analyzing the pattern execution, it was observed that steps 10 and 12 were not executed successfully in the failing run: Step 10 – Fill cmdb_ci_cloud_load_balancer setAttribute(cmdb_ci_cloud_load_balancer, []) Execution time: 0 ms Step 12 – Create relation between LB Service and LB setAttribute(lb_service_to_lb_relation, []) setAttribute(lb_service_to_lb_reference, []) Execution time: 0 ms The failure in these steps was traced back to invalid LoadBalancerArn and ListenerArn values returned in Step 4 (Get Listeners), where the ARNs contained the string null within them. Example could be as below: arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-app-null-loadbalancer/abcde12345fghij67 This malformed ARN value resulted in: -lb_native_key being populated with the null-containing string. -The pattern logic excluding these entries during parsing. -No data passed into step 10, and therefore no relationships created in step 12. Because of this, the dependent class cmdb_ci_lb_service had no valid parent relationship in the payload, triggering the MISSING_DEPENDENCY error.ResolutionThis issue occurs when the Load Balancer ARN returned during discovery contains "null" in its structure. The discovery pattern skips such entries, preventing the creation of required relationships and leading to a MISSING_DEPENDENCY error. To resolve this, ensure that the AWS Load Balancer ARN is correctly formed and does not include "null" in any part of the name. Engage your AWS team to correct the ARN format and re-run the discovery.