From dafe4ab2cc268ee4366d217b0978a2575c4fb43f Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Mon, 26 Aug 2024 10:06:17 +0100 Subject: [PATCH] Ensure full count of EFS AccessPoints Make sure the right EFS filesystem is picked --- lib/aws-efs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/aws-efs.js b/lib/aws-efs.js index 3aecf44..414ad0b 100644 --- a/lib/aws-efs.js +++ b/lib/aws-efs.js @@ -31,7 +31,8 @@ async function lookupStorageClass (tagName) { if (found) { // console.log(storageClass) const apParams = { - FileSystemId: fsList.FileSystems[i].FileSystemId + FileSystemId: fsList.FileSystems[i].FileSystemId, + MaxResults: 999 } // console.log(apParams) const apListCommand = new DescribeAccessPointsCommand(apParams) @@ -51,4 +52,4 @@ async function lookupStorageClass (tagName) { module.exports = { lookupStorageClass -} \ No newline at end of file +}