mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
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:
parent
1fbd66ff21
commit
adcdec9525
2 changed files with 5 additions and 1 deletions
|
|
@ -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).
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue