title: return userdata result of ec2 with terraform
body: <p>I want to create a Jenkins pipeline, which deploys an application on aws autoscaling group using user_data.</p>
  
  <p>Sometimes the deployment fail, but I don't how to show the deployment result when terraform is running, especially user data script result.</p>
  
  <p>So is it possible to print the user data output (script result) with terraform?</p>
  
  <p>Thank you in advance,</p>