self.var1 = os.env["VARIABLE1"]
self.var2 = os.env["VARIABLE2"]
# ...
self.varN = os.env["VARIABLEN"]
def get_variables(self):
return self.var1, self.var2, ..., self.varN
They took 2 months to write an insanely complcated code to just copy few objects from an S3 bucket to another... And because the Lambda was timing out, they set the timeout to 15 minutes, leading to our Lambda costs skyrocketing because the function was failing/retrying all the time for some objects.
Where are you based ?