ec2 userdata gets truncated