def METHOD_NAME(self):
    if self._status is LoginNodesPoolState.ACTIVE:
        try:
            target_groups = AWSApi.instance().elb.describe_target_groups(self._load_balancer_arn)
            if target_groups:
                self._target_group_arn = target_groups[0].get("TargetGroupArn")
        except Exception as e:
            LOGGER.warning(
                "Failed when retrieving target_groups with error %s. "
                "This is expected if login nodes pool creation/deletion is in progress",
                e,
            )