From aec8faffe929d1239532f7fc74dbfd98e2bd0993 Mon Sep 17 00:00:00 2001 From: dd84ai Date: Mon, 29 Jul 2024 18:59:15 +0200 Subject: [PATCH] refactor: to new secrets --- tf/production/main.tf | 2 +- tf/production/providers.tf | 4 ++-- tf/staging/main.tf | 2 +- tf/staging/providers.tf | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tf/production/main.tf b/tf/production/main.tf index 69416ef..8116702 100644 --- a/tf/production/main.tf +++ b/tf/production/main.tf @@ -8,7 +8,7 @@ module "server" { } data "external" "secrets_darkbot" { - program = ["pass", "api/personal/terraform/hetzner/darkbot/production"] + program = ["pass", "personal/terraform/hetzner/darkbot/production"] } locals { diff --git a/tf/production/providers.tf b/tf/production/providers.tf index a4a0851..3d0ba8b 100644 --- a/tf/production/providers.tf +++ b/tf/production/providers.tf @@ -20,11 +20,11 @@ terraform { } data "external" "secrets_cloudflare" { - program = ["pass", "api/personal/terraform/cloudflare/dd84ai"] + program = ["pass", "personal/terraform/cloudflare/dd84ai"] } data "external" "secrets_hetzner" { - program = ["pass", "api/personal/terraform/hetzner/production"] + program = ["pass", "personal/terraform/hetzner/production"] } provider "hcloud" { diff --git a/tf/staging/main.tf b/tf/staging/main.tf index 518716d..a6256bc 100644 --- a/tf/staging/main.tf +++ b/tf/staging/main.tf @@ -4,7 +4,7 @@ module "server" { } data "external" "secrets_darkbot" { - program = ["pass", "api/personal/terraform/hetzner/darkbot/staging"] + program = ["pass", "personal/terraform/hetzner/darkbot/staging"] } locals { diff --git a/tf/staging/providers.tf b/tf/staging/providers.tf index 756e01e..9e04ac3 100644 --- a/tf/staging/providers.tf +++ b/tf/staging/providers.tf @@ -23,11 +23,11 @@ terraform { } data "external" "secrets_cloudflare" { - program = ["pass", "api/personal/terraform/cloudflare/dd84ai"] + program = ["pass", "personal/terraform/cloudflare/dd84ai"] } data "external" "secrets_hetzner" { - program = ["pass", "api/personal/terraform/hetzner/production"] + program = ["pass", "personal/terraform/hetzner/production"] } provider "hcloud" {