# ============================================================================= # 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" session_duration = "24h" skip_interstitial = true tags = ["engineers"] } # ============================================================================= # CLOUDFLARE : Access : Policies # ============================================================================= # 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 # ============================================================================= # # ============================================================================= # CLOUDFLARE : Access : Service auth # ============================================================================= #