template

getindata/template/module

Terraform Module HCL MODULE

Terraform module template - boilerplate used to simplify creation of new Terraform modules

Install
module "template" {
source = "getindata/template/module"
version = "1.2.2"
}
plain text: /constructs/tfmod-getindata-template-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Module Template > Warning: > This is a template document. Remember to remove all text in _italics_ and update Module name, Repo name and links/badges to the actual name of your GitHub repository/module!!! !AWS !Terraform !License !Release We help companies turn their data into assets --- _Brief Description of MODULE:_ _What it does_ _What technologies it uses_ > Warning: > _When using "Invicton-Labs/deepmerge/null" module - pin tflint version to v0.41.0 in pre-commit.yaml to avoid failing tflint checks_ USAGE _Example usage of the module - terraform code snippet_ ``terraform module "template" { source = "getindata/template/null" # version = "x.x.x" example_var = "foo" } ` NOTES _Additional information that should be made public, for ex. how to solve known issues, additional descr

Inputs (21)
NameTypeDescriptionDefault
example_varstringExample variable passed into the module required
sub_resourceobject({ descriptor_name =Some other resource that is part of stack/module required
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by null
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
descriptor_namestringName of the descriptor used to form a resource name"resource-type"
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'stnull
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
label_value_casestringControls the letter case of ID elements (labels) as included in `id`, set as tagnull
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
enabledboolSet to false to prevent the module from creating any resourcesnull
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
Outputs (1)
example_output — Example output of the module
Resources (1)
null_resource
Topics & Tags
terraform
Details
FrameworkTerraform Module
LanguageHCL
Version1.2.2
Cloud MODULE
★ Stars15
Forks5
Total downloads114
Inputs21
Outputs1
Resources1
Examples2
LicenseApache-2.0
Namespacegetindata
Updated