You can embed Terraform configurations as a resource in vRealize Automation in Cloud Assembly.
Before you add a Terraform configuration to a cloud template , set up and integrate your version control repository under integrations . With your repository and Terraform configuration files in place, you can design a Cloud Assembly template for them.
Enable Terraform runtime versions
You can define the Terraform runtime versions available to users when deploying Terraform configurations. Note that Terraform configurations might also include internally coded version constraints.
For vRealize Automation 8.X or on-prem the Terraform Run Time defines a Kubernetes Namespace integration point for executing the Terraform Jobs, you have two options, Managed Kubernetes cluster or External Kubeconfig
For learning how to set up from scratch and test it, you can follow this blog: Terraform Service in vRA Cloud Templates
You can find more examples here: vRealize Automation & Terraform OpenSource : Practical Examples - Part 5