From 68d24859070fe1261112949f57031da5ab32afc9 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 13 Jan 2023 22:16:10 -0800 Subject: fmt --- clarkzjw.cc/infra/tunnel.tf | 3 +-- clarkzjw.cc/infra/variables.tf | 12 ++++++------ clarkzjw.cc/infra/versions.tf | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) (limited to 'clarkzjw.cc/infra') diff --git a/clarkzjw.cc/infra/tunnel.tf b/clarkzjw.cc/infra/tunnel.tf index ba929c2..81c6ed4 100644 --- a/clarkzjw.cc/infra/tunnel.tf +++ b/clarkzjw.cc/infra/tunnel.tf @@ -14,7 +14,7 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" { // It seems the `origin_request` here doesn't enable `no_tls_verify` in each ingress_rule // For now, you have to enable `no_tls_verify` in the dashboard origin_request { - no_tls_verify = true + no_tls_verify = true } ingress_rule { hostname = "bt.${var.homelab_main_domain}" @@ -25,7 +25,6 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" { hostname = "edgerouterx.${var.homelab_main_domain}" path = "/" service = "https://${var.edgerouterx_ip}" - } ingress_rule { service = "http_status:404" diff --git a/clarkzjw.cc/infra/variables.tf b/clarkzjw.cc/infra/variables.tf index dcee8e9..58e8976 100644 --- a/clarkzjw.cc/infra/variables.tf +++ b/clarkzjw.cc/infra/variables.tf @@ -16,18 +16,18 @@ variable "cloudflare_account_id" { variable "cloudflare_api_token" { description = "Cloudflare API token" - type = string - sensitive = true + type = string + sensitive = true } variable "cloudflare_access_application_email" { description = "Email addresses allowed in Cloudflare Access config" - type = string - sensitive = false + type = string + sensitive = false } variable "edgerouterx_ip" { description = "IP address for EdgeRouterX" - type = string - sensitive = false + type = string + sensitive = false } diff --git a/clarkzjw.cc/infra/versions.tf b/clarkzjw.cc/infra/versions.tf index 63e88c2..c939f2c 100644 --- a/clarkzjw.cc/infra/versions.tf +++ b/clarkzjw.cc/infra/versions.tf @@ -5,7 +5,7 @@ terraform { version = "~> 3.29" } random = { - source = "hashicorp/random" + source = "hashicorp/random" version = "~> 3.4.3" } } -- cgit v1.2.3