diff --git a/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-probation-integration-services-prod/resources/prison-case-notes-to-probation-queue.tf b/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-probation-integration-services-prod/resources/prison-case-notes-to-probation-queue.tf index eb72c46637e..62dede7d89e 100644 --- a/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-probation-integration-services-prod/resources/prison-case-notes-to-probation-queue.tf +++ b/namespaces/live.cloud-platform.service.justice.gov.uk/hmpps-probation-integration-services-prod/resources/prison-case-notes-to-probation-queue.tf @@ -9,35 +9,15 @@ resource "aws_sns_topic_subscription" "prison-case-notes-to-probation-queue-subs }, { eventType = ["person.case-note.created", "person.case-note.updated"], - "$or" : [ - { - "type": "PRISON" - "subType": "RELEASE" - }, - { - "type": "TRANSFER" - "subType": "FROMTOL" - }, - { - "type": "GEN" - "subType": "OSE" - }, - { - "type": "ALERT" - }, - { - "type": "RESET" - "subType": "BCST" - }, - { - "type": "OMIC" - }, - { - "type": "OMIC_OPD" - }, - { - "type": "KA" - } + type = [ + "PRISON", + "TRANSFER", + "GEN", + "ALERT", + "RESET", + "OMIC", + "OMIC_OPD", + "KA" ] } ]