variables: add glauca TSIG secret
ci/woodpecker/push/dns Pipeline was successful Details

feature/glauca
Ariadne Conill 2022-07-17 20:06:52 +00:00
parent 94a034d9b1
commit d63adb31b6
2 changed files with 8 additions and 4 deletions

View File

@ -10,8 +10,8 @@ pipeline:
- cd dns
- terraform init
- terraform validate
- terraform plan -var "token=$LINODE_TOKEN"
secrets: [linode_token, aws_access_key_id, aws_secret_access_key]
- terraform plan -var "token=$LINODE_TOKEN" -var "secret=$GLAUCA_TSIG_SECRET"
secrets: [linode_token, aws_access_key_id, aws_secret_access_key, glauca_tsig_secret]
deploy:
image: alpine:3.16
@ -25,6 +25,6 @@ pipeline:
- cd dns
- terraform init
- terraform validate
- terraform plan -out deploy.plan -var "token=$LINODE_TOKEN"
- terraform plan -out deploy.plan -var "token=$LINODE_TOKEN" -var "secret=$GLAUCA_TSIG_SECRET"
- terraform apply deploy.plan
secrets: [linode_token, aws_access_key_id, aws_secret_access_key]
secrets: [linode_token, aws_access_key_id, aws_secret_access_key, glauca_tsig_secret]

View File

@ -1,3 +1,7 @@
variable "token" {
description = "Linode API token"
}
variable "secret" {
description = "TSIG secret"
}