Giter Site home page Giter Site logo

jecnua / terraform-module-generator Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 36 KB

A very opinionated set of scripts to create terraform modules :)

License: MIT License

Shell 100.00%
terraform terraform-modules terraform-scripts terraform-modules-pattern mit mit-license opensource aws

terraform-module-generator's Introduction

Terraform module generator

Actions Status

This repo contains scripts to:

  • Generate a new github module repo following terragrunt best practices
  • Add a new module in an existing repo

Maintainers

Requirements

Usage

Pull this repository

git clone [email protected]:jecnua/terraform-module-generator.git

Create a new repo

There is no need to enter in the repo dir. Just use the script from the location you want to create the repo:

terraform-module-generator/create_repo.sh <one> <two>

Will create a repo called terraform-one-two. So, for example:

terraform-module-generator/create_repo.sh aws elasticsearch

Will create a module called terraform-aws-elasticsearch.

Add a module to a repo

terraform-module-generator/add_module.sh <base_dir> <name>

Will add a module inside the modules directory of the dir. So, for example:

terraform-module-generator/add_module.sh terraform-aws-elasticsearch elasticsearch

Will add a dir called elasticsearch inside the terraform-aws-elasticsearch dir. It will also generate the params.md file and the graph. All is linked from a README.md created in the module directory.

Remember to change the directory the github actions will run test on

License

Don't forget to add the license if it's a public repository. :)

TODO

  • Add text in the CHANGELOG

terraform-module-generator's People

Contributors

jecnua avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dieple

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.