You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create_role = false # to control creation of the IAM role and policies required for EventBridge
325
344
create_connections = false # to control creation of EventBridge Connection resources
326
345
create_api_destinations = false # to control creation of EventBridge Destination resources
346
+
create_schedule_groups = false # to control creation of EventBridge Schedule Group resources
347
+
create_schedules = false # to control creation of EventBridge Schedule resources
327
348
328
349
attach_cloudwatch_policy = false
329
350
attach_ecs_policy = false
@@ -346,8 +367,9 @@ module "eventbridge" {
346
367
*[Using Default Bus](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/default-bus) - Creates resources in the `default` bus.
347
368
*[Archive](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-archive) - EventBridge Archives resources in various configurations.
348
369
*[Permissions](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-permissions) - Controls permissions to EventBridge.
370
+
*[Scheduler](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-schedules) - EventBridge Scheduler which works with any bus (recommended way).
349
371
*[ECS Scheduling Events](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-ecs-scheduling) - Use default bus to schedule events on ECS.
350
-
*[Lambda Scheduling Events](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-lambda-scheduling) - Trigger Lambda functions on schedule.
372
+
*[Lambda Scheduling Events](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-lambda-scheduling) - Trigger Lambda functions on schedule (works only with default bus).
351
373
*[API Destination](https://github.com/terraform-aws-modules/terraform-aws-eventbridge/tree/master/examples/with-api-destination) - Control access to EventBridge using API destinations.
|[aws_cloudwatch_event_bus.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudwatch_event_bus)| data source |
414
438
|[aws_iam_policy.tracing](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy)| data source |
@@ -432,6 +456,8 @@ No modules.
432
456
| <aname="input_append_connection_postfix"></a> [append\_connection\_postfix](#input\_append\_connection\_postfix)| Controls whether to append '-connection' to the name of the connection |`bool`|`true`| no |
433
457
| <aname="input_append_destination_postfix"></a> [append\_destination\_postfix](#input\_append\_destination\_postfix)| Controls whether to append '-destination' to the name of the destination |`bool`|`true`| no |
434
458
| <aname="input_append_rule_postfix"></a> [append\_rule\_postfix](#input\_append\_rule\_postfix)| Controls whether to append '-rule' to the name of the rule |`bool`|`true`| no |
459
+
| <aname="input_append_schedule_group_postfix"></a> [append\_schedule\_group\_postfix](#input\_append\_schedule\_group\_postfix)| Controls whether to append '-group' to the name of the schedule group |`bool`|`true`| no |
460
+
| <aname="input_append_schedule_postfix"></a> [append\_schedule\_postfix](#input\_append\_schedule\_postfix)| Controls whether to append '-schedule' to the name of the schedule |`bool`|`true`| no |
435
461
| <aname="input_archives"></a> [archives](#input\_archives)| A map of objects with the EventBridge Archive definitions. |`map(any)`|`{}`| no |
436
462
| <aname="input_attach_api_destination_policy"></a> [attach\_api\_destination\_policy](#input\_attach\_api\_destination\_policy)| Controls whether the API Destination policy should be added to IAM role for EventBridge Target |`bool`|`false`| no |
437
463
| <aname="input_attach_cloudwatch_policy"></a> [attach\_cloudwatch\_policy](#input\_attach\_cloudwatch\_policy)| Controls whether the Cloudwatch policy should be added to IAM role for EventBridge Target |`bool`|`false`| no |
@@ -459,6 +485,8 @@ No modules.
459
485
| <aname="input_create_permissions"></a> [create\_permissions](#input\_create\_permissions)| Controls whether EventBridge Permission resources should be created |`bool`|`true`| no |
460
486
| <aname="input_create_role"></a> [create\_role](#input\_create\_role)| Controls whether IAM roles should be created |`bool`|`true`| no |
461
487
| <aname="input_create_rules"></a> [create\_rules](#input\_create\_rules)| Controls whether EventBridge Rule resources should be created |`bool`|`true`| no |
488
+
| <aname="input_create_schedule_groups"></a> [create\_schedule\_groups](#input\_create\_schedule\_groups)| Controls whether EventBridge Schedule Group resources should be created |`bool`|`true`| no |
489
+
| <aname="input_create_schedules"></a> [create\_schedules](#input\_create\_schedules)| Controls whether EventBridge Schedule resources should be created |`bool`|`true`| no |
462
490
| <aname="input_create_schemas_discoverer"></a> [create\_schemas\_discoverer](#input\_create\_schemas\_discoverer)| Controls whether default schemas discoverer should be created |`bool`|`false`| no |
463
491
| <aname="input_create_targets"></a> [create\_targets](#input\_create\_targets)| Controls whether EventBridge Target resources should be created |`bool`|`true`| no |
464
492
| <aname="input_ecs_target_arns"></a> [ecs\_target\_arns](#input\_ecs\_target\_arns)| The Amazon Resource Name (ARN) of the AWS ECS Tasks you want to use as EventBridge targets |`list(string)`|`[]`| no |
@@ -481,29 +509,37 @@ No modules.
481
509
| <aname="input_role_permissions_boundary"></a> [role\_permissions\_boundary](#input\_role\_permissions\_boundary)| The ARN of the policy that is used to set the permissions boundary for the IAM role used by EventBridge |`string`|`null`| no |
482
510
| <aname="input_role_tags"></a> [role\_tags](#input\_role\_tags)| A map of tags to assign to IAM role |`map(string)`|`{}`| no |
483
511
| <aname="input_rules"></a> [rules](#input\_rules)| A map of objects with EventBridge Rule definitions. |`map(any)`|`{}`| no |
512
+
| <aname="input_schedule_group_timeouts"></a> [schedule\_group\_timeouts](#input\_schedule\_group\_timeouts)| A map of objects with EventBridge Schedule Group create and delete timeouts. |`map(string)`|`{}`| no |
513
+
| <aname="input_schedule_groups"></a> [schedule\_groups](#input\_schedule\_groups)| A map of objects with EventBridge Schedule Group definitions. |`any`|`{}`| no |
514
+
| <aname="input_schedules"></a> [schedules](#input\_schedules)| A map of objects with EventBridge Schedule definitions. |`map(any)`|`{}`| no |
| <aname="input_sfn_target_arns"></a> [sfn\_target\_arns](#input\_sfn\_target\_arns)| The Amazon Resource Name (ARN) of the StepFunctions you want to use as EventBridge targets |`list(string)`|`[]`| no |
486
517
| <aname="input_sns_target_arns"></a> [sns\_target\_arns](#input\_sns\_target\_arns)| The Amazon Resource Name (ARN) of the AWS SNS's you want to use as EventBridge targets |`list(string)`|`[]`| no |
487
518
| <aname="input_sqs_target_arns"></a> [sqs\_target\_arns](#input\_sqs\_target\_arns)| The Amazon Resource Name (ARN) of the AWS SQS Queues you want to use as EventBridge targets |`list(string)`|`[]`| no |
488
519
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to assign to resources. |`map(string)`|`{}`| no |
489
520
| <aname="input_targets"></a> [targets](#input\_targets)| A map of objects with EventBridge Target definitions. |`any`|`{}`| no |
490
-
| <aname="input_trusted_entities"></a> [trusted\_entities](#input\_trusted\_entities)|Step Function additional trusted entities for assuming roles (trust relationship) |`list(string)`|`[]`| no |
521
+
| <aname="input_trusted_entities"></a> [trusted\_entities](#input\_trusted\_entities)|Additional trusted entities for assuming roles (trust relationship) |`list(string)`|`[]`| no |
491
522
492
523
## Outputs
493
524
494
525
| Name | Description |
495
526
|------|-------------|
496
-
| <aname="output_eventbridge_api_destination_arns"></a> [eventbridge\_api\_destination\_arns](#output\_eventbridge\_api\_destination\_arns)| The EventBridge API Destination ARNs created |
497
-
| <aname="output_eventbridge_archive_arns"></a> [eventbridge\_archive\_arns](#output\_eventbridge\_archive\_arns)| The EventBridge Archive Arns created|
498
-
| <aname="output_eventbridge_bus_arn"></a> [eventbridge\_bus\_arn](#output\_eventbridge\_bus\_arn)| The EventBridge Bus Arn|
527
+
| <aname="output_eventbridge_api_destination_arns"></a> [eventbridge\_api\_destination\_arns](#output\_eventbridge\_api\_destination\_arns)| The EventBridge API Destination ARNs |
528
+
| <aname="output_eventbridge_archive_arns"></a> [eventbridge\_archive\_arns](#output\_eventbridge\_archive\_arns)| The EventBridge Archive ARNs|
529
+
| <aname="output_eventbridge_bus_arn"></a> [eventbridge\_bus\_arn](#output\_eventbridge\_bus\_arn)| The EventBridge Bus ARN|
499
530
| <aname="output_eventbridge_bus_name"></a> [eventbridge\_bus\_name](#output\_eventbridge\_bus\_name)| The EventBridge Bus Name |
500
-
| <aname="output_eventbridge_connection_arns"></a> [eventbridge\_connection\_arns](#output\_eventbridge\_connection\_arns)| The EventBridge Connection Arns created |
501
-
| <aname="output_eventbridge_connection_ids"></a> [eventbridge\_connection\_ids](#output\_eventbridge\_connection\_ids)| The EventBridge Connection IDs created |
502
-
| <aname="output_eventbridge_permission_ids"></a> [eventbridge\_permission\_ids](#output\_eventbridge\_permission\_ids)| The EventBridge Permission Arns created|
531
+
| <aname="output_eventbridge_connection_arns"></a> [eventbridge\_connection\_arns](#output\_eventbridge\_connection\_arns)| The EventBridge Connection Arns |
532
+
| <aname="output_eventbridge_connection_ids"></a> [eventbridge\_connection\_ids](#output\_eventbridge\_connection\_ids)| The EventBridge Connection IDs |
533
+
| <aname="output_eventbridge_permission_ids"></a> [eventbridge\_permission\_ids](#output\_eventbridge\_permission\_ids)| The EventBridge Permission IDs|
503
534
| <aname="output_eventbridge_role_arn"></a> [eventbridge\_role\_arn](#output\_eventbridge\_role\_arn)| The ARN of the IAM role created for EventBridge |
504
535
| <aname="output_eventbridge_role_name"></a> [eventbridge\_role\_name](#output\_eventbridge\_role\_name)| The name of the IAM role created for EventBridge |
505
-
| <aname="output_eventbridge_rule_arns"></a> [eventbridge\_rule\_arns](#output\_eventbridge\_rule\_arns)| The EventBridge Rule ARNs created |
506
-
| <aname="output_eventbridge_rule_ids"></a> [eventbridge\_rule\_ids](#output\_eventbridge\_rule\_ids)| The EventBridge Rule IDs created |
536
+
| <aname="output_eventbridge_rule_arns"></a> [eventbridge\_rule\_arns](#output\_eventbridge\_rule\_arns)| The EventBridge Rule ARNs |
537
+
| <aname="output_eventbridge_rule_ids"></a> [eventbridge\_rule\_ids](#output\_eventbridge\_rule\_ids)| The EventBridge Rule IDs |
538
+
| <aname="output_eventbridge_schedule_arns"></a> [eventbridge\_schedule\_arns](#output\_eventbridge\_schedule\_arns)| The EventBridge Schedule ARNs created |
539
+
| <aname="output_eventbridge_schedule_group_arns"></a> [eventbridge\_schedule\_group\_arns](#output\_eventbridge\_schedule\_group\_arns)| The EventBridge Schedule Group ARNs |
540
+
| <aname="output_eventbridge_schedule_group_ids"></a> [eventbridge\_schedule\_group\_ids](#output\_eventbridge\_schedule\_group\_ids)| The EventBridge Schedule Group IDs |
541
+
| <aname="output_eventbridge_schedule_group_states"></a> [eventbridge\_schedule\_group\_states](#output\_eventbridge\_schedule\_group\_states)| The EventBridge Schedule Group states |
542
+
| <aname="output_eventbridge_schedule_ids"></a> [eventbridge\_schedule\_ids](#output\_eventbridge\_schedule\_ids)| The EventBridge Schedule IDs created |
| <aname="output_eventbridge_schedule_arns"></a> [eventbridge\_schedule\_arns](#output\_eventbridge\_schedule\_arns)| The EventBridge Schedule ARNs created |
57
+
| <aname="output_eventbridge_schedule_group_arns"></a> [eventbridge\_schedule\_group\_arns](#output\_eventbridge\_schedule\_group\_arns)| The EventBridge Schedule Group ARNs |
58
+
| <aname="output_eventbridge_schedule_group_ids"></a> [eventbridge\_schedule\_group\_ids](#output\_eventbridge\_schedule\_group\_ids)| The EventBridge Schedule Group IDs |
59
+
| <aname="output_eventbridge_schedule_group_states"></a> [eventbridge\_schedule\_group\_states](#output\_eventbridge\_schedule\_group\_states)| The EventBridge Schedule Group states |
60
+
| <aname="output_eventbridge_schedule_ids"></a> [eventbridge\_schedule\_ids](#output\_eventbridge\_schedule\_ids)| The EventBridge Schedule IDs created |
61
+
| <aname="output_lambda_function_arn"></a> [lambda\_function\_arn](#output\_lambda\_function\_arn)| The ARN of the Lambda Function |
62
+
| <aname="output_lambda_function_name"></a> [lambda\_function\_name](#output\_lambda\_function\_name)| The name of the Lambda Function |
0 commit comments