The Terraform CLI Wrapper is a command-line interface (CLI) application that simplifies the execution of Terraform commands and allows for programmatic generation of HashiCorp Configuration Language (HCL) configurations.
- Execute Terraform commands with ease.
- Generate HCL configurations programmatically.
- Utility functions for logging and error handling.
leaf
├── cmd
│ └── main.go # Entry point of the CLI application
├── internal
│ ├── executor
│ │ └── terraform.go # Contains the Executor struct for running commands
│ ├── hclgen
│ │ └── generator.go # HCLGenerator struct for generating HCL configurations
│ └── utils
│ └── helpers.go # Utility functions for common tasks
├── go.mod # Module definition and dependencies
├── go.sum # Checksums for module dependencies
└── README.md # Project documentation
To install the Terraform CLI Wrapper, clone the repository and run the following commands:
go mod tidyTo use the CLI, run the following command:
go run cmd/main.go [command]Replace [command] with the desired Terraform command you wish to execute.
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.