The `hcp-packer-iteration` data source retrieves information about an
iteration from the HCP Packer registry. This data source is deprecated. Use the `hcpe-packer-verion` data source instead.
The `hcp-packer-iteration` data source retrieves information about an iteration from the HCP Packer registry. This data source is deprecated. Use the `hcpe-packer-verion` data source instead.
page_title: hcp-packer-iteration data source reference
page_title: testdecodebase64 - Functions - Configuration Language
description: The testdecodebase64 function converts a base64 encoded string, whose underlying encoding is the one specified as argument, into a UTF-8 string.
page_title: testdecodebase64 function reference
description: The `testdecodebase64` function converts a base64-encoded string into a UTF-8 string.
page_title: testencodebase64 - Functions - Configuration Language
description: The testencodebase64 function converts a UTF-8 NFC input string to a base64 blob that encodes the target encoding's rendering of the input string.
page_title: testencodebase64 function reference
description: The `testencodebase64` function converts a UTF-8 NFC string into a base64 blob to match the destination encoding.
---
# `textencodebase64` Function
@ -8,7 +8,7 @@ description: The testencodebase64 function converts a UTF-8 NFC input string to
Encodes the input string to the destination encoding.
The output is base64-encoded to account for HCL's string encoding limitations: they must be UTF-8, NFC-normalised.
Packer uses the "standard" Base64 alphabet as defined in
Packer uses the standard base64 alphabet as defined in