variables: add glauca TSIG secret
ci/woodpecker/push/dns Pipeline was successful
Details
ci/woodpecker/push/dns Pipeline was successful
Details
parent
94a034d9b1
commit
d63adb31b6
|
@ -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]
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
variable "token" {
|
||||
description = "Linode API token"
|
||||
}
|
||||
|
||||
variable "secret" {
|
||||
description = "TSIG secret"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue