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
Looks like one problem is troposphere has a new major version, and requirements.txt lists the older: https://github.com/cloudtools/troposphere/releases
It actually downgraded my troposphere to an old version that gave me the same error. (Also while I'm here, it would be nice to use botocore instead of boto since I've already got the AWS CLI installed with pip, and boto uses aws_security_token instead of aws_session_token.)
Activity
pas256 commentedon Aug 15, 2015
That may mean the version of troposphere you have is an older one.
Run it again after running
joshuadfranklin commentedon Nov 18, 2015
Hi,
Looks like one problem is troposphere has a new major version, and requirements.txt lists the older: https://github.com/cloudtools/troposphere/releases
It actually downgraded my troposphere to an old version that gave me the same error. (Also while I'm here, it would be nice to use botocore instead of boto since I've already got the AWS CLI installed with pip, and boto uses aws_security_token instead of aws_session_token.)
$ cat requirements.txt
awacs==0.5.0
boto==2.38.0
docopt==0.6.2
PyYAML==3.11
troposphere==0.7.2
$ pip install -r requirements.txt
Collecting awacs==0.5.0 (from -r requirements.txt (line 1))
Downloading awacs-0.5.0.tar.gz
Collecting boto==2.38.0 (from -r requirements.txt (line 2))
Downloading boto-2.38.0-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 308kB/s
Collecting docopt==0.6.2 (from -r requirements.txt (line 3))
Downloading docopt-0.6.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.11 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 4))
Collecting troposphere==0.7.2 (from -r requirements.txt (line 5))
Downloading troposphere-0.7.2.tar.gz (45kB)
100% |████████████████████████████████| 49kB 3.6MB/s Installing collected packages: awacs, boto, docopt, troposphere
Running setup.py install for awacs
Running setup.py install for docopt
Found existing installation: troposphere 1.3.0
Uninstalling troposphere-1.3.0:
Successfully uninstalled troposphere-1.3.0
Running setup.py install for troposphere
Successfully installed awacs-0.5.0 boto-2.38.0 docopt-0.6.2 troposphere-0.7.2
$ ./resources.py cf
ERROR
Resource Subscription required in type AWS::SNS::Topic
Resource Subscription required in type AWS::SNS::Topic
$ pip install troposphere -U
Collecting troposphere
Downloading troposphere-1.3.0.tar.gz (57kB)
100% |████████████████████████████████| 57kB 1.3MB/s
Installing collected packages: troposphere
Found existing installation: troposphere 0.7.2
Uninstalling troposphere-0.7.2:
Successfully uninstalled troposphere-0.7.2
Running setup.py install for troposphere
Successfully installed troposphere-1.3.0
$ ./resources.py cf
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Lambda Chat AWS Resources" . . .