Code Monkey home page Code Monkey logo

terragrunt-generator's Introduction

Hello, i'am Chris !

  • I'm a FullStack DevOps Engineer who is passionate about making high availability infrastructure for scalable applications.
  • Before, I was pen tester and malware analyst during 7+ years

Support or Contact

Please feel free to get in touch, I'll be happy to help! Email

terragrunt-generator's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar goabonga avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

terragrunt-generator's Issues

provide an example project

Write a minimal project to explain how to use the generator.

  • generate a terraform module
  • generate a terragrunt basic project
  • write docs (install, usages, ...)

make lookup path configurable

The lookup path specify where is terragrunt search configuration into the config.yaml file for the module.

This path is hard coded

#
# yaml config
# ```yaml
# terraform-google-project-factory:  <----------------------------
#   enabled: true
#   random_project_id: false
#   org_id: 
#   domain: ""
#   name
inputs = merge({
    # billing_account - The ID of the billing account to associate this project with - required
    billing_account = lookup(local.all["terraform-google-project-factory"], "billing_account", "None")
    # name - The name for the project - required
  

We want to make lookup path configurable

terragrunt-gernerator [-h] -u URL -v VERSION [-p PATH] [-l LOOKUP]

| to prevent breaking change the default value is local.all["{{module_name}}"]

  • refactoring and writing tests
  • refactoring and writing code

make generated terragrunt include block optional

The terragrunt include block must be optional.

This block is in use in my personal projects, that's why i can't remove them (radically) now.
It's will be removed in future version but to prevent breaking change it's should to be marked as breaking change first and
we will use a parameter to remove the block into the output.

argparse.BooleanOptionalAction can be used.

terragrunt-gernerator [-h] -u URL -v VERSION [-p PATH] [--include | --no-include]
  • refactoring and writing tests
  • refactoring and writing code

make generated config path configurable

The terragrunt locals block contains a line used to load the config.yaml configuration.

This path is hard coded, and usable only with file loaded from parent directory.

locals {
  all = merge(
    yamldecode(file(find_in_parent_folders("config.yaml"))),
  )
}

We want to make config parameter more configurable

terragrunt-gernerator [-h] -u URL -v VERSION [-p PATH] [-c CONFIG]

| to prevent breaking change the default value is find_in_parent_folders(\"config.yaml\")

  • refactoring and writing tests
  • refactoring and writing code

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.