Skip to content

Commit

Permalink
LAWS-3486: added extra mount cmd to force new apply
Browse files Browse the repository at this point in the history
  • Loading branch information
tmahmood72 committed Oct 5, 2023
1 parent a8419f3 commit 95372d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/environments/apex/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ sudo systemctl start amazon-ssm-agent
sudo systemctl enable amazon-ssm-agent
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
mount_status=$?
while [[ $mount_status != 0 ]]
do
sleep 10
mount -a
mount_status=$?
done
EOF
}

Expand Down

0 comments on commit 95372d2

Please sign in to comment.