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

This commit is contained in:
2025-11-14 18:19:53 +01:00
parent e067380df8
commit e5e3db01cb

View File

@@ -13,6 +13,11 @@ resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_a
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
}
# =============================================================================
# CLOUDFLARE : Access : Policies
# =============================================================================
@@ -20,7 +25,7 @@ resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_a
#
resource "cloudflare_zero_trust_access_policy" "home_network_policy" {
account_id = local.cloudflare_account_id
application_id = cloudflare_zero_trust_access_application.home_network_app.id
application_id = cloudflare_zero_trust_access_application.example_zero_trust_access_application.id
name = "Home Network Access Policy"
precedence = 1
decision = "allow"