feat: Added multiple SSH Key uploads
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
# The Hetzner API token is NOT set here: export it as HCLOUD_TOKEN in your shell
|
||||
# before running tofu plan/apply.
|
||||
|
||||
# Name of an SSH key already uploaded to your Hetzner Cloud project
|
||||
# (Console > Security > SSH Keys). Required.
|
||||
ssh_key_name = "your-key-name"
|
||||
# Names of SSH keys already uploaded to your Hetzner Cloud project
|
||||
# (Console > Security > SSH Keys). All of them are installed on every server. Required.
|
||||
ssh_key_names = ["your-key-name", "laptop", "phone"]
|
||||
|
||||
# Local path to the private key matching ssh_key_name above. OpenTofu uses this
|
||||
# once per server to upload and run the post-install bootstrap script
|
||||
# Local path to the private key matching ONE of ssh_key_names above (doesn't need
|
||||
# to be all of them - just one you hold). OpenTofu uses this once per server to
|
||||
# upload and run the post-install bootstrap script
|
||||
# (infra/scripts/bootstrap.sh.tftpl) immediately after creation. Required.
|
||||
ssh_private_key_path = "~/.ssh/id_ed25519"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user