-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
AttributeError: 'Template' object has no attribute 'add_description' #2225
Comments
I experienced this exact issue this morning. Your quick fix solved my problem. Thank you! |
Same here, using Thanks |
@Anjalibhatt As said, downgrading to |
I met the same error in zappa 0.53.0. I use
important! Finally, I ran below and succeeded :>
|
As mentioned in this stackoverflow answer, Since version 3.0.0, the package troposphere removed the deprecated Template methods (see the changelog).
The above issue can be fixed by adding troposphere<3 in the requirements file. |
Is there any update on this fix? The troposphere solution was working for some time, but now
This also seems to be a consistent issue on all projects using However the issue is now we can resolve the Anyone have any advice? |
UPDATE
|
Context
Setup of a Django environment for deployment onto AWS Lambda. Had the following pip packages installed
pip install NearBeach zappa pymysql django-storages cryptography
Ran the following command
zappa update
to update my live environment.Expected Behavior
Zappa to deploy the site correctly.
Actual Behavior
Failed to deploy. With the following errors (pulled from my terminal)
Possible Fix
As discussed on the stackoverflow - https://stackoverflow.com/questions/68391621/zappa-deploy-fails-with-attributeerror-template-object-has-no-attribute-add - the error looks like it has something to do with the NEW troposphere.
Running the following command (i.e. downgrading the troposphere) worked for me:
pip install troposphere==2.7.1
Your Environment
pip freeze
:The text was updated successfully, but these errors were encountered: