Skip to content

Commit

Permalink
Add urllib3 import and disable SSL verification warnings; update requ…
Browse files Browse the repository at this point in the history
…irements.txt to remove outdated dependencies
  • Loading branch information
Dave Arnold committed Apr 23, 2025
1 parent d4e2fdc commit 263a142
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions eks_automation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@
import time
import requests
import json
import urllib3
from urllib.parse import urlparse
from datetime import datetime
import traceback

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.
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 263a142

Please sign in to comment.