Skip to content

Commit

Permalink
Merge pull request #5124 from cloudflare/grit-support-for-inner-dns-r…
Browse files Browse the repository at this point in the history
…ecord-data

feat(grit): add more support for dns_record attributes
  • Loading branch information
jacobbednarz authored Feb 13, 2025
2 parents e7b7bb1 + 3dbe899 commit 1dbf5b4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,12 @@ pattern cloudflare_terraform_v5_attribute_renames_configuration() {
`ruleset_id = $v` as $attribute => `ruleset = {
id = $v
}` where { $attribute <: within `resource "cloudflare_web_analytics_site" $_ { $_ }` },

// cloudflare_record
`allow_overwrite = $id` => . where { $id <: within `resource "cloudflare_record" $_ { $_ }` },
`flags = "$v"`as $flag => `flags = $v` where { $flag <: within `resource "cloudflare_record" $_ { $_ }` },
`data { $inner }` as $data => `data = {
$inner
} `where { $data <: within `resource "cloudflare_record" $_ { $_ }` },
}
}

0 comments on commit 1dbf5b4

Please sign in to comment.