From 48b613473e6b136ff38884730cb0ec6922b5970b Mon Sep 17 00:00:00 2001 From: Jahir <124062934+juddin927@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:51:20 +0000 Subject: [PATCH] Revert "Combined pr" --- .github/workflows/dependency-review.yml | 2 +- .github/workflows/deployment.yml | 12 ++++++------ .github/workflows/format-code.yml | 2 +- acm.tf | 2 +- modules/vpc/main.tf | 2 +- versions.tf | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 3005a11..2c24cc2 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Dependency Review uses: actions/dependency-review-action@v3 with: diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 65d2caf..ca674c2 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -50,11 +50,11 @@ jobs: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 # Configure AWS credentials - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4.0.1 + uses: aws-actions/configure-aws-credentials@v2.2.0 with: aws-region: eu-west-2 role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} @@ -151,11 +151,11 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 # Configure AWS credentials - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4.0.1 + uses: aws-actions/configure-aws-credentials@v2.2.0 with: aws-region: eu-west-2 role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} @@ -247,11 +247,11 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 # Configure AWS credentials - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v4.0.1 + uses: aws-actions/configure-aws-credentials@v2.2.0 with: aws-region: eu-west-2 role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} diff --git a/.github/workflows/format-code.yml b/.github/workflows/format-code.yml index 5a82751..a55a4e0 100644 --- a/.github/workflows/format-code.yml +++ b/.github/workflows/format-code.yml @@ -8,7 +8,7 @@ jobs: format-code: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: ministryofjustice/github-actions/code-formatter@v14 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/acm.tf b/acm.tf index 9c890b2..ac1e621 100644 --- a/acm.tf +++ b/acm.tf @@ -7,7 +7,7 @@ module "acm_label" { module "acm" { count = var.enabled ? 1 : 0 source = "terraform-aws-modules/acm/aws" - version = "~> 5.0" + version = "~> 4.3" domain_name = var.domain_name zone_id = var.zone_id diff --git a/modules/vpc/main.tf b/modules/vpc/main.tf index 8bf5406..1520b2d 100644 --- a/modules/vpc/main.tf +++ b/modules/vpc/main.tf @@ -1,6 +1,6 @@ module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "5.1.2" + version = "5.1.1" name = var.prefix cidr = var.cidr diff --git a/versions.tf b/versions.tf index d987855..6546fae 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "5.22.0" + version = "5.9.0" } } }