Skip to content

Commit 8429b77

Browse files
authored
Merge pull request #3713 from nhsuk/remove_aws_cli
Use preinstalled AWS CLI in GitHub workflows
2 parents 5d697de + 0780253 commit 8429b77

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

.github/workflows/deploy-application.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ jobs:
141141
with:
142142
role-to-assume: ${{ env.aws-role }}
143143
aws-region: eu-west-2
144-
- name: Install AWS CLI
145-
run: sudo snap install --classic aws-cli
146144
- name: Trigger ECS Deployment
147145
run: |
148146
set -e

.github/workflows/deploy-infrastructure.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ jobs:
7171
uses: hashicorp/setup-terraform@v3
7272
with:
7373
terraform_version: 1.11.4
74-
- name: Install AWS CLI
75-
run: sudo snap install --classic aws-cli
7674
- name: Check if any deployments are running
7775
run: ../scripts/check-for-running-deployments.sh ${{ inputs.environment }}
7876
- name: Terraform Plan

.github/workflows/destroy-infrastructure.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ jobs:
7575
with:
7676
role-to-assume: ${{ env.aws_role }}
7777
aws-region: eu-west-2
78-
- name: Install AWS CLI
79-
run: |
80-
sudo snap install --classic aws-cli
8178
- name: Delete terraform backend elements
8279
run: |
8380
set -e

0 commit comments

Comments
 (0)