Skip to content

Commit

Permalink
Cleanup of AWS::IAM::Group
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Aug 5, 2024
1 parent 88908a4 commit 9c0bbc0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"path": "/definitions/Policy/properties/PolicyDocument",
"value": {
"type": [
"object"
"object",
"string"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"properties": {
"PolicyDocument": {
"type": [
"object"
"object",
"string"
]
},
"PolicyName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"properties": {
"PolicyDocument": {
"type": [
"object"
"object",
"string"
]
},
"PolicyName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"properties": {
"PolicyDocument": {
"type": [
"object"
"object",
"string"
]
},
"PolicyName": {
Expand Down
4 changes: 1 addition & 3 deletions src/cfnlint/schema/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ def _patch_provider_schema(
str(e),
)
except jsonpatch.JsonPatchTestFailed as e:
print(e, os.path.join(append_dir, file_path))
LOGGER.info(
"Patch test failed %s: %s",
os.path.join(append_dir, file_path),
Expand All @@ -448,9 +449,6 @@ def _patch_provider_schema(
str(e),
)
except Exception as e: # pylint: disable=broad-exception-caught
print(
"Exception", type(e), e, os.path.join(append_dir, file_path)
)
LOGGER.info(
"Unknown exception raised applying patch %s: %s",
os.path.join(append_dir, file_path),
Expand Down

0 comments on commit 9c0bbc0

Please sign in to comment.