CLI Usage
The Inkdrop CLI allows you to visualize your Terraform infrastructure from the command line. Run inkdrop
with various options to customize the behavior.
Command Line Arguments
Argument | Description | Example Usage |
---|---|---|
(no argument) | Automatically launches a browser tab to display the diagram interactively. |
|
| Visualizes the impact of changes defined in a specified terraform plan file. |
|
| List of directories that contain Terraform configuration files with configured backends. This allows visualizing multiple states in a single diagram. |
|
| Displays help information about the CLI tool and its commands. |
|
| Shows the current version number of the CLI tool. |
|
| Shows verbose logs during the diagram generation process. |
|
| Sets the working directory to a specified Terraform project path. |
|
| Defines the port for the local diagram rendering service (default: |
|
Tips and Tricks
Run
inkdrop
in the same directory where you runterraform plan
.Use
--debug
to troubleshoot any issues with diagram generation.Set
--renderer-port
if 3000 is already in use on your machine.Visualize multiple Terraform states simultaneously with
--state-dirs
.
Common Use Cases
Visualize Terraform Plan
Visualize Current State
Debug in Verbose Mode
Let me know if you need any other CLI usage information!
Last updated