Skip to content

Commit

Permalink
fix key pair name - add user
Browse files Browse the repository at this point in the history
  • Loading branch information
jieru-hu committed Jan 19, 2021
1 parent abc5c64 commit f0bc5e0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ class RayProviderConf:
region: str = "us-west-2"
availability_zone: str = "us-west-2a,us-west-2b"
cache_stopped_nodes: bool = False
key_pair: Dict[str, str] = field(default_factory=lambda: {"key_name": "hydra"})
key_pair: Dict[str, str] = field(
default_factory=lambda: {"key_name": "hydra-${env:USER,me}"}
)


@dataclass
Expand Down

0 comments on commit f0bc5e0

Please sign in to comment.