iDigBio / Biospex

GNU General Public License v3.0
7 stars 1 forks source link

SNS Notification filter for lambda functions #282

Closed rbruhn closed 1 week ago

rbruhn commented 1 week ago

Work on filter for subscriptions. Remove env variable in index.js for imageProcessExport function.

{
  "responsePayload": {
    "body": {
      "$or": [
        {
          "bucket": [
            "biospex-dev"
          ]
        },
        {
          "env": [
            "local"
          ]
        }
      ]
    }
  }
}
rbruhn commented 1 week ago

Created subscription filters of Lambda SNS Notification for production, development, and local environments. Confirmed the filters work so the servers get the right notifications. Created S3 bucket for biospex-loc.

{
    "responsePayload": {
        "body": {
            "bucket": ["biospex-app"] // biospex-dev, biospex-loc
        }
    }
}