upload letter pdfs with retention tag

so we can delete them automatically with s3's lifecycle policy
This commit is contained in:
Leo Hemsted
2018-02-09 17:13:37 +00:00
parent 690a9c3022
commit 093e8083e0
5 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
# all jobs for letters created via the api must have this filename
LETTER_API_FILENAME = 'letter submitted via api'
LETTER_TEST_API_FILENAME = 'test letter submitted via api'
# S3 tags
class Retention:
KEY = 'retention'
ONE_WEEK = 'ONE_WEEK'