Skip to content

Commit 39d0e4a

Browse files
authored
systemTags are sometimes ommitted in the request (#84)
1 parent 20f4657 commit 39d0e4a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/cloudformation_cli_python_lib/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class RequestData:
5050
providerLogGroupName: str
5151
logicalResourceId: str
5252
resourceProperties: Mapping[str, Any]
53-
systemTags: Mapping[str, Any]
53+
systemTags: Optional[Mapping[str, Any]] = None
5454
stackTags: Optional[Mapping[str, Any]] = None
5555
# platform credentials aren't really optional, but this is used to
5656
# zero them out to prevent e.g. accidental logging

tests/lib/utils_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def test_handler_request_serde_roundtrip():
8989
"logicalResourceId": "myBucket",
9090
"resourceProperties": {},
9191
"previousResourceProperties": None,
92-
"systemTags": {"aws:cloudformation:stack-id": "SampleStack"},
9392
"stackTags": {"tag1": "abc"},
9493
"previousStackTags": {"tag1": "def"},
9594
},

0 commit comments

Comments
 (0)