Terraform apply specific file

2 brtkwr 1 9/12/2025, 2:59:47 PM gist.github.com ↗

Comments (1)

brtkwr · 4h ago
I have always wondered why terraform doesn't offer a way to apply a specific file similar to how -target option works. I generated my own helper script which finds resources in a file and applies them as follows:

./tf-apply-file.sh example.tf