From bc4f169fc43443d2bbcbc2e342590253c50af017 Mon Sep 17 00:00:00 2001
From: Truong Dang Truc Lam <116415510+LamSut@users.noreply.github.com>
Date: Thu, 19 Dec 2024 17:07:04 +0700
Subject: [PATCH] Update apply.yml

---
 .github/workflows/apply.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/apply.yml b/.github/workflows/apply.yml
index 353e383..ebd5a2f 100644
--- a/.github/workflows/apply.yml
+++ b/.github/workflows/apply.yml
@@ -20,12 +20,14 @@ jobs:
         with:
           terraform_version: 1.6
 
+      - name: Download Planfile Artifact
+        uses: actions/download-artifact@v3
+        with:
+          name: terraform-planfile
+
       - name: Terraform Init
         run: terraform init
 
-      - name: Terraform Plan
-        run: terraform plan -out=planfile
-
       - name: Terraform Apply
         run: terraform apply -input=false planfile