Fix env variable for secret
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-02-18 16:33:30 +01:00
parent fad6e517e5
commit 1870a78fde
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -25,4 +25,4 @@ steps:
- cd infrastructure/create-resources - cd infrastructure/create-resources
- terraform init -backend-config="access_key=$ACCESS_KEY" -backend-config="secret_key=$SECRET_KEY" - terraform init -backend-config="access_key=$ACCESS_KEY" -backend-config="secret_key=$SECRET_KEY"
- terraform validate - terraform validate
- terraform apply -auto-approve -var "hcloud_token=$HCLOUD_TOKEN" -var "pvt_key='../ssh_keys/id_ed25519'" -var "pub_key='../ssh_keys/id_ed25519.pub'" -var "hcloud_serverctl_ssh_key_id=${HCLOUD_SSH_KEY_ID}" - terraform apply -auto-approve -var "hcloud_token=$HCLOUD_TOKEN" -var "pvt_key='../ssh_keys/id_ed25519'" -var "pub_key='../ssh_keys/id_ed25519.pub'" -var "hcloud_serverctl_ssh_key_id=$HCLOUD_SSH_KEY_ID"