Skip to content

Commit

Permalink
Try renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
carlssonk committed Sep 28, 2024
1 parent e0cd35d commit b73baf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/cloudflare/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ locals {
ssl = app.cloudflare.ssl_mode
}
expression = app.subdomain == "www" ? "(http.host eq \"${app.root_domain}\" or http.host eq \"${app.subdomain}.${app.root_domain}\")" : "(http.host eq \"${app.subdomain}.${app.root_domain}\")"
description = "Cloudflare rules for ${app.app_name}"
description = "Cloudflare rules for ${app.app_name} (${var.environment})"
}] : []
])
}
Expand All @@ -50,8 +50,8 @@ resource "cloudflare_zone_settings_override" "this" {
resource "cloudflare_ruleset" "this" {
for_each = local.apps_grouped_by_root_domain
zone_id = data.cloudflare_zone.domain[each.key].id
name = "Dynamic Main Ruleset"
description = "Dynamic ruleset for managing app settings"
name = "Dynamic Main Ruleset (${var.environment})"
description = "Dynamic ruleset for managing app settings (${var.environment})"
kind = "zone"
phase = "http_config_settings"

Expand Down

0 comments on commit b73baf9

Please sign in to comment.