Skip to content

Commit

Permalink
fix key pair name - add user (facebookresearch#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jieru-hu committed Jan 23, 2021
1 parent 98c2795 commit 207b2b7
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 207b2b7

Please sign in to comment.