diff --git a/eks_automation/app.py b/eks_automation/app.py index 9f49bd6..a839329 100644 --- a/eks_automation/app.py +++ b/eks_automation/app.py @@ -13,6 +13,7 @@ import time import requests import json +import urllib3 from urllib.parse import urlparse from datetime import datetime import traceback @@ -20,6 +21,9 @@ import boto3 from botocore.exceptions import ClientError +# Disable SSL verification warnings +urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) + # Initialize the logger logger = logging.getLogger() logger.setLevel("INFO") # Set to "ERROR" to reduce logging messages. diff --git a/requirements.txt b/requirements.txt index 0a7dd9f..0f3d269 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ -boto3>=1.34.0 -botocore>=1.34.0 requests>=2.31.0 +urllib3>=2.0.0 +boto3>=1.28.0 +botocore>=1.31.0