This commit is contained in:
@@ -8,6 +8,11 @@ trigger:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: terraform init
|
||||||
|
image: hashicorp/terraform:1.5
|
||||||
|
commands:
|
||||||
|
- terraform -chdir=infrastructure init
|
||||||
|
|
||||||
- name: Terraform syntax check
|
- name: Terraform syntax check
|
||||||
image: hashicorp/terraform:1.5
|
image: hashicorp/terraform:1.5
|
||||||
commands:
|
commands:
|
||||||
@@ -18,7 +23,6 @@ steps:
|
|||||||
- name: terraform plan
|
- name: terraform plan
|
||||||
image: hashicorp/terraform:1.5
|
image: hashicorp/terraform:1.5
|
||||||
commands:
|
commands:
|
||||||
- terraform -chdir=infrastructure init
|
|
||||||
- terraform -chdir=infrastructure plan
|
- terraform -chdir=infrastructure plan
|
||||||
environment:
|
environment:
|
||||||
TF_VAR_virtual_environment_endpoint:
|
TF_VAR_virtual_environment_endpoint:
|
||||||
|
|||||||
Reference in New Issue
Block a user