aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-2n-c6in
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-12-10 15:10:18 +0100
committerPeter Mikus <peter.mikus@protonmail.ch>2024-12-10 14:10:47 +0000
commitafa399899f5e67163d29ce42602e594d7f63fb5c (patch)
treea42ba0e1bb2d7205260745c7dc7bdc8b95525396 /fdio.infra.terraform/terraform-aws-2n-c6in
parent12b8cce60c3b094deed0780cb11f74a57e485ddf (diff)
fix(infra): terraform aws
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I26bd0ac16d1c72716e60795c3476cac36151cca6
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-2n-c6in')
-rw-r--r--fdio.infra.terraform/terraform-aws-2n-c6in/variables.tf2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdio.infra.terraform/terraform-aws-2n-c6in/variables.tf b/fdio.infra.terraform/terraform-aws-2n-c6in/variables.tf
index 08c3d53465..41dc4e63d0 100644
--- a/fdio.infra.terraform/terraform-aws-2n-c6in/variables.tf
+++ b/fdio.infra.terraform/terraform-aws-2n-c6in/variables.tf
@@ -162,7 +162,7 @@ variable "first_run_commands" {
type = list(string)
default = [
"sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config",
- "sudo systemctl restart sshd",
+ "sudo systemctl restart ssh.service",
"sudo useradd --create-home -s /bin/bash provisionuser",
"echo 'provisionuser:Csit1234' | sudo chpasswd",
"echo 'provisionuser ALL = (ALL) NOPASSWD: ALL' | sudo tee -a /etc/sudoers",