mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 15:06:51 +02:00
Added extra step to show the output of the previous step in order to verify if it worked
This commit is contained in:
+5
-1
@@ -25,7 +25,7 @@ steps:
|
|||||||
- ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null
|
- ssh-keyscan -H git.2martens.de > $HOME/.ssh/known_hosts 2>/dev/null
|
||||||
- git clone ssh://giteajim@git.2martens.de:22/2martens/terraform.git .
|
- git clone ssh://giteajim@git.2martens.de:22/2martens/terraform.git .
|
||||||
- git checkout main
|
- git checkout main
|
||||||
- name: terraform upload configuration
|
- name: terraform apply plan
|
||||||
image: 2martens/terraform-drone-plugin
|
image: 2martens/terraform-drone-plugin
|
||||||
settings:
|
settings:
|
||||||
api_token:
|
api_token:
|
||||||
@@ -33,6 +33,10 @@ steps:
|
|||||||
path: terraform
|
path: terraform
|
||||||
auto_approve: false
|
auto_approve: false
|
||||||
speculative: false
|
speculative: false
|
||||||
|
- name: show output
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- cat terraform_output
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|||||||
Reference in New Issue
Block a user