How to read the content of a file in base64 in terraform?

You can use terraform filebase64() function to read the content of a file in base64. filebase64() reads the contents of a file at the given path and returns them as a base64-encoded string.

Syntax: filebase64(file_path)

Example:

Leave a Reply

Close Menu