Skip to content

Commit

Permalink
Temp fix removed cloudflare_zone_settings_override
Browse files Browse the repository at this point in the history
  • Loading branch information
carlssonk committed Sep 28, 2024
1 parent 2545eb8 commit 43a2d06
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions modules/cloudflare/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,15 @@ data "cloudflare_zone" "domain" {
name = each.key
}

resource "cloudflare_zone_settings_override" "this" {
for_each = local.apps_grouped_by_root_domain
zone_id = data.cloudflare_zone.domain[each.key].id
# resource "cloudflare_zone_settings_override" "this" {
# for_each = local.apps_grouped_by_root_domain
# zone_id = data.cloudflare_zone.domain[each.key].id

settings {
ssl = "full"
always_use_https = "on"
replace_insecure_js = "off"
}
}
# settings {
# ssl = "full"
# always_use_https = "on"
# }
# }

resource "cloudflare_ruleset" "this" {
for_each = local.apps_grouped_by_root_domain
Expand Down

0 comments on commit 43a2d06

Please sign in to comment.