terraform-custom-validation-rules
An example of creating custom validation rules for terraform. This is currently an experimental feature.
Prerequisites
Usage
Validation Fail
-
Run terraform
$ terraform init $ terraform plan
Validation Pass
-
Uncomment variables in terraform.tfvars
-
Run terraform
$ terraform init $ terraform plan