Skip to content

Commit

Permalink
Update apache_config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
easyawslearn authored Oct 3, 2019
1 parent 171c6dd commit 46d8335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform-aws-ec2-userdata/apache_config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash
sudo yum update -y
sudo yum install -y httpd.x86_64
sudo yum service httpd start
sudo yum service httpd enable
sudo service httpd start
sudo service httpd enable
echo "<h1>Deployed via Terraform</h1>" | yum tee /var/www/html/index.html

0 comments on commit 46d8335

Please sign in to comment.