Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Terraform apply specific file
(opens in new tab)
(gist.github.com)
2 points
brtkwr
9mo ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
brtkwr
OP
9mo 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
j
/
k
navigate · click thread line to collapse