Skip to content

Commit

Permalink
fix availability zones
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Mar 29, 2024
1 parent 436dab7 commit 283150f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_nebari/stages/infrastructure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _check_input(cls, data: Any) -> Any:
# check if availability zones are valid
available_zones = amazon_web_services.zones(data["region"])
if "availability_zones" not in data:
data["availability_zones"] = available_zones
data["availability_zones"] = list(sorted(available_zones))[:2]
else:
for zone in data["availability_zones"]:
if zone not in available_zones:
Expand Down

0 comments on commit 283150f

Please sign in to comment.