tried seperate steps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-27 12:46:34 +02:00
parent 2a5e6995a0
commit 0438af9f6a

View File

@@ -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: