Comprehensive Documentation for Terraform Commands
· 2 min read
We've added comprehensive documentation for all 35 Terraform commands in Atmos, making it easier to understand how to orchestrate Terraform with stack-based configurations. Each command now has dedicated documentation with usage examples, arguments, flags, and integration details.
What's New
Every atmos terraform command now has its own documentation page with:
- Command overview - What the command does and when to use it
- Usage examples - Real-world scenarios and patterns
- Arguments - Required and optional command arguments
- Flags - Available command-line flags and options
- Stack integration - How the command works with stack configurations
Core Commands
Essential Terraform workflow commands are now fully documented:
- terraform plan - Generate execution plans with stack context
- terraform apply - Apply infrastructure changes
- terraform deploy - Combined init, plan, and apply workflow
- terraform destroy - Destroy infrastructure safely
Advanced Commands
Documentation for advanced Terraform operations:
- terraform generate planfile - Generate planfiles for GitOps workflows
- terraform generate backend - Generate backend configurations
- terraform generate varfile - Generate variable files from stack configs
- terraform metadata - Extract component metadata
State Management
Complete documentation for Terraform state operations:
- terraform state - Advanced state manipulation
- terraform import - Import existing resources
- terraform workspace - Manage Terraform workspaces
Development Commands
Commands for Terraform module development and testing:
- terraform fmt - Format Terraform code
- terraform validate - Validate configuration syntax
- terraform test - Run Terraform tests
- terraform console - Interactive console for debugging
Browse All Commands
View the complete list of Terraform commands:
- Terraform command reference - Full command listing
- Global flags - Flags available to all commands
- Stack configuration - How stacks integrate with Terraform
Visual Documentation
Each command page includes:
- Syntax-highlighted code examples - With your configured theme
- Terminal output screenshots - Showing real command execution
- Table of arguments and flags - Quick reference for all options
Get Involved
Found missing details or have suggestions for improving the documentation?
- Open an issue on GitHub
- Share feedback in the Atmos Community Slack
