Back to Opentofu

Command: metadata functions

website/docs/cli/commands/metadata-functions.mdx

1.12.0531 B
Original Source

Command: metadata functions

Prints out a json representation of the available function signatures.

Usage

tofu [global options] metadata functions -json

This command has one required flag:

  • -json - Prints the available function signatures in json format. This command follows the raw json specification.

Example

shellsession
$ tofu metadata functions -json
{"format_version":"1.0","function_signatures":{"abs":{"description":"`abs` returns...}}