removed apply action for pull request
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tim
2023-10-27 14:21:34 +02:00
parent dc0e126a37
commit 04fd6fd008

View File

@@ -35,21 +35,6 @@ steps:
event: event:
- pull_request - pull_request
- name: terraform apply for pull request
image: hashicorp/terraform:1.5
commands:
- terraform -chdir=infrastructure validate
- terraform -chdir=infrastructure plan -out tfapply
- terraform -chdir=infrastructure apply -auto-approve tfapply
environment:
TF_VAR_virtual_environment_endpoint:
from_secret: virtual_environment_endpoint
TF_VAR_virtual_environment_api_token:
from_secret: virtual_environment_api_token
when:
event:
- pull_request
- name: Terraform infrastructure syntax check - name: Terraform infrastructure syntax check
image: hashicorp/terraform:1.5 image: hashicorp/terraform:1.5
commands: commands: