This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -54,10 +54,19 @@ steps:
|
|||||||
- push
|
- push
|
||||||
image: hashicorp/terraform:1.1.8
|
image: hashicorp/terraform:1.1.8
|
||||||
commands:
|
commands:
|
||||||
- terraform show -plan .tfplan
|
- terraform apply -plan .tfplan
|
||||||
# - terraform apply -plan .tfplan -auto-approve
|
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
|
kind: signature
|
||||||
hmac: 89d5bf1708b13e28a7d08cb72e8cf00aacf990b3a45a5d4ab9691a6e07a8fb3b
|
hmac: 7b8d9484950222bb6fbef283c824a1270d5da4cfeb8b50b1c2eb2ef426b81ae4
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user