Skip to content

fix(ruleset): convert action_parameters.rules map values from strings to lists#277

Merged
tamas-jozsa merged 2 commits intomainfrom
fix-ruleset-migration
Apr 16, 2026
Merged

fix(ruleset): convert action_parameters.rules map values from strings to lists#277
tamas-jozsa merged 2 commits intomainfrom
fix-ruleset-migration

Conversation

@tamas-jozsa
Copy link
Copy Markdown
Collaborator

In v4, action_parameters.rules in skip/execute rules was map(string) where
values were single or comma-separated rule IDs. In v5, this changed to
map(list(string)) where every value must be an explicit list.

The migrator was not handling this conversion, causing terraform plan to fail
with 'list of string required' after migration.

… to lists

In v4, action_parameters.rules in skip/execute rules was map(string) where
values were single or comma-separated rule IDs. In v5, this changed to
map(list(string)) where every value must be an explicit list.

The migrator was not handling this conversion, causing terraform plan to fail
with 'list of string required' after migration.
…n up redundant rules

Add exemptions for three new drift patterns found in api-team-production:
- terminates = false -> null (LB rules, via new global bool-to-null patterns)
- notification_filter empty removal (LB pool, new in v5 provider)
- value int-to-string coercion (zone setting, v5 DynamicAttribute)

Clean up existing exemptions:
- Add global '= false -> null' / '= true -> null' patterns for optional
  bool state upgrader gaps
- Remove load_balancer.yaml (covered by global)
- Remove redundant computed_only_fields (zero_trust_dlp_predefined_profile)
- Remove redundant status_pending_to_null, tighten patterns (zone_dnssec)
- Remove dead session_duration_normalization (zero_trust_access_policy)
- Remove test-data-specific patterns from origins_reorder_drift (LB pool)
- Fix verbose_exemptions debug leftover (zero_trust_local_fallback_domain)
@tamas-jozsa tamas-jozsa merged commit 0680bff into main Apr 16, 2026
9 checks passed
@tamas-jozsa tamas-jozsa deleted the fix-ruleset-migration branch April 16, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant