ci: more secrets and set terraform automation flag
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -10,6 +10,9 @@ trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
environment:
|
||||
TF_IN_AUTOMATION: "1"
|
||||
|
||||
steps:
|
||||
- name: terraform init
|
||||
image: hashicorp/terraform:1.1.8
|
||||
@@ -37,6 +40,10 @@ steps:
|
||||
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
|
||||
|
||||
- name: terraform apply
|
||||
when:
|
||||
@@ -51,6 +58,6 @@ steps:
|
||||
# - terraform apply -plan .tfplan -auto-approve
|
||||
---
|
||||
kind: signature
|
||||
hmac: 749e0dee63c0fa75bf15a7c3cf4cf0880acc60dc0ac417d2283a12f45216a7aa
|
||||
hmac: 89d5bf1708b13e28a7d08cb72e8cf00aacf990b3a45a5d4ab9691a6e07a8fb3b
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user