Skip to content

Commit 0bf37f9

Browse files
CCM-7938 Updating version pins
1 parent cc160f9 commit 0bf37f9

File tree

7 files changed

+56
-5
lines changed

7 files changed

+56
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ tests/test-team/test-results/
8282
tests/test-team/playwright-report/
8383
tests/test-team/blob-report/
8484
tests/test-team/playwright/.cache/
85+
lambdas/backend-api/src/email/email-template.json

infrastructure/terraform/components/acct/module_s3bucket_backup_reports.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "s3bucket_backup_reports" {
2-
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket?ref=v1.0.5"
2+
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket?ref=v1.0.8"
33

44
name = "backup-reports"
55

@@ -15,7 +15,6 @@ module "s3bucket_backup_reports" {
1515

1616
lifecycle_rules = [
1717
{
18-
prefix = ""
1918
enabled = true
2019

2120
noncurrent_version_transition = [
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module "eventpub" {
2+
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/eventpub?ref=v1.0.8"
3+
4+
name = "eventpub"
5+
6+
aws_account_id = var.aws_account_id
7+
component = var.component
8+
environment = var.environment
9+
project = var.project
10+
region = var.region
11+
group = var.group
12+
13+
log_retention_in_days = var.log_retention_in_days
14+
kms_key_arn = module.kms.key_arn
15+
16+
enable_event_cache = var.enable_event_caching
17+
18+
enable_sns_delivery_logging = var.event_delivery_logging
19+
sns_success_logging_sample_percent = var.event_delivery_logging_success_sample_percentage
20+
21+
data_plane_bus_arn = var.data_plane_bus_arn
22+
control_plane_bus_arn = var.control_plane_bus_arn
23+
}

infrastructure/terraform/components/app/module_kms.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "kms" {
2-
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/kms?ref=v1.0.6"
2+
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/kms?ref=v1.0.8"
33

44
aws_account_id = var.aws_account_id
55
component = var.component

infrastructure/terraform/components/app/module_nhse_backup_vault.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "nhse_backup_vault" {
2-
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source?ref=v1.0.7"
2+
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source?ref=v1.0.8"
33
count = var.destination_vault_arn != null ? 1:0
44

55
component = var.component

infrastructure/terraform/components/app/variables.tf

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,31 @@ variable "backup_report_recipient" {
153153
description = "Primary recipient of the Backup reports"
154154
default = ""
155155
}
156+
157+
variable "enable_event_caching" {
158+
type = bool
159+
description = "Enable caching of events to an S3 bucket"
160+
default = true
161+
}
162+
163+
variable "event_delivery_logging" {
164+
type = bool
165+
description = "Enable SNS Event Delivery logging"
166+
default = true
167+
}
168+
169+
variable "event_delivery_logging_success_sample_percentage" {
170+
type = number
171+
description = "Enable caching of events to an S3 bucket"
172+
default = 0
173+
}
174+
175+
variable "data_plane_bus_arn" {
176+
type = string
177+
description = "Data plane event bus arn"
178+
}
179+
180+
variable "control_plane_bus_arn" {
181+
type = string
182+
description = "Data plane event bus arn"
183+
}

infrastructure/terraform/components/branch/module_amplify_branch.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "amplify_branch" {
2-
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/amp_branch?ref=v1.0.0"
2+
source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/amp_branch?ref=v1.0.8"
33

44
name = local.normalised_branch_name
55
display_name = local.normalised_branch_name

0 commit comments

Comments
 (0)