I have an SQS queue that receives a message with the file name that has been created in a target bucket. The process to send the message is:
- csv file is inserted into
target_bucket. - A message is sent to an SNS topic.
- The SNS topic triggers a lambda function, and this lambda function posts a message into an SQS queue that includes the name of the file that was just created.
- To check is messages are arriving to my queue, I do a simple poll from the console.
I know all the components are working just fine because by polling from the AWS Web console I can see the messages. This is an example:
However, the intention is to connect this SQS queue to Matillion so every time a new file is uploaded into my target_bucket a job is executed. This job should read the data from the new file and load it into an SnowFlake table.
I have connected my SQS queue to my Matillion project but every time I load a new file into my target_bucket nothing happens. Here are the project configurations needed for SQS:
I know my queue has access to Matillion because as you can see from the final cell, I have a success message when testing the connection.
Also, I added an environment variable (from Project > Manage Environment Variables) called file_to_load:

And finally, in the S3 Load component (from my job), I also added the file_to_load in the pattern section as shown in the image below:


