- 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
Please feel free to get in touch, I'll be happy to help! Email
terragrunt-generator provide a way to generate a terragrunt.hcl file with documented inputs who's coming from variables exposed by terraform module.
License: GNU General Public License v3.0
Please feel free to get in touch, I'll be happy to help! Email
Write a minimal project to explain how to use the generator.
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}}"]
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]
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\")
List and test each kind of source URL.
comming
terragrunt-generator/README.md
Line 3 in 0573741
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.