diff --git a/README.md b/README.md index d34464b..097a96d 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ No modules. | [ssh\_host\_rsa\_key](#input\_ssh\_host\_rsa\_key) | Private key used by the OpenSSH server. If not defined it will generated automatically, but won't be saved. | `string` | `""` | no | | [ssh\_host\_rsa\_key\_public](#input\_ssh\_host\_rsa\_key\_public) | Public key used by the OpenSSH server. If not defined it will generated automatically, but won't be saved. | `string` | `""` | no | | [ssh\_keys](#input\_ssh\_keys) | List of SSH keys to be added to the authorized keys list. Should be in the same format as the 'authorized\_keys' file, represented in Heredoc style as a multi-line string value. | `string` | n/a | yes | +| [ssh\_log\_to\_stdout](#input\_ssh\_log\_to\_stdout) | If set to true it will log the SSH connection to stdout. | `bool` | `false` | no | | [ssh\_port](#input\_ssh\_port) | Specify the port that OpenSSH server will bind to. The port value can't be below 1024. If not defined it will use '2222' as default. | `number` | `2222` | no | | [ssh\_user](#input\_ssh\_user) | Specify a username to connect to. If not defined it will use 'user' as default. | `string` | `"user"` | no | | [sshd\_config](#input\_sshd\_config) | Configuration file for SSH. If not defined it will use the default. | `string` | `""` | no | diff --git a/main.tf b/main.tf index da31ac6..a138974 100644 --- a/main.tf +++ b/main.tf @@ -9,9 +9,9 @@ resource "kubernetes_config_map" "main" { } data = { - "authorized_keys" = var.ssh_keys - "motd" = "Welcome to ${var.motd_name}.\n" - "delete-generated-ssh-keys" = <