title: Terraform S3 Notification for multiple suffix's
body: <p>I have 1 S3 bucket and want to trigger the same lambda for two different types of object:create scenarios.</p>
  <p>I tried to have multiple <code>aws_s3_bucket_notification</code> blocks, but only one was made, terraform Notes:</p>
  <p><code>S3 Buckets only support a single notification configuration. Declaring multiple aws_s3_bucket_notification resources to the same S3 Bucket will cause a perpetual difference in configuration. See the example &quot;Trigger multiple Lambda functions&quot; for an option.</code></p>
  <p>I tried doing an <code>OR</code> statement, but TF didnt like that either</p>
  <pre><code>resource &quot;aws_s3_bucket_notification&quot; &quot;bucket_notification&quot; {
    bucket     = var.my_bucket_id
    depends_on = [aws_lambda_permission.lambda_perm]
  
    lambda_function {
      lambda_function_arn = &quot;my functions arn&quot;
      events              = [&quot;s3:ObjectCreated:*&quot;]
      filter_prefix       = &quot;content/&quot;
      filter_suffix       = &quot;-webpage.html&quot; || &quot;-image.png&quot;
    }
  }
  </code></pre>
  <p>Need help having a suffix string that looks for two different strings. Thanks</p>