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"
}
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)
| Name | Type | Description | Default |
|---|---|---|---|
| list1 | any | List to diff with list2 | required |
| list2 | any | List to diff with list1 | required |
| shell | any | Shell 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