Skip to content

Instantly share code, notes, and snippets.

@josh-padnick
Last active November 12, 2018 22:29
Show Gist options
  • Save josh-padnick/d4ba3ab58c68fecb8ccf2ed362938a4f to your computer and use it in GitHub Desktop.
Save josh-padnick/d4ba3ab58c68fecb8ccf2ed362938a4f to your computer and use it in GitHub Desktop.
Terraform here doc syntax example
user_data = <<-EOF
#!/bin/bash
echo "hello world" > index.html
nohup busybox httpd -f -p "8080" &
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment