We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d9877c commit 899eeecCopy full SHA for 899eeec
tools/terraform.sh
@@ -47,7 +47,6 @@ alias tf_providers='terraform providers'
47
alias tf_state_ls='terraform state list'
48
alias tf_state_mv='terraform state mv'
49
alias tf_state_rm='terraform state rm'
50
-alias tf_taint='terraform taint'
51
alias tf_validate='terraform validate'
52
53
@@ -228,6 +227,15 @@ function tf_state_show {
228
227
fi
229
}
230
+function tf_taint {
231
+ if [ "$*" == "" ]; then
232
+ # shellcheck disable=SC2046
233
+ tf_taint $(gum spin --title "listing ... " --show-output tofu state list | gum filter)
234
+ else
235
+ tofu taint $* | tee >(to_clipboard)
236
+ fi
237
+}
238
+
239
function tf_test {
240
241
if [[ $(find . -type f -name "*.tftest.hcl" | wc -c | xargs) != "0" ]]; then
0 commit comments