Offer a choice when applying a Terraform configuration

Hi, I’ve been trying to configure a variable such that when I “Terraform Apply” I am provided a choice. For instance, when deploying a set of virtual machines, I am able to select from a list of available resource pools. Tried various examples but seems to not be in line with my approach.

Thank you

This is not a feature provided by Terraform - you would need to build your own custom UI.