Skip to content

Commit

Permalink
Merge pull request #1822 from cloudflare/tamas/browser_cache_ttl_sync…
Browse files Browse the repository at this point in the history
…_validation_values

browser_cache_ttl: keep validation values in sync with public API
  • Loading branch information
jacobbednarz committed Aug 8, 2022
2 parents 26f370f + bc6e8b0 commit 7b88f69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/1822.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/cloudflare_zone_settings_override: add missing allowed value of 120 for `browser_cache_ttl`
```
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var resourceCloudflareZoneSettingsSchema = map[string]*schema.Schema{
Type: schema.TypeInt,
Optional: true,
Computed: true,
ValidateFunc: validation.IntInSlice([]int{0, 30, 60, 300, 1200, 1800, 3600, 7200, 10800, 14400, 18000, 28800,
ValidateFunc: validation.IntInSlice([]int{0, 30, 60, 120, 300, 1200, 1800, 3600, 7200, 10800, 14400, 18000, 28800,
43200, 57600, 72000, 86400, 172800, 259200, 345600, 432000, 691200, 1382400, 2073600, 2678400, 5356800,
16070400, 31536000}),
// minimum TTL available depends on the plan level of the zone.
Expand Down

0 comments on commit 7b88f69

Please sign in to comment.