diff --git a/terraform/environments/apex/ec2.tf b/terraform/environments/apex/ec2.tf index 880fc46cc05..9bb0a93b6a6 100644 --- a/terraform/environments/apex/ec2.tf +++ b/terraform/environments/apex/ec2.tf @@ -5,7 +5,8 @@ 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 -mount -t nfs4 -o rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport fs-04977da5fb1325b4b.efs.eu-west-2.amazonaws.com:/ /backups +echo "fs-04977da5fb1325b4b.efs.eu-west-2.amazonaws.com:/ /backups nfs4 rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport" >> /etc/fstab +mount -a EOF }