lab4: S3 attachments (Silo), negative tests, cleanup-job, limited S3 credentials (grade 4)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import socket
|
||||
import uuid
|
||||
|
||||
INSTANCE_ID: str = (
|
||||
os.environ.get("INSTANCE_ID")
|
||||
or socket.gethostname()
|
||||
or uuid.uuid4().hex[:8]
|
||||
)
|
||||
Reference in New Issue
Block a user