Skip to content

Commit

Permalink
INTMDB-517: Event Trigger Error Handler Update (#1061)
Browse files Browse the repository at this point in the history
* Event Trigger Docs Update

* Update event_trigger.html.markdown

* Update event_triggers.html.markdown

* Update codeowner to use APIx-Integrations (#1050)

* Chore(deps): Bump github.com/gruntwork-io/terratest (#1051)

Bumps [github.com/gruntwork-io/terratest](https://github.com/gruntwork-io/terratest) from 0.41.9 to 0.41.10.
- [Release notes](https://github.com/gruntwork-io/terratest/releases)
- [Commits](gruntwork-io/terratest@v0.41.9...v0.41.10)

---
updated-dependencies:
- dependency-name: github.com/gruntwork-io/terratest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Chore(deps): Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.0 (#1055)

Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](hashicorp/hcl@v2.15.0...v2.16.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update resource_mongodbatlas_event_trigger.go

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Zuhair Ahmed <[email protected]>
Co-authored-by: Andrea Angiolillo <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 16, 2023
1 parent b8fed4b commit 53e7756
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion website/docs/d/event_trigger.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ data "mongodbatlas_event_trigger" "test" {

* `project_id` - (Required) The unique ID for the project to create the trigger.
* `app_id` - (Required) The ObjectID of your application.
* For more details on `project_id` and `app_id` see: https://www.mongodb.com/docs/atlas/app-services/admin/api/v3/#section/Project-and-Application-IDs
* `trigger_id` - (Required) The unique ID of the trigger.

## Attributes Reference
Expand Down Expand Up @@ -71,4 +72,4 @@ In addition to all arguments above, the following attributes are exported:
* `event_processors.0.aws_eventbridge.config_region` - Region of AWS Account.


See [MongoDB Realm API](https://docs.mongodb.com/realm/admin/api/v3/#get-/groups/%7Bgroupid%7D/apps/%7Bappid%7D/triggers/%7Btriggerid%7D) Documentation for more information.
See [MongoDB Realm API](https://docs.mongodb.com/realm/admin/api/v3/#get-/groups/%7Bgroupid%7D/apps/%7Bappid%7D/triggers/%7Btriggerid%7D) Documentation for more information.
3 changes: 2 additions & 1 deletion website/docs/d/event_triggers.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ data "mongodbatlas_event_triggers" "test" {

* `project_id` - (Required) The unique ID for the project to get all event triggers.
* `app_id` - (Required) The ObjectID of your application.
* For more details on `project_id` and `app_id` see: https://www.mongodb.com/docs/atlas/app-services/admin/api/v3/#section/Project-and-Application-IDs

## Attributes Reference

Expand Down Expand Up @@ -73,4 +74,4 @@ In addition to all arguments above, the following attributes are exported:
* `event_processors.0.aws_eventbridge.config_region` - Region of AWS Account.


See [MongoDB Realm API](https://docs.mongodb.com/realm/admin/api/v3/#get-/groups/%7Bgroupid%7D/apps/%7Bappid%7D/triggers) Documentation for more information.
See [MongoDB Realm API](https://docs.mongodb.com/realm/admin/api/v3/#get-/groups/%7Bgroupid%7D/apps/%7Bappid%7D/triggers) Documentation for more information.
2 changes: 2 additions & 0 deletions website/docs/r/event_trigger.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ resource "mongodbatlas_event_trigger" "test" {

* `project_id` - (Required) The unique ID for the project to create the trigger.
* `app_id` - (Required) The ObjectID of your application.
* For more details on `project_id` and `app_id` see: https://www.mongodb.com/docs/atlas/app-services/admin/api/v3/#section/Project-and-Application-IDs
* `name` - (Required) The name of the trigger.
* `type` - (Required) The type of the trigger. Possible Values: `DATABASE`, `AUTHENTICATION`,`SCHEDULED`
* `function_id` - (Optional) The ID of the function associated with the trigger.
Expand Down Expand Up @@ -138,3 +139,4 @@ Event trigger can be imported using project ID, App ID and Trigger ID, in the fo
```
$ terraform import mongodbatlas_event_trigger.test 1112222b3bf99403840e8934--testing-example--1112222b3bf99403840e8934
```
For more details on this resource see [Triggers resource](https://www.mongodb.com/docs/atlas/app-services/admin/api/v3/#tag/triggers) in Atlas App Services Documentation.

0 comments on commit 53e7756

Please sign in to comment.