Terraform variable Validate

I have to set up an automation that does traffic monitoring for AWS