From c79124fe2d0bc57cb1808771ae1247f08acbb943 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Thu, 27 Jun 2024 05:13:11 -0700 Subject: [PATCH] Default EngineMode for E3686 is provisioned (#3425) --- .../serverless_exclusive.json | 3 +-- .../test_db_cluster_serverless_exclusive.py | 21 +------------------ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/serverless_exclusive.json b/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/serverless_exclusive.json index 5976fa7642..a669836ebb 100644 --- a/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/serverless_exclusive.json +++ b/src/cfnlint/data/schemas/extensions/aws_rds_dbcluster/serverless_exclusive.json @@ -46,8 +46,7 @@ }, "then": { "properties": { - "ScalingConfiguration": false, - "ServerlessV2ScalingConfiguration": false + "ScalingConfiguration": false } } } diff --git a/test/unit/rules/resources/rds/test_db_cluster_serverless_exclusive.py b/test/unit/rules/resources/rds/test_db_cluster_serverless_exclusive.py index ca90c590b8..cc82627b36 100644 --- a/test/unit/rules/resources/rds/test_db_cluster_serverless_exclusive.py +++ b/test/unit/rules/resources/rds/test_db_cluster_serverless_exclusive.py @@ -76,26 +76,7 @@ def rule(): ), ( {"ServerlessV2ScalingConfiguration": "foo"}, - [ - ValidationError( - ( - "Additional properties are not allowed " - "('ServerlessV2ScalingConfiguration')" - ), - rule=DbClusterServerlessExclusive(), - path=deque(["ServerlessV2ScalingConfiguration"]), - validator=None, - schema_path=deque( - [ - "allOf", - 2, - "then", - "properties", - "ServerlessV2ScalingConfiguration", - ] - ), - ) - ], + [], ), ( {"ScalingConfiguration": "foo"},