added new vm infra vm to homelab
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-27 13:23:35 +02:00
parent 85625c50e2
commit dc025e3c94
3 changed files with 101 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ steps:
image: hashicorp/terraform:1.5
commands:
- terraform -chdir=infrastructure validate
- terraform -chdir=infrastructure plan
- terraform -chdir=infrastructure apply
- terraform -chdir=infrastructure plan -out tfapply
- terraform -chdir=infrastructure apply -auto-approve tfapply
environment:
TF_VAR_virtual_environment_endpoint:
from_secret: virtual_environment_endpoint
@@ -82,8 +82,8 @@ steps:
image: hashicorp/terraform:1.5
commands:
- terraform -chdir=infrastructure validate
- terraform -chdir=infrastructure plan
- terraform -chdir=infrastructure apply
- terraform -chdir=infrastructure plan -out tfapply
- terraform -chdir=infrastructure apply -auto-approve tfapply
environment:
TF_VAR_virtual_environment_endpoint:
from_secret: virtual_environment_endpoint