From b408cffd555404157fedfebbc3d0b08059a469a4 Mon Sep 17 00:00:00 2001 From: Wenfeng Pan Date: Tue, 13 Aug 2024 18:01:57 +0000 Subject: [PATCH] backport of commit 77e35b9216a6550e79cdc7ccf62f9556cfc65a05 --- hcl2template/function/encoding.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hcl2template/function/encoding.go b/hcl2template/function/encoding.go index b2b8020b8..08c92f2d7 100644 --- a/hcl2template/function/encoding.go +++ b/hcl2template/function/encoding.go @@ -44,9 +44,9 @@ var Base64GzipFunc = function.New(&function.Spec{ // Base64Gzip compresses a string with gzip and then encodes the result in // Base64 encoding. // -// Terraform uses the "standard" Base64 alphabet as defined in RFC 4648 section 4. +// Packer uses the "standard" Base64 alphabet as defined in RFC 4648 section 4. // -// Strings in the Terraform language are sequences of unicode characters rather +// Strings in the Packer language are sequences of unicode characters rather // than bytes, so this function will first encode the characters from the string // as UTF-8, then apply gzip compression, and then finally apply Base64 encoding. func Base64Gzip(str cty.Value) (cty.Value, error) {