We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 171c6dd commit 46d8335Copy full SHA for 46d8335
terraform-aws-ec2-userdata/apache_config.sh
@@ -1,6 +1,6 @@
1
#! /bin/bash
2
sudo yum update -y
3
sudo yum install -y httpd.x86_64
4
-sudo yum service httpd start
5
-sudo yum service httpd enable
+sudo service httpd start
+sudo service httpd enable
6
echo "<h1>Deployed via Terraform</h1>" | yum tee /var/www/html/index.html
0 commit comments