I learned that the Terraform REPL feature is available with terraform console, so I’ll share this information.
 
I wanted to check the behavior of the Terraform regex function, so I tried using the Terraform REPL feature terraform console.
Here’s an example of using terraform console.
$ terraform console
> can(regex("@example.com", "[email protected]"))
true
> can(regex("@example.com", "[email protected]"))
false
That’s all from the Gemba, where I tried using the Terraform REPL feature terraform console.