Hi,
How do I restrict the input variable to an allowed list, like in ARM Templates?
“allowedValues”: [ “” ],
Thanks
Hi,
How do I restrict the input variable to an allowed list, like in ARM Templates?
“allowedValues”: [ “” ],
Thanks
There is a brand new feature for doing that: https://www.terraform.io/docs/configuration/variables.html#custom-validation-rules
Hi, thanks for the reply. Is there anything else I can use that is not an experiment? I can’t use this in production at the moment. But do love the feature.
No, this is brand new functionality and there is nothing really doing the same thing today.