From 395b8f1a1b2aaf53c0214543efe64943247f839a Mon Sep 17 00:00:00 2001 From: Zaidoon Abd Al Hadi Date: Mon, 30 Dec 2024 14:36:36 -0500 Subject: [PATCH] fix up --- .changelog/4816.txt | 3 +++ docs/resources/zone_settings_override.md | 4 +++- .../schema_cloudflare_zone_settings_override.go | 6 +++++- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .changelog/4816.txt 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, }, }, },