From 59c20b959bd39914ea9fd0cd00c45095865dff49 Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Fri, 14 Nov 2025 18:56:51 +0100 Subject: [PATCH] Update access_applications.tf --- access_applications.tf | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/access_applications.tf b/access_applications.tf index 4287ca8..3001999 100644 --- a/access_applications.tf +++ b/access_applications.tf @@ -1 +1,19 @@ -# \ No newline at end of file +# ============================================================================= +# CLOUDFLARE : Access : Applications +# ============================================================================= + +# +resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_application" { + account_id = local.cloudflare_account_id + name = "Home Network Access Application" + domain = "home.tips-of-mine.org" + type = "self_hosted" + session_duration = "24h" + skip_interstitial = true + tags = ["engineers"] +} + +data "cloudflare_zero_trust_access_application" "example_zero_trust_access_application" { + account_id = local.cloudflare_account_id + app_id = cloudflare_zero_trust_access_application.example_zero_trust_access_application.id +}