We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e75446d commit ae3423eCopy full SHA for ae3423e
1 file changed
infrastructure/terraform/components/api/modules_eventpub.tf
@@ -1,5 +1,5 @@
1
module "eventpub" {
2
- source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.31/terraform-eventpub.zip"
+ source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//terraform-eventpub?ref=feature/CCM-14600_Enable_Access_Logging_For_EventCache_Buckets"
3
4
name = "eventpub"
5
@@ -28,6 +28,10 @@ module "eventpub" {
28
data_plane_bus_arn = var.eventpub_data_plane_bus_arn
29
control_plane_bus_arn = var.eventpub_control_plane_bus_arn
30
31
+ eventcache_bucket_logging_target = {
32
+ bucket = local.acct.s3_buckets["access_logs"]["id"]
33
+ }
34
+
35
additional_policies_for_event_cache_bucket = [
36
data.aws_iam_policy_document.eventcache[0].json
37
]
0 commit comments