Skip to content

Commit

Permalink
Move inputs slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
mykelalvis authored and ZacharyWills committed Jan 17, 2025
1 parent ce4cd6c commit aa3bb4c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion terraform/init_template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ mkdir -p /mnt/efs/fs1
sudo yum -y -q install git

#Install mountpoint-s3 and mount buckets:

for a in ioos-coastalsb-inputs ioos-transfers ioos-und-transfer
do
sudo mkdir -p /inputs/$a
sudo mount-s3 --read-only --allow-other $a /inputs/$a
done
sudo mkdir -p /outputs_bucket
sudo yum -y install https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.rpm
sudo mount-s3 --allow-delete --allow-overwrite --allow-other ioos-coastalsb-inputs /inputs_bucket
sudo mount-s3 --allow-delete --allow-overwrite --allow-other ioos-coastalsb-outputs /outputs_bucket

#Install AWS Utils
Expand Down

0 comments on commit aa3bb4c

Please sign in to comment.