Commit 95cff28f authored by Viktor Nagy's avatar Viktor Nagy

Added destroy command to base Terraform template

parent 8cdba719
...@@ -6,6 +6,7 @@ stages: ...@@ -6,6 +6,7 @@ stages:
- validate - validate
- build - build
- deploy - deploy
- cleanup
init: init:
extends: .init extends: .init
......
...@@ -51,3 +51,9 @@ cache: ...@@ -51,3 +51,9 @@ cache:
when: manual when: manual
only: only:
- master - master
.destroy: &destroy
stage: cleanup
script:
- gitlab-terraform destroy
when: manual
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment