From 6458c5f9cc98bd09a312f2691ebf60c27836e968 Mon Sep 17 00:00:00 2001 From: Jordan Jones Date: Fri, 29 Dec 2023 21:25:18 -0800 Subject: [PATCH] chore(tf): add provider block --- terraform/main/authentik/main.tf | 5 +++++ terraform/main/cloudflare/main.tf | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/terraform/main/authentik/main.tf b/terraform/main/authentik/main.tf index d4b420f41..cbc116175 100644 --- a/terraform/main/authentik/main.tf +++ b/terraform/main/authentik/main.tf @@ -14,6 +14,11 @@ terraform { } } +provider "onepassword" { + url = "http://onepassword-connect.kube-system.svc.cluster.local:80/" +} + + module "secret_authentik" { # Remember to export OP_CONNECT_HOST and OP_CONNECT_TOKEN source = "github.com/bjw-s/terraform-1password-item?ref=main" diff --git a/terraform/main/cloudflare/main.tf b/terraform/main/cloudflare/main.tf index a5c81b625..ded7d2d9f 100644 --- a/terraform/main/cloudflare/main.tf +++ b/terraform/main/cloudflare/main.tf @@ -3,7 +3,7 @@ terraform { hostname = "app.terraform.io" organization = "kashall" workspaces { - name = "home-cluster-cloudflare" + name = "cloudflare" } } required_providers { @@ -19,6 +19,11 @@ terraform { required_version = ">= 1.3.0" } +provider "onepassword" { + url = "http://onepassword-connect.kube-system.svc.cluster.local:80/" +} + + module "onepassword_item" { source = "github.com/bjw-s/terraform-1password-item?ref=main" vault = "Kubernetes"