diff --git a/terraform/main.tf b/terraform/main.tf index fd2b781..9dd1554 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -43,9 +43,10 @@ module "page" { pages_hostname = var.pages_hostname production_secrets = { - GOOGLE_CREDENTIALS = var.GOOGLE_CREDENTIALS - MAILJET_SECRET_KEY = var.MAILJET_SECRET_KEY - RSA_PRIVATE_KEY = var.RSA_PRIVATE_KEY + GOOGLE_CREDENTIALS = var.GOOGLE_CREDENTIALS + MAILJET_SECRET_KEY = var.MAILJET_SECRET_KEY + RSA_PRIVATE_KEY = var.RSA_PRIVATE_KEY + CLOUDFLARE_API_TOKEN = var.D1_CLOUDFLARE_API_TOKEN } production_buckets = { diff --git a/terraform/variables.tf b/terraform/variables.tf index 427f177..9ad7665 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -21,6 +21,9 @@ variable "RSA_PRIVATE_KEY" { sensitive = true } variable "WORKER_SCHEDULE" {} +variable "D1_CLOUDFLARE_API_TOKEN" { + sensitive = true +} # GitHub Actions Secrets variable "TF_API_TOKEN" {