Definition:
- Return value after terraform apply is done
- to get non-idempotent values
- output a file of values
- cross-reference stacks visa outputs in a stile file via terraform_remote_state
- Output, sensitive or not, will all ways be visible in Terraform State file
output block:
-
output "<LABEL>" { value = <EXPRESSION> description = "<STRING>" sensitive = <true|false> ephemeral = <true|false> depends_on = [<REFERENCE>] precondition { condition = <EXPRESSION> error_message = "<STRING>" } }
Definition:
- output to terminal for a statefile
- can specify which output by name
Synopsis:
terraform output [options] [NAME]
List of options:
- -json
- -eaw