You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running cfn test -- -k contract_invalid_create fails with this error:
cloudformation_cli_python_lib.exceptions.InternalFailure: __init__() got an unexpected keyword argument 'Arn' (TypeError)
Investigating the payload provided to the test endpoint, it fails because the resource properties are in the top-level request object instead of being in desiredResourceState and previousResourceState.
This seems to be a bug in the code that is generating the "invalid" create request.
Solution is to run tests excluding this problematic test:
cfn test -- -k 'not contract_invalid_create'
The text was updated successfully, but these errors were encountered:
Running
cfn test -- -k contract_invalid_create
fails with this error:Investigating the payload provided to the test endpoint, it fails because the resource properties are in the top-level request object instead of being in
desiredResourceState
andpreviousResourceState
.This seems to be a bug in the code that is generating the "invalid" create request.
Solution is to run tests excluding this problematic test:
The text was updated successfully, but these errors were encountered: