Friday, September 27, 2019

teraform - webservers

#!/bin/bash

yum install httpd -y
echo "

Deployed by terraform!!!

" > /var/www/html/index.html
service httpd start
chkconfig httpd on

No comments:

Post a Comment