Skip to content

Commit

Permalink
DS-3019 Terraform aws provider version upgraded to 5.68.0 (#1035)
Browse files Browse the repository at this point in the history
# Task Branch Pull Request

**<https://nhsd-jira.digital.nhs.uk/browse/DS-3019>**

## Description of Changes

This PR includes the upgrade of AWS Terraform provider to
version 5.68.0

## Type of change

- Infrastructure upgrade change 

## Development Checklist

- [x] I have performed a self-review of my own code
- [x] Tests have added that prove my fix is effective or that my feature
works (Integration tests)
- [x] I have updated Dependabot to include my changes (if applicable)

## Code Reviewer Checklist

- [x] I can confirm the changes have been tested or approved by a tester

Co-authored-by: ajmu1 <ajmu1@hscic.gov.uk>
  • Loading branch information
ajmu1 and ajmu1 authored Jan 2, 2025
1 parent b91710c commit 2bd4110
Show file tree
Hide file tree
Showing 9 changed files with 135 additions and 117 deletions.
31 changes: 17 additions & 14 deletions infrastructure/stacks/api-key/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/stacks/api-key/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.21.0"
version = "~> 5.68.0"
}
template = {
source = "hashicorp/random"
Expand Down
112 changes: 56 additions & 56 deletions infrastructure/stacks/application/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/stacks/application/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.25.0"
version = "~> 5.68.0"
}
}
}
31 changes: 17 additions & 14 deletions infrastructure/stacks/blue-green-link/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/stacks/blue-green-link/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.21.0"
version = "~> 5.68.0"
}
}
}
57 changes: 30 additions & 27 deletions infrastructure/stacks/shared-resources/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion infrastructure/stacks/shared-resources/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.21.0"
version = "~> 5.68.0"
}
}
}
13 changes: 11 additions & 2 deletions infrastructure/stacks/shared-resources/waf.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,19 @@ resource "aws_wafv2_web_acl" "di_endpoint_waf" {
name = "AWSManagedRulesCommonRuleSet"
vendor_name = "AWS"

excluded_rule {
rule_action_override {
action_to_use {
count {}
}

name = "NoUserAgent_HEADER"
}
excluded_rule {

rule_action_override {
action_to_use {
count {}
}

name = "SizeRestrictions_BODY"
}
}
Expand Down

0 comments on commit 2bd4110

Please sign in to comment.