Terraform a Kubernetes VNF Environment

New to Terraform but excited about its potential. I’m trying to learn IaC concepts and have a particular use case I’d like to utilize Terraform for. My plan is to utilize Terraform to create a Kubernetes VNF cluster for network simulation purposes. I’d also like to utilize NSM (https://networkservicemesh.io/) to connect these VNFs together in a topology described with IaC files. Is this something that is feasible? I’m not going to ask about the NSM specifics here but can Terraform describe how Pods connect to one another? Either through CNI or with NSM which would be ideal.