file - Functions - Configuration Language | Terraform | HashiCorp Developer
The file function reads the contents of the file at the given path and returns them as a string.