Update textencodebase64 and textdecodebase64 documentation (#1634)

Signed-off-by: Alexis Saettler <alexis@saettler.org>
Co-authored-by: Alexis Saettler <alexis@saettler.org>
This commit is contained in:
Oleksandr Levchenkov 2024-05-09 13:41:23 +03:00 committed by GitHub
parent 1fbd66ff21
commit adcdec9525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -13,6 +13,10 @@ description: >-
`textdecodebase64` function decodes a string that was previously Base64-encoded,
and then interprets the result as characters in a specified character encoding.
```hcl
textdecodebase64(string, encoding_name)
```
OpenTofu uses the "standard" Base64 alphabet as defined in
[RFC 4648 section 4](https://tools.ietf.org/html/rfc4648#section-4).

View file

@ -14,7 +14,7 @@ specified character encoding, returning the result base64 encoded because
OpenTofu language strings are always sequences of unicode characters.
```hcl
substr(string, encoding_name)
textencodebase64(string, encoding_name)
```
OpenTofu uses the "standard" Base64 alphabet as defined in