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

This commit is contained in:
2025-11-17 12:33:32 +01:00
parent 68544bf304
commit 9105f8f114

View File

@@ -5,70 +5,45 @@
# #
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
settings = { block_page {
activity_log = {
enabled = true 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 = {
enabled_download_phase = false antivirus {
enabled_download_phase = true
enabled_upload_phase = false enabled_upload_phase = false
fail_closed = false fail_closed = false
notification_settings = {
enabled = true
include_context = true
msg = "msg"
support_url = "support_url"
} }
proxy {
tcp = true
udp = true
} }
block_page = {
background_color = "background_color" logging {
enabled = true redact_pii = true
footer_text = "--footer--" settings_by_rule_type {
header_text = "--header--" dns {
include_context = true log_all = true
logo_path = "https://logos.com/a.png" log_blocks = false
mailto_address = "admin@tips-of-mine.org"
mailto_subject = "Blocked User Inquiry"
mode = ""
name = "Cloudflare"
suppress_footer = false
target_uri = "https://tips-of-mine.org"
} }
body_scanning = { http {
inspection_mode = "deep" log_all = true
log_blocks = false
} }
browser_isolation = { l4 {
non_identity_enabled = true log_all = true
url_browser_isolation_enabled = true log_blocks = false
}
certificate = {
id = "d1b364c5-1311-466e-a194-f0e943e0799f"
}
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
}