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: