File tree Expand file tree Collapse file tree 7 files changed +56
-5
lines changed
infrastructure/terraform/components Expand file tree Collapse file tree 7 files changed +56
-5
lines changed Original file line number Diff line number Diff line change @@ -82,3 +82,4 @@ tests/test-team/test-results/
8282tests /test-team /playwright-report /
8383tests /test-team /blob-report /
8484tests /test-team /playwright /.cache /
85+ lambdas /backend-api /src /email /email-template.json
Original file line number Diff line number Diff line change 11module "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 = [
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 11module "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
Original file line number Diff line number Diff line change 11module "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
Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff line change 11module "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
You can’t perform that action at this time.
0 commit comments