docs: private String getASGAccount(String asgName) {
          Applications apps = registry.getApplicationsFromLocalRegionOnly();
  
          for (Application app : apps.getRegisteredApplications()) {
              for (InstanceInfo instanceInfo : app.getInstances()) {
                  String thisAsgName = instanceInfo.getASGName();
                  if (thisAsgName != null && thisAsgName.equals(asgName)) {
                      String localAccountId = getAccountId(instanceInfo, null);
                      if (localAccountId != null) {
                          return localAccountId;
                      }
                  }
              }
          }
  
          logger.info("Couldn't get the ASG account for {}, using the default accountId instead", asgName);
          return accountId;
      }