Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudFormation Resource Provider contract_invalid_create test fails #4

Open
tomwwright opened this issue Aug 31, 2020 · 0 comments
Open
Labels

Comments

@tomwwright
Copy link
Owner

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'
@tomwwright tomwwright added type/bug Broken functionality and removed type/bug Broken functionality labels Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant