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"},