From fe9558bdd5f5907a59455f759d75410a5b254e61 Mon Sep 17 00:00:00 2001 From: Tamas Kiss Date: Thu, 26 May 2022 13:32:55 +0200 Subject: [PATCH] ci: terraform apply step --- .drone.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index d274e24..4264239 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,10 +54,19 @@ steps: - push image: hashicorp/terraform:1.1.8 commands: - - terraform show -plan .tfplan - # - terraform apply -plan .tfplan -auto-approve + - terraform apply -plan .tfplan + environment: + AWS_ACCESS_KEY_ID: + from_secret: terraform-aws-key-id + AWS_SECRET_ACCESS_KEY: + from_secret: terraform-aws-secret-access-key + GITEA_TOKEN: + from_secret: gitea-token + KUBE_TOKEN: + from_secret: lawndale-k8s-ci-token + --- kind: signature -hmac: 89d5bf1708b13e28a7d08cb72e8cf00aacf990b3a45a5d4ab9691a6e07a8fb3b +hmac: 7b8d9484950222bb6fbef283c824a1270d5da4cfeb8b50b1c2eb2ef426b81ae4 ...