Skip to content

Commit 2bd4110

Browse files
ajmu1ajmu1
andauthored
DS-3019 Terraform aws provider version upgraded to 5.68.0 (#1035)
# 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>
1 parent b91710c commit 2bd4110

9 files changed

Lines changed: 135 additions & 117 deletions

File tree

infrastructure/stacks/api-key/.terraform.lock.hcl

Lines changed: 17 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/stacks/api-key/terraform.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
required_providers {
66
aws = {
77
source = "hashicorp/aws"
8-
version = "~> 4.21.0"
8+
version = "~> 5.68.0"
99
}
1010
template = {
1111
source = "hashicorp/random"

infrastructure/stacks/application/.terraform.lock.hcl

Lines changed: 56 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/stacks/application/terraform.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
required_providers {
66
aws = {
77
source = "hashicorp/aws"
8-
version = "~> 5.25.0"
8+
version = "~> 5.68.0"
99
}
1010
}
1111
}

infrastructure/stacks/blue-green-link/.terraform.lock.hcl

Lines changed: 17 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/stacks/blue-green-link/terraform.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
required_providers {
66
aws = {
77
source = "hashicorp/aws"
8-
version = "~> 4.21.0"
8+
version = "~> 5.68.0"
99
}
1010
}
1111
}

infrastructure/stacks/shared-resources/.terraform.lock.hcl

Lines changed: 30 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/stacks/shared-resources/terraform.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ terraform {
55
required_providers {
66
aws = {
77
source = "hashicorp/aws"
8-
version = "~> 4.21.0"
8+
version = "~> 5.68.0"
99
}
1010
}
1111
}

infrastructure/stacks/shared-resources/waf.tf

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,19 @@ resource "aws_wafv2_web_acl" "di_endpoint_waf" {
7272
name = "AWSManagedRulesCommonRuleSet"
7373
vendor_name = "AWS"
7474

75-
excluded_rule {
75+
rule_action_override {
76+
action_to_use {
77+
count {}
78+
}
79+
7680
name = "NoUserAgent_HEADER"
7781
}
78-
excluded_rule {
82+
83+
rule_action_override {
84+
action_to_use {
85+
count {}
86+
}
87+
7988
name = "SizeRestrictions_BODY"
8089
}
8190
}

0 commit comments

Comments
 (0)