Shopify: Edit variants based on a CSV file

Hey everyone

I have CSV file which contains specific variant SKUs of a Shopify store + a value that should be changed for these exact variants.

My goal is to change only the variants that are present in the csv file. Now the issue is that there might be a lot of products / variants in the store and I want to create an efficient scenario to use as little operations as possible.

This is the scenario so far:

This is the CSV data:

This is what the Shopify module puts out:

The variant data is stored in another array. When I use an iterator it will loop through all products and variants and therefore consume a lot of operations.

Any help / suggestions how to go forward from here and map only the SKUs that are present in the CSV file?

Appreciate any help!

Best regards
Mark