Skip to content

Commit ff9f4aa

Browse files
Merge branch 'certsStackPythonVersionFailureFix' into 'develop'
Fix pip and python version compatiility issue in Certificate stack See merge request mwvaughn/aws-hpc-recipes!107
2 parents bed64f5 + b9a8863 commit ff9f4aa

File tree

1 file changed

+2
-2
lines changed
  • recipes/security/public_certs/assets

1 file changed

+2
-2
lines changed

recipes/security/public_certs/assets/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Resources:
153153
mkdir -p $HOME
154154
155155
cd /tmp
156-
wget https://bootstrap.pypa.io/get-pip.py
156+
wget https://bootstrap.pypa.io/pip/3.7/get-pip.py
157157
python3 ./get-pip.py
158158
pip3 install boto3
159159
eval $(python3 -c "from botocore.credentials import InstanceMetadataProvider, InstanceMetadataFetcher; provider = InstanceMetadataProvider(iam_role_fetcher=InstanceMetadataFetcher(timeout=1000, num_attempts=2)); c = provider.load().get_frozen_credentials(); print(f'export AWS_ACCESS_KEY_ID={c.access_key}'); print(f'export AWS_SECRET_ACCESS_KEY={c.secret_key}'); print(f'export AWS_SESSION_TOKEN={c.token}')")
@@ -305,7 +305,7 @@ Resources:
305305
mkdir -p $HOME
306306
307307
cd /tmp
308-
wget https://bootstrap.pypa.io/get-pip.py
308+
wget https://bootstrap.pypa.io/pip/3.7/get-pip.py
309309
python3 ./get-pip.py
310310
pip3 install boto3
311311
eval $(python3 -c "from botocore.credentials import InstanceMetadataProvider, InstanceMetadataFetcher; provider = InstanceMetadataProvider(iam_role_fetcher=InstanceMetadataFetcher(timeout=1000, num_attempts=2)); c = provider.load().get_frozen_credentials(); print(f'export AWS_ACCESS_KEY_ID={c.access_key}'); print(f'export AWS_SECRET_ACCESS_KEY={c.secret_key}'); print(f'export AWS_SESSION_TOKEN={c.token}')")

0 commit comments

Comments
 (0)