Skip to content

Commit

Permalink
adding in default region
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Dec 7, 2022
1 parent 52325f4 commit d03e0d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws_pcluster_helpers/models/sinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
from pydantic import BaseModel
from pydantic import validator
from rich.table import Table
import os

if not os.environ.get('AWS_DEFAULT_REGION'):
os.environ['AWS_DEFAULT_REGION'] = 'us-east-1'

logger = setup_logger(logger_name="sinfo")

Expand Down

0 comments on commit d03e0d3

Please sign in to comment.