ised-isde-canada / cbmdsp-cp-sp-overall-architecture

1 stars 1 forks source link

Task: Add CFNAPI stub to project #33

Open obriensystems opened 3 years ago

obriensystems commented 3 years ago

https://github.com/Kotaimen/awscfncli installing from https://pypi.org/project/awscfncli/#files and

https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html

OSX

brew update brew install python awscli pip3 install --upgrade cloudformation-cli-go-plugin go get -u github.com/aws-cloudformation/cloudformation-cli-go-plugin pip3 install --upgrade cloudformation-cli-java-plugin cfn-cli --version cfn 0.2.14

windows

C:\WINDOWS\system32>python --version Python 3.9.6

C:\WINDOWS\system32>python -m pip install --upgrade pip Requirement already satisfied: pip in c:\opt\python3\lib\site-packages (21.1.3)

C:\WINDOWS\system32>pip install --user --pre awscfncli2 Collecting awscfncli2 Downloading awscfncli2-3.0.1-py2.py3-none-any.whl (60 kB) |████████████████████████████████| 60 kB 194 kB/s Collecting click-completion==0.5.2 Downloading click-completion-0.5.2.tar.gz (10 kB) Collecting botocore Downloading botocore-1.21.0-py3-none-any.whl (7.7 MB) |████████████████████████████████| 7.7 MB 1.7 MB/s Collecting PyYAML<5.4,>=3.10 Downloading PyYAML-5.3.1-cp39-cp39-win_amd64.whl (212 kB) |████████████████████████████████| 212 kB 2.2 MB/s Collecting click~=7.0 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) |████████████████████████████████| 82 kB 416 kB/s Collecting awscli Downloading awscli-1.20.0-py3-none-any.whl (3.6 MB) |████████████████████████████████| 3.6 MB 1.3 MB/s Collecting backoff Downloading backoff-1.11.1-py2.py3-none-any.whl (13 kB) Collecting jsonschema>=2.6.0 Downloading jsonschema-4.0.0a2-py2.py3-none-any.whl (59 kB) |████████████████████████████████| 59 kB 3.2 MB/s Collecting boto3 Downloading boto3-1.18.0-py3-none-any.whl (131 kB) |████████████████████████████████| 131 kB 2.2 MB/s Collecting jinja2 Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB) |████████████████████████████████| 133 kB 1.3 MB/s Collecting six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting shellingham Downloading shellingham-1.4.0-py2.py3-none-any.whl (9.4 kB) Collecting attrs>=17.4.0 Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB) |████████████████████████████████| 53 kB 797 kB/s Collecting pyrsistent>=0.14.0 Downloading pyrsistent-0.18.0-cp39-cp39-win_amd64.whl (62 kB) |████████████████████████████████| 62 kB 458 kB/s Collecting colorama<0.4.4,>=0.2.5 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB) Collecting s3transfer<0.6.0,>=0.5.0 Downloading s3transfer-0.5.0-py3-none-any.whl (79 kB) |████████████████████████████████| 79 kB 1.6 MB/s Collecting docutils<0.16,>=0.10 Downloading docutils-0.15.2-py3-none-any.whl (547 kB) |████████████████████████████████| 547 kB 2.2 MB/s Collecting rsa<4.8,>=3.1.2 Downloading rsa-4.7.2-py3-none-any.whl (34 kB) Collecting jmespath<1.0.0,>=0.7.1 Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB) Collecting python-dateutil<3.0.0,>=2.1 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) |████████████████████████████████| 247 kB 3.3 MB/s Collecting urllib3<1.27,>=1.25.4 Downloading urllib3-1.26.6-py2.py3-none-any.whl (138 kB) |████████████████████████████████| 138 kB 2.2 MB/s Collecting pyasn1>=0.1.3 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) |████████████████████████████████| 77 kB 1.1 MB/s Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl (14 kB) Using legacy 'setup.py install' for click-completion, since package 'wheel' is not installed. Installing collected packages: six, urllib3, python-dateutil, jmespath, pyasn1, MarkupSafe, botocore, shellingham, s3transfer, rsa, PyYAML, pyrsistent, jinja2, docutils, colorama, click, attrs, jsonschema, click-completion, boto3, backoff, awscli, awscfncli2 WARNING: The scripts pyrsa-decrypt.exe, pyrsa-encrypt.exe, pyrsa-keygen.exe, pyrsa-priv2pub.exe, pyrsa-sign.exe and pyrsa-verify.exe are installed in 'C:\Users\obrienm\AppData\Roaming\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script jsonschema.exe is installed in 'C:\Users\obrienm\AppData\Roaming\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Running setup.py install for click-completion ... done WARNING: The script cfn-cli.exe is installed in 'C:\Users\obrienm\AppData\Roaming\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed MarkupSafe-2.0.1 PyYAML-5.3.1 attrs-21.2.0 awscfncli2-3.0.1 awscli-1.20.0 backoff-1.11.1 boto3-1.18.0 botocore-1.21.0 click-7.1.2 click-completion-0.5.2 colorama-0.4.3 docutils-0.15.2 jinja2-3.0.1 jmespath-0.10.0 jsonschema-4.0.0a2 pyasn1-0.4.8 pyrsistent-0.18.0 python-dateutil-2.8.2 rsa-4.7.2 s3transfer-0.5.0 shellingham-1.4.0 six-1.16.0 urllib3-1.26.6