(instance: Instance, user: str | None = None)
| 114 | |
| 115 | |
| 116 | def instance_host(instance: Instance, user: str | None = None) -> str: |
| 117 | if user is None: |
| 118 | user = ami_user(tags(instance)) |
| 119 | return f"{user}@{instance.id}" |
| 120 | |
| 121 | |
| 122 | # Launch tags the instance Name as "{nonce}-{config name}"; the nonce is |