mirror of
https://github.com/aljazceru/IngestRSS.git
synced 2026-02-21 06:04:24 +01:00
FIXED pillow python version issue.
This commit is contained in:
@@ -128,7 +128,9 @@ def create_function(lambda_client, function_name, runtime, role, handler, zip_fi
|
||||
raise
|
||||
|
||||
def get_pillow_layer_arn():
|
||||
url = f"https://api.klayers.cloud/api/v2/p3.11/layers/latest/{os.getenv('AWS_REGION')}/json"
|
||||
|
||||
|
||||
url = f"https://api.klayers.cloud/api/v2/p{os.getenv('PYTHON_VERSION')}/layers/latest/{os.getenv('AWS_REGION')}/json"
|
||||
try:
|
||||
response = requests.get(url)
|
||||
response.raise_for_status()
|
||||
|
||||
Reference in New Issue
Block a user