Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Mar 16, 2022

Make the app_id optional in the mongodbatlas_event_trigger resource when an aws_eventbridge event processor is defined

Currently, when you define a trigger that uses the AWS Eventbridge via the UI it auto creates a realm App that links the DB change to the event bridge. However, with the mongodbatlas_event_trigger resource you have to manually defined an empty realm app and give the resource the app_id of that empty app. This is obviously not a 100% automated process. This could be, if the provider created the empty realm app by itself, then referencing the created app app_id. This would only be needed: 1. when the app_id is not provided 2. the following attribute was provided event_processors { aws_eventbridge { config_account_id = "AWS ACCOUNT ID" config_region = "AWS REGIOn" } } 3. otherwise use the provided app_id This would still support the case when the eventbridge even processor was used and a pre-existing realm app with custom logic was also defined. This would make the provision of an Eventbridge trigger totally automated.
  • Attach files