Skip to content

Commit

Permalink
refactor: to new secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Jul 29, 2024
1 parent 91785ed commit aec8faf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tf/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions tf/production/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion tf/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions tf/staging/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit aec8faf

Please sign in to comment.