Skip to content

Commit

Permalink
fix key pair name - add user (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jieru-hu committed Jan 27, 2021
1 parent f90dd82 commit 4b08750
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -59,7 +59,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,user}"}
)


@dataclass
Expand Down

0 comments on commit 4b08750

Please sign in to comment.