From 8372dc2b764f7b4538c6c5674725f5139b774e4e Mon Sep 17 00:00:00 2001 From: Tariq Mahmood Date: Wed, 4 Oct 2023 16:57:25 +0100 Subject: [PATCH] LAWS-3486: changed /efs entry in /etc/fstab --- terraform/environments/apex/ec2.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/apex/ec2.tf b/terraform/environments/apex/ec2.tf index c5ada234c11..35945089b6f 100644 --- a/terraform/environments/apex/ec2.tf +++ b/terraform/environments/apex/ec2.tf @@ -5,7 +5,7 @@ cd /tmp yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm sudo systemctl start amazon-ssm-agent sudo systemctl enable amazon-ssm-agent -echo "${aws_efs_file_system.efs.dns_name}:/backups /backups nfs4 rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport" >> /etc/fstab +echo "${aws_efs_file_system.efs.dns_name}:/ /backups nfs4 rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport" >> /etc/fstab mount -a EOF }