Terraform User Data October 26, 2021 Here’s how to add userdata in Terraform. user_data = filebase64("${path.module}/example.sh")