From 4bd5c69be9d6bd80bc4cc817725e030473062ccf Mon Sep 17 00:00:00 2001 From: Benjamin Okkema Date: Mon, 5 Aug 2024 21:38:10 -0500 Subject: [PATCH] fix: migration api token --- terraform/main.tf | 7 ++++--- terraform/variables.tf | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) 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" {