From 11fc524b397b5c0cf7dff0786a434d7cd59c0f3c Mon Sep 17 00:00:00 2001 From: CJ <105300705+cjobermaier@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:15:34 -0500 Subject: [PATCH] Update filesha1.mdx --- website/docs/language/functions/filesha1.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/language/functions/filesha1.mdx b/website/docs/language/functions/filesha1.mdx index 078c743364..56ecdab3d8 100644 --- a/website/docs/language/functions/filesha1.mdx +++ b/website/docs/language/functions/filesha1.mdx @@ -8,7 +8,9 @@ This topic provides reference information about the `filesha1` function, which c ## Introduction -The `filesha1` is a variant of [`sha1`](/terraform/language/functions/sha1) that hashes the contents of a given file rather than a literal string. This is similar to `sha1(file(filename))`, but +The `filesha1` is a variant of [`sha1`](/terraform/language/functions/sha1) that hashes the contents of a given file rather than a literal string. + +This is similar to `sha1(file(filename))`, but because [`file`](/terraform/language/functions/file) accepts only UTF-8 text it cannot be used to create hashes for binary files.