We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8cc74d commit 5ac2eb9Copy full SHA for 5ac2eb9
terraform/dev/scripts/user-data.sh
@@ -1,12 +1,6 @@
1
#!/bin/bash
2
echo ECS_CLUSTER=${ecs_cluster_name} >> /etc/ecs/ecs.config
3
4
-fallocate -l 2G /swapfile
5
-chmod 600 /swapfile
6
-mkswap /swapfile
7
-swapon /swapfile
8
-echo '/swapfile none swap sw 0 0' >> /etc/fstab
9
-
10
mkdir -p /home/ec2-user/logs/backup
11
mkdir -p /home/ec2-user/mysql
12
mkdir -p /home/ec2-user/scripts
terraform/prod/scripts/user-data.sh
0 commit comments