aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-1n-c6in/variables.tf
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-1n-c6in/variables.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-1n-c6in/variables.tf11
1 files changed, 2 insertions, 9 deletions
diff --git a/fdio.infra.terraform/terraform-aws-1n-c6in/variables.tf b/fdio.infra.terraform/terraform-aws-1n-c6in/variables.tf
index 2d21734a1f..4af15ed579 100644
--- a/fdio.infra.terraform/terraform-aws-1n-c6in/variables.tf
+++ b/fdio.infra.terraform/terraform-aws-1n-c6in/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" {
@@ -101,14 +101,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"
]
}