Created
May 30, 2019 14:17
-
-
Save atheiman/a318bc51d273c7e9b13430a3d8febcfc to your computer and use it in GitHub Desktop.
cloud custodian trailcreator no workey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cloud-custodian $ python3 -m venv ~/tmp/c7n-trailcreator | |
cloud-custodian $ source ~/tmp/c7n-trailcreator/bin/activate | |
(c7n-trailcreator) cloud-custodian $ python -V | |
Python 3.6.2 | |
(c7n-trailcreator) cloud-custodian $ pip freeze | |
You are using pip version 9.0.1, however version 19.1.1 is available. | |
You should consider upgrading via the 'pip install --upgrade pip' command. | |
(c7n-trailcreator) cloud-custodian $ pip install c7n_trailcreator | |
Collecting c7n_trailcreator | |
Using cached https://files.pythonhosted.org/packages/f0/ec/9fba246762951275d6f9556eaae4885bc52ff32c8334a46e69c33cc9b4cf/c7n_trailcreator-0.1.2.tar.gz | |
Collecting c7n (from c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/d7/a1/d858cc1b96dd8302ab72f32ce5d0fa774c6ab3b5cf580ac77def96416ef9/c7n-0.8.43.1.tar.gz | |
Collecting click (from c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl | |
Collecting boto3>=1.9.94 (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/cd/b0/8e67d52f8787370828709fe4cad39184e65f3fec28023b78c2556a04be0c/boto3-1.9.158-py2.py3-none-any.whl | |
Collecting botocore>=1.12.94 (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/18/21/1e6f12ef2642786bda935f9936bfe3a3f19466a1f3f7e079053421a39f0a/botocore-1.12.158-py2.py3-none-any.whl | |
Collecting python-dateutil<3.0.0,>=2.6 (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl | |
Collecting PyYAML>=4.2b4 (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/9f/2c/9417b5c774792634834e730932745bc09a7d36754ca00acf1ccd1ac2594d/PyYAML-5.1.tar.gz | |
Collecting jsonschema (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/aa/69/df679dfbdd051568b53c38ec8152a3ab6bc533434fc7ed11ab034bf5e82f/jsonschema-3.0.1-py2.py3-none-any.whl | |
Collecting jsonpatch>=1.21 (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/a0/e6/d50d526ae2218b765ddbdb2dda14d65e19f501ce07410b375bc43ad20b7a/jsonpatch-1.23-py2.py3-none-any.whl | |
Collecting argcomplete (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl | |
Collecting tabulate==0.8.2 (from c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/12/c2/11d6845db5edf1295bc08b2f488cf5937806586afe42936c3f34c097ebdc/tabulate-0.8.2.tar.gz | |
Collecting jmespath<1.0.0,>=0.7.1 (from boto3>=1.9.94->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl | |
Collecting s3transfer<0.3.0,>=0.2.0 (from boto3>=1.9.94->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/d7/de/5737f602e22073ecbded7a0c590707085e154e32b68d86545dcc31004c02/s3transfer-0.2.0-py2.py3-none-any.whl | |
Collecting urllib3<1.26,>=1.20; python_version >= "3.4" (from botocore>=1.12.94->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3-py2.py3-none-any.whl | |
Collecting docutils>=0.10 (from botocore>=1.12.94->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl | |
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.6->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl | |
Collecting attrs>=17.4.0 (from jsonschema->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl | |
Collecting pyrsistent>=0.14.0 (from jsonschema->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/68/0b/f514e76b4e074386b60cfc6c8c2d75ca615b81e415417ccf3fac80ae0bf6/pyrsistent-0.15.2.tar.gz | |
Requirement already satisfied: setuptools in /Users/austinheiman/tmp/c7n-trailcreator/lib/python3.6/site-packages (from jsonschema->c7n->c7n_trailcreator) | |
Collecting jsonpointer>=1.9 (from jsonpatch>=1.21->c7n->c7n_trailcreator) | |
Using cached https://files.pythonhosted.org/packages/18/b0/a80d29577c08eea401659254dfaed87f1af45272899e1812d7e01b679bc5/jsonpointer-2.0-py2.py3-none-any.whl | |
Installing collected packages: jmespath, urllib3, six, python-dateutil, docutils, botocore, s3transfer, boto3, PyYAML, attrs, pyrsistent, jsonschema, jsonpointer, jsonpatch, argcomplete, tabulate, c7n, click, c7n-trailcreator | |
Running setup.py install for PyYAML ... done | |
Running setup.py install for pyrsistent ... done | |
Running setup.py install for tabulate ... done | |
Running setup.py install for c7n ... done | |
Running setup.py install for c7n-trailcreator ... done | |
Successfully installed PyYAML-5.1 argcomplete-1.10.0 attrs-19.1.0 boto3-1.9.158 botocore-1.12.158 c7n-0.8.43.1 c7n-trailcreator-0.1.2 click-7.0 docutils-0.14 jmespath-0.9.4 jsonpatch-1.23 jsonpointer-2.0 jsonschema-3.0.1 pyrsistent-0.15.2 python-dateutil-2.8.0 s3transfer-0.2.0 six-1.12.0 tabulate-0.8.2 urllib3-1.25.3 | |
You are using pip version 9.0.1, however version 19.1.1 is available. | |
You should consider upgrading via the 'pip install --upgrade pip' command. | |
(c7n-trailcreator) cloud-custodian $ pip freeze | |
argcomplete==1.10.0 | |
attrs==19.1.0 | |
boto3==1.9.158 | |
botocore==1.12.158 | |
c7n==0.8.43.1 | |
c7n-trailcreator==0.1.2 | |
Click==7.0 | |
docutils==0.14 | |
jmespath==0.9.4 | |
jsonpatch==1.23 | |
jsonpointer==2.0 | |
jsonschema==3.0.1 | |
pyrsistent==0.15.2 | |
python-dateutil==2.8.0 | |
PyYAML==5.1 | |
s3transfer==0.2.0 | |
six==1.12.0 | |
tabulate==0.8.2 | |
urllib3==1.25.3 | |
You are using pip version 9.0.1, however version 19.1.1 is available. | |
You should consider upgrading via the 'pip install --upgrade pip' command. | |
(c7n-trailcreator) cloud-custodian $ c7n-trailcreator --help | |
Traceback (most recent call last): | |
File "/Users/austinheiman/tmp/c7n-trailcreator/bin/c7n-trailcreator", line 11, in <module> | |
load_entry_point('c7n-trailcreator==0.1.2', 'console_scripts', 'c7n-trailcreator')() | |
File "/Users/austinheiman/tmp/c7n-trailcreator/lib/python3.6/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/Users/austinheiman/tmp/c7n-trailcreator/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point | |
return ep.load() | |
File "/Users/austinheiman/tmp/c7n-trailcreator/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2291, in load | |
return self.resolve() | |
File "/Users/austinheiman/tmp/c7n-trailcreator/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2297, in resolve | |
module = __import__(self.module_name, fromlist=['__name__'], level=0) | |
ModuleNotFoundError: No module named 'c7n_trailcreator' | |
(c7n-trailcreator) cloud-custodian $ custodian --help | |
usage: custodian [-h] {run,schema,report,logs,metrics,version,validate} ... | |
Cloud Custodian - Cloud fleet management | |
optional arguments: | |
-h, --help show this help message and exit | |
commands: | |
{run,schema,report,logs,metrics,version,validate} | |
run Execute the policies in a config file | |
schema Interactive cli docs for policy authors | |
report Tabular report on policy matched resources | |
logs Get policy execution logs | |
metrics Retrieve policy execution metrics. | |
version Display installed version of custodian | |
validate Validate config files against the json schema |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment