Skip to content

Commit

Permalink
grit: add pattern for minify removal
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Jul 31, 2024
1 parent 7024045 commit c5d9559
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changelog/3521.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:note
resource/zone_settings_override: deprecate `minify` setting and include state migration to remove from local state. You should immediately remove the configuration from the resource to prevent permadiffs.
resource/zone_settings_override: deprecate `minify` setting and include state migration to remove from local state. You should immediately remove the configuration from the resource to prevent permadiffs. Automatic migration of user configuration can be handled with [Grit](https://docs.grit.io/cli/quickstart) by running `grit apply github.com/cloudflare/terraform-provider-cloudflare#cloudflare_zone_settings_override_remove_minify`
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
engine marzano(0.1)
language hcl

pattern cloudflare_zone_settings_override_deprecate_minify() {
`minify { $_ }` as $minify => . where {
$minify <: within `resource "cloudflare_zone_settings_override" $_ { $_ }`
}
}

0 comments on commit c5d9559

Please sign in to comment.