From 55530fd1a1e35a343b2dcba264ec90108a1e2b42 Mon Sep 17 00:00:00 2001 From: Sumit Anand Date: Mon, 12 Feb 2024 15:49:32 +0530 Subject: [PATCH 1/2] applying boto3==1.34.35 in DeployFrontend action --- deploy/stacks/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/stacks/pipeline.py b/deploy/stacks/pipeline.py index 9af4de40e..38ef673e5 100644 --- a/deploy/stacks/pipeline.py +++ b/deploy/stacks/pipeline.py @@ -793,7 +793,7 @@ def set_cloudfront_stage(self, target_env): 'echo "credential_source = EcsContainer" >> ~/.aws/config', 'aws sts get-caller-identity --profile buildprofile', 'export AWS_PROFILE=buildprofile', - 'pip install boto3==1.20.50', + 'pip install boto3==1.34.35', 'pip install beautifulsoup4', 'python deploy/configs/frontend_config.py', 'export AWS_DEFAULT_REGION=us-east-1', From d07a625bbe6a951db3217cd8688b4c7be678d0ed Mon Sep 17 00:00:00 2001 From: dlpzx Date: Wed, 14 Feb 2024 08:17:50 +0100 Subject: [PATCH 2/2] upgraded boto3 version in all places of stacks/pipeline.py --- deploy/stacks/pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/stacks/pipeline.py b/deploy/stacks/pipeline.py index 38ef673e5..bed5a814a 100644 --- a/deploy/stacks/pipeline.py +++ b/deploy/stacks/pipeline.py @@ -872,7 +872,7 @@ def cw_rum_config_action(self, target_env): 'aws sts get-caller-identity --profile buildprofile', 'export AWS_PROFILE=buildprofile', 'pip install --upgrade pip', - 'pip install boto3==1.20.46', + 'pip install boto3==1.34.35', 'python deploy/configs/rum_config.py', ], role=self.expanded_codebuild_role.without_policy_updates(), @@ -899,7 +899,7 @@ def cognito_config_action(self, target_env): 'aws sts get-caller-identity --profile buildprofile', 'export AWS_PROFILE=buildprofile', 'pip install --upgrade pip', - 'pip install boto3==1.20.46', + 'pip install boto3==1.34.35', 'python deploy/configs/cognito_urls_config.py', ], role=self.expanded_codebuild_role.without_policy_updates(), @@ -965,7 +965,7 @@ def set_albfront_stage(self, target_env, repository_name): 'echo "credential_source = EcsContainer" >> ~/.aws/config', 'aws sts get-caller-identity --profile buildprofile', 'export AWS_PROFILE=buildprofile', - 'pip install boto3==1.20.50', + 'pip install boto3==1.34.35', 'pip install beautifulsoup4', 'python deploy/configs/frontend_config.py', 'unset AWS_PROFILE',