From 5503ad224b787994a9faf94d6214430a3e9dc808 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 28 Jan 2024 11:44:12 +0200
Subject: [PATCH] .bashrc: Some Terraform updates.

---
 .bashrc.d/terraform | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.bashrc.d/terraform b/.bashrc.d/terraform
index fb12c1b..70ebaee 100644
--- a/.bashrc.d/terraform
+++ b/.bashrc.d/terraform
@@ -3,7 +3,9 @@
 
 export TF_CLI=tofu
 export TF_DEBUG=1
-alias tfa='tf apply tfplan && tf apply -auto-approve -refresh-only'
+alias tfa='tf apply tfplan'
 alias tfaa='tf apply -auto-approve'
+alias tfar='tf apply tfplan && tf plan -out tfplan -refresh-only && tf apply tfplan'
 alias tfp='tf init -backend=false && tf plan -out tfplan'
+alias tfr='tf apply -auto-approve -refresh-only'
 alias tfvf='tf init -backend=false && tf validate && tf fmt -diff'
-- 
GitLab