list/s3: fix upload for obfuscated file formats

This commit is contained in:
Iain Learmonth 2022-11-02 11:41:02 +00:00
parent acac383c01
commit 2e3fe165ef

View file

@ -38,7 +38,7 @@ class ListS3Automation(ListAutomation):
provider = aws.list_{{ list.id }} provider = aws.list_{{ list.id }}
bucket = "{{ list.container }}" bucket = "{{ list.container }}"
key = "{{ list.filename }}" key = "{{ list.filename }}"
source = "{{ list.format }}.json" source = "{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}"
content_type = "application/json" content_type = "application/json"
etag = filemd5("{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}") etag = filemd5("{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}")
} }