terraform-ec2-infras-deployment / entry-script-two.sh
entry-script-two.sh
Raw
#!/bin/bash

sudo apt update -y && 
sudo apt install -y nginx
echo "Deploying Nginx using Terraform is fun!" > /var/www/html/index.html