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"