gaia-app/gaia

✨ : modules - input variable validation

Closed this issue · 0 comments

juwit commented

Is your feature request related to a problem? Please describe.
Terraform does not feature a variable validation feature.
On variable types are supported.
For certain resources, input should follow rules that can only be validated at runtime (e.g.: route53 dns name should only contain lowercase characters and hyphens).
So we may propose a variable validation, the simpler way is to use regex validation.

Describe the solution you'd like
Attach a regex on each variable that needs validation (in the module screen), apply validation on each variable (in the module and stack screen)

Describe alternatives you've considered
N/A

Additional context
N/A