array-diff

jitesoft/array-diff/external

Terraform Module HCL EXTERNAL

Small terraform module to diff two lists and retrieve the resulting value.

Install
module "array-diff" {
source = "jitesoft/array-diff/external"
version = "1.0.2"
}
plain text: /constructs/tfmod-jitesoft-array-diff-external/install.txt
⭐ Source on GitHub 📦 Registry page
README

Array Diff Simple terraform module which diffs two lists and returns the values that are unique. The underlying shell script is set to use bash, but this can be changed by setting the shell variable to another value. Requirements The underlying shell script uses jq to diff the arrays, so jq is a requirement.

Inputs (3)
NameTypeDescriptionDefault
list1anyList to diff with list2 required
list2anyList to diff with list1 required
shellanyShell to use. Defaults to Bash."bash"
Outputs (1)
result — Resulting difference as a list.
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud EXTERNAL
Total downloads809
Inputs3
Outputs1
Namespacejitesoft
Updated