boolean
devops-workflow/boolean/local
Terraform module to simplify and expand boolean use
Install
README
terraform-local-boolean  Terraform module to simplify and expand boolean use Since Terraform currently doesn't have a boolean variable type, this provides a consistent handling. The list of true values is also expanded. Designed to simplify the use of booleans (especially where 1 variable is tested many times) and the using count to enable/disable resources. Will handle any capitalization of the input value. Will return 1 for any true value, 0 for anything else. Current true values: true, t, 1, on, enable All devops-workflow modules will eventually use this. NOTE:** local refers to this using locals and does not create any resources. It just builds new variables. This module at Terraform registry Example: If ``hcl
Inputs (1)
| Name | Type | Description | Default |
|---|---|---|---|
| value | any | Value to test for truth | required |
Outputs (1)
value — 1 if input was tested `true`, 0 otherwiseTopics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,