Upload configuration first

This commit is contained in:
2023-10-31 15:55:19 +01:00
parent 6e8466e3ed
commit a372a6bd4f
+2 -2
View File
@@ -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: