Add docs explaining key name in environment

This commit is contained in:
MKLeb 2023-08-04 14:45:02 -04:00 committed by Pedro Algarvio
parent a98d31775f
commit 3f3610f670

View file

@ -78,7 +78,7 @@ vm.add_argument("--region", help="The AWS region.", default=AWS_REGION)
"choices": list(AMIS),
},
"key_name": {
"help": "The SSH key name.",
"help": "The SSH key name. Will default to TOOLS_KEY_NAME in environment",
},
"instance_type": {
"help": "The instance type to use.",
@ -566,7 +566,9 @@ def download_artifacts(ctx: Context, name: str):
@vm.command(
name="sync-cache",
arguments={
"key_name": {"help": "The SSH key name."},
"key_name": {
"help": "The SSH key name. Will default to TOOLS_KEY_NAME in environment"
},
"delete": {
"help": "Delete the entries in the cache that don't align with ec2",
"action": "store_true",
@ -626,7 +628,9 @@ def sync_cache(
@vm.command(
name="list",
arguments={
"key_name": {"help": "The SSH key name."},
"key_name": {
"help": "The SSH key name. Will default to TOOLS_KEY_NAME in environment"
},
"states": {
"help": "The instance state to filter by.",
"flags": ["-s", "-state"],