Skip to content

Commit

Permalink
zero_trust
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Nov 21, 2024
1 parent a54a4ca commit b5ce054
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module "cname-records" {

module "zero-trust-app" {
source = "./modules/zero_trust_application"
cloudflare_zone_id = var.cloudflare_zone_id
cloudflare_api_key = var.cloudflare_api_key

names = ["ollama", "argocd", "ceph", "grafana", "oauth2"]
Expand Down
1 change: 0 additions & 1 deletion terraform/modules/zero_trust_application/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ resource "cloudflare_zero_trust_access_application" "app" {
for_each = { for idx, name in var.names : idx => name }

account_id = var.cloudflare_api_key
zone_id = var.cloudflare_zone_id

name = each.value
domain = "${each.value}.ninebasetwo.net"
Expand Down
5 changes: 0 additions & 5 deletions terraform/modules/zero_trust_application/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ variable "names" {
type = list(string)
}

variable "cloudflare_zone_id" {
description = "The zone ID for Cloudflare"
type = string
}

variable "cloudflare_api_key" {
description = "The API key for Cloudflare"
type = string
Expand Down

0 comments on commit b5ce054

Please sign in to comment.