diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb7cd376111e0debc87db64aeb493594c4623e63..a71c1ea1b15ae0fdfc902fc064d12f8397a4c476 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ build_packer:
   script:
     - terraform --version
     - terraform init
-    - terraform apply --auto-approve
+    - terraform apply -auto-approve
 
 unit-test-job:   # This job runs in the test stage.
   stage: test    # It only starts when the job in the build stage completes successfully.