Skip to content

jheck90/terraform-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Copy Tool

A command-line utility for copying Terraform module files and customizing their content.

Usage

terraform-copy copy [flags]

Flags

  • -b, --s3-bucket-name: S3 bucket name (required).
  • -v, --tf-version: Version of Terraform (default: "> 1.0").
  • -m, --module-name: Module name.
  • -r, --region: AWS Region (default: "us-east-1").
  • -s, --source-dir: Source directory (required).
  • -t, --target-dir1: Target directory 1 (required).
  • -d, --dry-run: Enable dry run (default: true).
  • --debug: Enable debug mode.

Copy Files

terraform-copy copy -b <S3_BUCKET> -m <MODULE_NAME> -s <SOURCE_DIR> -t <TARGET_DIR>

Edit Files

terraform-copy edit -m <MODULE_NAME>

Installation

  1. Clone the repository.

  2. Build the application.

  3. Move the binary to your system's PATH.

Contributing

Contributions welcome! Open an issue or create a pull request on GitHub.

To-Do List

  • Needs to loop over an AWS Organization and list all accounts
    • Filter out accounts
  • terraform-exec
    • Terraform plan and apply

About

a specific use-case copy tool golang project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published