Skip to content

Commit

Permalink
Fix issue in I3013 with multiple resources (#3212)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored May 3, 2024
1 parent 2b18a48 commit f8b97dc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self) -> None:
filename="backupretentionperiod.json",
),
)
self._rds_schema = self._schema
self._properties: Dict[str, List[Dict[str, str]]] = {
"AWS::Kinesis::Stream": [
{
Expand Down Expand Up @@ -118,5 +119,7 @@ def validate(self, validator, keywords, instance, schema):
required.append(property)

self._schema = {"required": required}
else:
self._schema = self._rds_schema

return super().validate(validator, keywords, instance, schema)

0 comments on commit f8b97dc

Please sign in to comment.