Update gateway_setting.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 22s

This commit is contained in:
2025-11-17 12:40:13 +01:00
parent 9105f8f114
commit 077a6d4eee

View File

@@ -5,45 +5,74 @@
# #
resource "cloudflare_zero_trust_gateway_settings" "example_zero_trust_gateway_settings" { resource "cloudflare_zero_trust_gateway_settings" "example_zero_trust_gateway_settings" {
account_id = local.cloudflare_account_id account_id = local.cloudflare_account_id
block_page {
enabled = true
name = "Your Team Name"
header_text = "This website is blocked"
footer_text = "Some description"
logo_path = "https://example.com/logo.png"
background_color = "#e8e8e8"
}
antivirus { settings = {
enabled_download_phase = true activity_log = {
enabled_upload_phase = false enabled = true
fail_closed = false }
}
proxy { antivirus = {
tcp = true enabled_download_phase = true
udp = true enabled_upload_phase = false
} fail_closed = false
notification_settings = {
logging { enabled = true
redact_pii = true include_context = true
settings_by_rule_type { msg = "msg"
dns { support_url = "https://example.com/logo.png"
log_all = true
log_blocks = false
}
http {
log_all = true
log_blocks = false
}
l4 {
log_all = true
log_blocks = false
} }
} }
block_page = {
enabled = true
name = "Your Team Name"
header_text = "This website is blocked"
footer_text = "Some description"
include_context = true
logo_path = "https://example.com/logo.png"
background_color = "#e8e8e8"
}
body_scanning = {
inspection_mode = "deep"
}
browser_isolation = {
non_identity_enabled = true
url_browser_isolation_enabled = true
}
custom_certificate = {
enabled = true
id = "d1b364c5-1311-466e-a194-f0e943e0799f"
}
extended_email_matching = {
enabled = true
}
fips = {
tls = true
}
host_selector = {
enabled = false
}
inspection = {
mode = "static"
}
protocol_detection = {
enabled = true
}
sandbox = {
enabled = true
fallback_action = "allow"
}
tls_decrypt = {
enabled = true
}
} }
activity_log_enabled = true
tls_decrypt_enabled = false
} }