mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[autoscaler][aws] Bump max keys per account (#27506)
Signed-off-by: Alex Wu <alex@anyscale.io> This is a minor QoL improvement to bump the hardcoded limit for number of aws keys per account. The limit is arbitrary and has been bumped before. AFAICT the fundamental aws limit is a 5000 key per region limit which we are not close to.
This commit is contained in:
parent
5298ee83b2
commit
eb9c5d8fa7
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ def _configure_key_pair(config):
|
|||
os.makedirs(os.path.expanduser("~/.ssh"), exist_ok=True)
|
||||
|
||||
# Try a few times to get or create a good key pair.
|
||||
MAX_NUM_KEYS = 30
|
||||
MAX_NUM_KEYS = 60
|
||||
for i in range(MAX_NUM_KEYS):
|
||||
|
||||
key_name = config["provider"].get("key_pair", {}).get("key_name")
|
||||
|
|
Loading…
Add table
Reference in a new issue