Perform operations on Terraform workspaces configured in your Clanker configuration.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bgdnvk/clanker/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Configuration
Configure Terraform workspaces in~/.clanker.yaml:
Paths support environment variable expansion and tilde (
~) for home directory.Subcommands
list
List all Terraform workspaces configured in your Clanker configuration.Integration with ask command
For AI-powered Terraform queries, use theask command with the --terraform flag:
Combined queries
You can combine Terraform queries with AWS queries to detect drift:Terraform operations
While theterraform list command shows configured workspaces, the ask command can perform actual Terraform operations:
- State queries: Read current Terraform state
- Plan analysis: Analyze what would change
- Output retrieval: Get Terraform outputs
- Drift detection: Compare state with actual infrastructure
Workspace selection
When using--terraform, Clanker uses the default workspace unless you specify otherwise in your query:
Related resources
Terraform integration
Learn about Terraform integration
Ask command
Natural language infrastructure queries
Configuration
Configure Terraform workspaces
Multi-environment
Manage multiple environments