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

cfn2py generates "from troposphere.lambda import Function" #573

Closed
maxi-milian opened this issue Sep 21, 2016 · 4 comments
Closed

cfn2py generates "from troposphere.lambda import Function" #573

maxi-milian opened this issue Sep 21, 2016 · 4 comments

Comments

@maxi-milian
Copy link

This import results in a syntax error (clash with Python lambda keyword).

With issue #268 the troposphere lambda module was renamed to awslambda to avoid this clash.
Hence, shouldn't cfn2py generate "from troposphere.awslambda import Function"?

@markpeek
Copy link
Member

Thanks for the issue. I just pushed a change that should fix it.

@markpeek
Copy link
Member

@maxi-milian ping...did this work for you?

@markpeek
Copy link
Member

markpeek commented Oct 7, 2016

Assuming it works now.

@markpeek markpeek closed this as completed Oct 7, 2016
@maxi-milian
Copy link
Author

maxi-milian commented Oct 12, 2016

Sorry for my late response.

Yes, it works. Appreciating your prompt fix, thanks a lot.

amosshapira pushed a commit to amosshapira/troposphere that referenced this issue Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Next Release
Completed
Development

No branches or pull requests

2 participants