terraform-null-validate-list-item
Terraform module that will validate that a specified items is within the list of valid items
No requirements.
Name |
Description |
Type |
Default |
Required |
item |
Name of item to validate |
string |
n/a |
yes |
name |
Name of the validation test |
string |
n/a |
yes |
valid_items |
List of valid items to validate against |
list(string) |
n/a |
yes |
Name |
Description |
is_valid |
Whether the item is valid or not |
item |
The item |
valid_items |
The list of valid items |
validation_name |
The name of this validation |