Skip to content

Commit

Permalink
Adding Speed Brain to TF override zone settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cf-ypark committed Sep 23, 2024
1 parent 4e12a27 commit 19c8afc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/resources/zone_settings_override.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ Optional:
- `security_level` (String)
- `server_side_exclude` (String)
- `sort_query_string_for_cache` (String)
- `speed_brain` (String)
- `ssl` (String)
- `tls_1_2_only` (String, Deprecated)
- `tls_1_3` (String)
Expand Down Expand Up @@ -230,6 +231,7 @@ Read-Only:
- `security_level` (String)
- `server_side_exclude` (String)
- `sort_query_string_for_cache` (String)
- `speed_brain` (String)
- `ssl` (String)
- `tls_1_2_only` (String)
- `tls_1_3` (String)
Expand Down
21 changes: 21 additions & 0 deletions internal/sdkv2provider/schema_cloudflare_zone_settings_override.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ var resourceCloudflareZoneSettingsSchema = map[string]*schema.Schema{
Computed: true,
},

"speed_brain": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
Optional: true,
Computed: true,
},

"email_obfuscation": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
Expand Down Expand Up @@ -642,6 +649,13 @@ var resourceCloudflareZoneSettingsSchemaV0 = map[string]*schema.Schema{
Computed: true,
},

"speed_brain": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
Optional: true,
Computed: true,
},

"email_obfuscation": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
Expand Down Expand Up @@ -1139,6 +1153,13 @@ var resourceCloudflareZoneSettingsSchemaV1 = map[string]*schema.Schema{
Computed: true,
},

"speed_brain": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
Optional: true,
Computed: true,
},

"email_obfuscation": {
Type: schema.TypeString,
ValidateFunc: validation.StringInSlice([]string{"on", "off"}, false),
Expand Down

0 comments on commit 19c8afc

Please sign in to comment.