-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
Description
aws-cloudformation/cloudformation-cli@b8466be added new fields to the test event, which are causing an exception when running cfn test
START RequestId: af819c5a-99f5-1d9c-ad69-7614c2c1d235 Version: $LATEST
[ERROR] 2020-08-07T21:56:25.652Z af819c5a-99f5-1d9c-ad69-7614c2c1d235 Invalid request
Traceback (most recent call last):
File "/var/task/cloudformation_cli_python_lib/resource.py", line 103, in _parse_test_request
**event.request
TypeError: __init__() got an unexpected keyword argument 'region'
[ERROR] 2020-08-07T21:56:25.653Z af819c5a-99f5-1d9c-ad69-7614c2c1d235 Handler error
Traceback (most recent call last):
File "/var/task/cloudformation_cli_python_lib/resource.py", line 103, in _parse_test_request
**event.request
TypeError: __init__() got an unexpected keyword argument 'region'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/task/cloudformation_cli_python_lib/resource.py", line 119, in test_entrypoint
session, request, action, callback_context = self._parse_test_request(event)
File "/var/task/cloudformation_cli_python_lib/resource.py", line 110, in _parse_test_request
raise InternalFailure(f"{e} ({type(e).__name__})") from e
cloudformation_cli_python_lib.exceptions.InternalFailure: __init__() got an unexpected keyword argument 'region' (TypeError)
END RequestId: af819c5a-99f5-1d9c-ad69-7614c2c1d235
wnkz, mdaehnert, joseph-behrens and jamesoff