boolean

devops-workflow/boolean/local

Terraform Module HCL LOCAL

Terraform module to simplify and expand boolean use

Install
module "boolean" {
source = "devops-workflow/boolean/local"
version = "0.1.2"
}
plain text: /constructs/tfmod-devops-workflow-boolean-local/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-local-boolean ![CircleCI](https://circleci.com/gh/devops-workflow/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)
NameTypeDescriptionDefault
valueanyValue to test for truth required
Outputs (1)
value — 1 if input was tested `true`, 0 otherwise
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.2
Cloud LOCAL
★ Stars0
Forks6
Total downloads661.3k
Inputs1
Outputs1
Namespacedevops-workflow
Updated