How to run specific terraform resource, module, target?

1 · Rahul Wagh · Aug. 15, 2021, midnight
Terraform file always grows as you span your infrastructure and add multiple servers to your cloud-hosted infrastructure. But imagine you have terraform file which contains lots of resources but you only do not want to apply the complete terraform configuration but instead, you just want to run one specific or some specific resource out of your Terraform configuration. So to run specific resources in terraform you should use -target=resource which will help you to target specific resources inste...