Update access.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 12s

This commit is contained in:
2025-11-14 18:12:46 +01:00
parent e150e6f800
commit 23aba81ed7

View File

@@ -4,9 +4,11 @@
#
resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_application" {
account_id = local.cloudflare_account_id
name = "Home Network Access Application"
session_duration = "24h"
account_id = local.cloudflare_account_id
name = "Home Network Access Application"
session_duration = "24h"
skip_interstitial = true
tags = ["engineers"]
}
# =============================================================================
@@ -14,6 +16,16 @@ resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_a
# =============================================================================
#
resource "cloudflare_zero_trust_access_policy" "home_network_policy" {
application_id = cloudflare_zero_trust_access_application.home_network_app.id
account_id = local.cloudflare_account_id
name = "Home Network Access Policy"
precedence = 1
decision = "allow"
include {
email = "thedjinhn@gmail.com"
}
}
# =============================================================================
# CLOUDFLARE : Access : Rule groups