Skip to content

Commit 5b1f3bb

Browse files
authored
Update boto, enable Sigv4 in Pretix (#4424)
1 parent 2611f20 commit 5b1f3bb

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

infrastructure/applications/pretix/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ resource "aws_ecs_task_definition" "pretix" {
154154
{
155155
name = "AWS_S3_REGION_NAME",
156156
value = "eu-central-1"
157+
},
158+
{
159+
name = "AWS_REQUEST_CHECKSUM_CALCULATION",
160+
value = "WHEN_REQUIRED"
161+
},
162+
{
163+
name = "AWS_RESPONSE_CHECKSUM_VALIDATION",
164+
value = "WHEN_REQUIRED"
157165
}
158166
]
159167
portMappings = [

pretix/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM ghcr.io/pythonitalia/pycon/base-pretix:v2025.5.0
22

33
COPY ./settings.py /pretix/src/production_settings.py
44

5-
RUN pip install boto3==1.35.14 \
6-
django-storages==1.14.4 \
5+
RUN pip install boto3==1.38.36 \
6+
django-storages==1.14.6 \
77
pretix-plugin-extended-api==0.1.14 \
88
pretix-plugin-attendance-certificate==0.1.11 \
99
pretix-fattura-elettronica==0.2.16 \

pretix/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@
2323
}
2424

2525
AWS_STORAGE_BUCKET_NAME = config.get("pycon", "media_bucket_name", fallback="")
26+
S3_USE_SIGV4 = True

0 commit comments

Comments
 (0)