aws-cloudformation / cloudformation-cli-python-plugin

The CloudFormation Provider Development Toolkit Python Plugin allows you to autogenerate Python code based on an input schema.
Apache License 2.0
108 stars 47 forks source link

Creation of custom resource fails with: __init__() got an unexpected keyword argument 'previousSystemTags' (TypeError) #136

Closed ArnoldKell closed 3 years ago

ArnoldKell commented 3 years ago

My custom resource provider (which has been working great for the past couple of months) seems have a problem which I can't quite put my finger on. It seems to have been happening since I upgraded cloudformation-cli-python-lib from 2.1.0 to 2.1.3.

When I am creating a resource using my custom resource provider, I get this error: __init__() got an unexpected keyword argument 'previousSystemTags' (TypeError)

I was running into the same issue as #130 so I updated the library, as recommended in that issue. I got rid of my original issue, but now I get this instead and I can't find any information about it online.

ammokhov commented 3 years ago

could you try changing requirements.txt to 2.1.3?

ArnoldKell commented 3 years ago

could you try changing requirements.txt to 2.1.3?

Yes, that is how I updated the package. I also updated it in my local machine just to be certain. I also updated cloudformation-cli-python-plugin in my machine to see if that would help, but unfortunately I had no luck with that either.

ammokhov commented 3 years ago

@ArnoldKell thanks for raising the issue. We will prioritize the fix

maintux commented 3 years ago

The same error here :( Now our stack is blocked ...

ArnoldKell commented 3 years ago

The error seems to occur even when referring to attributes of the custom resource.

yiuc commented 3 years ago

We got same problem in CN region. Tried version 2.1.3

ammokhov commented 3 years ago

recently released 2.1.4