--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/c14970d6-d746-47a4-a83c-9c1f4d9818be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use ${file(your_file)} to read a file from disk instead of using a heredoc.Have a look here for the docs https://www.terraform.io/docs/configuration/interpolation.html#file-path-
--Lowe Schmidt | +46 723 867 157
On 22 January 2018 at 16:11, Steve Button <steve....@gmail.com> wrote:
Hi,I'm trying to set up some custom data for some Ubuntu VMs that I'm spinning up in Azure, however I'm a little confused by the documentation. It mentions using a here document (using <<-EOF) or putting the script steps straight into a string, but I would like to put them into a separate file. I looked at file provisioners as well, but this is not what I need.Lots of googling, but not found any decent example code how to do this.Thanks,Steve
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/0c25d6c9-20bc-42e6-9dbe-ac7d07163132%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.