Closed philmcmahon closed 8 years ago
Looks good to me :+1:
:-1: The sentiment here is correct, but this should only be done when the Lambda is running in PROD. If this was to happen in CODE and the lambda ran before the PROD one this would mean the crosswords would not be uploaded in PROD given they are using a shared bucket at current.
Two ways to fix this:
Thanks Luke! I did it the dirty way...
Lovely job :+1:
After a PDF/XML file has been successfully sent to the microapp/composer, copy all versions of it to the crossword-processed-files bucket, then delete it from the crossword-files-for-processing bucket
This should keep the 'files for processing' bucket clean and reduce the chances of something being republished on the wrong day.