diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e99a9a5d940326ef799da12528210b76eb43c62d..840fdd20a51c60bae3ec9250d18e5d50deb5cee1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ default:
     - wget https://releases.hashicorp.com/terraform/0.15.3/terraform_0.15.3_linux_amd64.zip -O /tmp/terraform.zip
     - unzip /tmp/terraform.zip terraform -d /usr/local/bin/
     - terraform version
-    - rm -r .terraform*
+    - rm -rf .terraform*
     - touch payload.zip
 
 Generate payload: