Skip to content

Commit

Permalink
chore(tf): add provider block
Browse files Browse the repository at this point in the history
  • Loading branch information
kashalls committed Dec 30, 2023
1 parent ec1a871 commit 6458c5f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions terraform/main/authentik/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 6 additions & 1 deletion terraform/main/cloudflare/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
hostname = "app.terraform.io"
organization = "kashall"
workspaces {
name = "home-cluster-cloudflare"
name = "cloudflare"
}
}
required_providers {
Expand All @@ -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"
Expand Down

0 comments on commit 6458c5f

Please sign in to comment.