Merge pull request #30488 from hashicorp/update-console-docs

Update Console Command Documentation
This commit is contained in:
Laura Pacilio 2022-02-08 16:36:36 -05:00 committed by GitHub
commit c1dc94a3d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 8 deletions

View File

@ -16,15 +16,12 @@ Usage: `terraform console [options]`
This command provides an interactive command-line console for evaluating and This command provides an interactive command-line console for evaluating and
experimenting with [expressions](/language/expressions). experimenting with [expressions](/language/expressions).
This is useful for testing interpolations before using them in configurations, You can use it to test interpolations before using them in configurations
and for interacting with any values currently saved in and to interact with any values currently saved in
[state](/language/state). [state](/language/state). If the current state is empty or has not yet been created, you can use the console to experiment with the expression syntax and
[built-in functions](/language/functions). The console holds a [lock on the state](/language/state/locking), and you will not be able to use the console while performing other actions that modify state.
If the current state is empty or has not yet been created, the console can be To close the console, enter the `exit` command or press Control-C
used to experiment with the expression syntax and
[built-in functions](/language/functions).
You can close the console with the `exit` command or by pressing Control-C
or Control-D. or Control-D.
For configurations using For configurations using