You can do a bunch of things with Terraform, however in my opinion Terraform and other similar tools is better used to bring up your infrastructure. i.e if working with Kubernetes, bringing up the cluster, setting up the networking etc. should be done with Terraform/other IaC tools and deployment should be done either using kubectl or helm.