mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 17:06:52 +02:00
Upload configuration first
This commit is contained in:
+2
-2
@@ -25,14 +25,14 @@ 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 $DRONE_COMMIT
|
- git checkout $DRONE_COMMIT
|
||||||
- name: terraform plan
|
- name: terraform upload configuration
|
||||||
image: 2martens/terraform-drone-plugin
|
image: 2martens/terraform-drone-plugin
|
||||||
settings:
|
settings:
|
||||||
api_token:
|
api_token:
|
||||||
from_secret: tfc_api_token
|
from_secret: tfc_api_token
|
||||||
cloud_organization: 2martens
|
cloud_organization: 2martens
|
||||||
path: terraform
|
path: terraform
|
||||||
args: plan
|
args: upload -workspace cloud-configuration -directory .
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|||||||
Reference in New Issue
Block a user