diff options
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-2n-c7gn/variables.tf')
-rw-r--r-- | fdio.infra.terraform/terraform-aws-2n-c7gn/variables.tf | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/fdio.infra.terraform/terraform-aws-2n-c7gn/variables.tf b/fdio.infra.terraform/terraform-aws-2n-c7gn/variables.tf index b1505822d1..2e6d58b505 100644 --- a/fdio.infra.terraform/terraform-aws-2n-c7gn/variables.tf +++ b/fdio.infra.terraform/terraform-aws-2n-c7gn/variables.tf @@ -38,7 +38,7 @@ variable "placement_group_strategy" { variable "tg_ami" { description = "AMI to use for the instance." type = string - default = "ami-09bee32179b4bf6bf" + default = "ami-05fc62a89ea9fdae4" } variable "tg_associate_public_ip_address" { @@ -149,14 +149,7 @@ variable "first_run_commands" { description = "List of private IPs to assign to the ENI without regard to order." type = list(string) default = [ - "sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config", - "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", - "sudo useradd --create-home -s /bin/bash testuser", - "echo 'testuser:Csit1234' | sudo chpasswd", - "echo 'testuser ALL = (ALL) NOPASSWD: ALL' | sudo tee -a /etc/sudoers" + "sudo /sbin/shutdown -P +720" ] } |