From 0438af9f6abd86d27170a25e28ac69b0a4aa6122 Mon Sep 17 00:00:00 2001 From: Tim Unkrig Date: Fri, 27 Oct 2023 12:46:34 +0200 Subject: [PATCH] tried seperate steps --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9c91d46..9c06fcc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,11 @@ trigger: - main steps: + - name: terraform init + image: hashicorp/terraform:1.5 + commands: + - terraform -chdir=infrastructure init + - name: Terraform syntax check image: hashicorp/terraform:1.5 commands: @@ -18,7 +23,6 @@ steps: - name: terraform plan image: hashicorp/terraform:1.5 commands: - - terraform -chdir=infrastructure init - terraform -chdir=infrastructure plan environment: TF_VAR_virtual_environment_endpoint: