aws-samples / aws-proton-cloudformation-sample-templates

Sample templates for AWS Proton
https://aws.amazon.com/proton
MIT No Attribution
277 stars 440 forks source link

upgrading aws cli version to latest 1.9.x version #39

Closed abhivr-amazon closed 3 years ago

abhivr-amazon commented 3 years ago

https://t.corp.amazon.com/D24538641

Adding commands to upgrade aws cli version to latest 1.9.x version before running aws proton commands

Instructions : https://docs.aws.amazon.com/cli/latest/userguide/install-linux-al2017.html

[Container] 2021/06/24 14:55:27 Entering phase BUILD
[Container] 2021/06/24 14:55:27 Running command pip3 install --upgrade --user awscli
Collecting awscli
  Downloading awscli-1.19.99-py2.py3-none-any.whl (3.6 MB)
Requirement already satisfied, skipping upgrade: docutils<0.16,>=0.10 in /root/.pyenv/versions/3.8.8/lib/python3.8/site-packages (from awscli) (0.15.2)
.
.
.
Installing collected packages: botocore, awscli
Successfully installed awscli-1.19.99 botocore-1.20.99
--

Requirement already 
satisfied, skipping upgrade: colorama&lt;0.4.4,&gt;=0.2.5 in 
/root/.pyenv/versions/3.8.8/lib/python3.8/site-packages (from awscli) 
(0.4.3)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.