diff --git a/.changelog/4816.txt b/.changelog/4816.txt new file mode 100644 index 00000000000..b56fff9ed09 --- /dev/null +++ b/.changelog/4816.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/cloudflare_zone_settings_override: Add support for `aegis` +``` diff --git a/docs/resources/zone_settings_override.md b/docs/resources/zone_settings_override.md index 10be2fcd1b2..120e61dcef8 100644 --- a/docs/resources/zone_settings_override.md +++ b/docs/resources/zone_settings_override.md @@ -169,8 +169,9 @@ Required: ### Nested Schema for `settings.aegis` -Required: +Optional: +- `enabled` (Boolean) - `pool_id` (String) @@ -285,6 +286,7 @@ Read-Only: Read-Only: +- `enabled` (Boolean) - `pool_id` (String) diff --git a/internal/sdkv2provider/schema_cloudflare_zone_settings_override.go b/internal/sdkv2provider/schema_cloudflare_zone_settings_override.go index 81f162c75d8..b37e86759d2 100644 --- a/internal/sdkv2provider/schema_cloudflare_zone_settings_override.go +++ b/internal/sdkv2provider/schema_cloudflare_zone_settings_override.go @@ -576,9 +576,13 @@ var resourceCloudflareZoneSettingsSchema = map[string]*schema.Schema{ MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ + "enabled": { + Type: schema.TypeBool, + Optional: true, + }, "pool_id": { Type: schema.TypeString, - Required: true, + Optional: true, }, }, },