Skip to content

runsheet/leaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform CLI Wrapper

Overview

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.

Features

  • Execute Terraform commands with ease.
  • Generate HCL configurations programmatically.
  • Utility functions for logging and error handling.

Project Structure

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

Installation

To install the Terraform CLI Wrapper, clone the repository and run the following commands:

go mod tidy

Usage

To use the CLI, run the following command:

go run cmd/main.go [command]

Replace [command] with the desired Terraform command you wish to execute.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages