Skip to content

Commit

Permalink
LAWS-3486: updated userdata wiuth the efs DNS entry
Browse files Browse the repository at this point in the history
  • Loading branch information
tmahmood72 committed Oct 5, 2023
1 parent 8372dc2 commit a8419f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/apex/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 nfs4 rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport" >> /etc/fstab
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
}
Expand Down

0 comments on commit a8419f3

Please sign in to comment.