Skip to main content

A automate tool for terraform projects

Project description

Terramagic CLI

Motivation

Every time , I needed create a terraform files to a new project, and a new terraform files., but this is not good. and now we have a Terramagic tool to help us to create a terraform files.

Requirements

  • Python 3.8 >=

How to install?

pip install terramagic

Check the version

terramagic --version

Create a new project

terramagic create --name <project name> --env <env>
terramagic create --name terraform --env prod --env dev

Delete a project

terramagic delete --name <project name>

Check if all terraform files configuration are valid.

terramagic check --name <project name>

How to use this tool ?

Usage: terramagic [OPTIONS] COMMAND [ARGS]...

  ClI tool to create Terraform project

Options:
  -v, --version  Show version
  --help         Show this message and exit.

Commands:
  check   Check all files inside a Terraform project are valid.
  create  Create a new Terraform project with specified name and environment
  remove  Delete the project

Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terramagic-0.1.8.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

terramagic-0.1.8-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page