Nginx – How I can provide arguments into my script if run as userdata in terraform?
I made a script that setups a LEMP stack: #!/usr/bin/env bash if tput colors >/dev/null 2>&1; then RED='33[0;31m' YELLOW='33[1;33m' CYAN='33[1;35m' NC='33[0m' # No Color else RED='' GREEN='' YELLOW='' NC='' fi print_help() { echo -e "Usage: ${YELLOW}$0${NC} [options]" echo -e "${CYAN}Options:${NC}"…