mirror of
https://github.com/sigmasternchen/terraform-aws-eventbridge
synced 2025-03-15 07:58:57 +00:00
.. | ||
main.tf | ||
outputs.tf | ||
README.md | ||
sample-order-data.json | ||
variables.tf | ||
versions.tf |
EventBridge API Gateway Event Source
Configuration in this directory creates EventBridge resource configuration including an API Gateway and a SQS queue.
Usage
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which cost money. Run terraform destroy
when you don't need these resources.
Requirements
Name | Version |
---|---|
terraform | >= 0.13.1 |
aws | >= 3.19 |
random | >= 3 |
Providers
Name | Version |
---|---|
aws | >= 3.19 |
random | >= 3 |
Modules
Name | Source | Version |
---|---|---|
api_gateway | terraform-aws-modules/apigateway-v2/aws | ~> 0 |
apigateway_put_events_to_eventbridge_policy | terraform-aws-modules/iam/aws//modules/iam-policy | ~> 4.0 |
apigateway_put_events_to_eventbridge_role | terraform-aws-modules/iam/aws//modules/iam-assumable-role | ~> 4.0 |
eventbridge | ../../ |
Resources
Name | Type |
---|---|
aws_sqs_queue.dlq | resource |
aws_sqs_queue.queue | resource |
aws_sqs_queue_policy.queue | resource |
random_pet.this | resource |
aws_iam_policy_document.apigateway_put_events_to_eventbridge_policy | data source |
aws_iam_policy_document.queue | data source |
Inputs
No inputs.
Outputs
Name | Description |
---|---|
eventbridge_bus_arn | The EventBridge Bus Arn |
eventbridge_bus_name | The EventBridge Bus Name |
eventbridge_role_arn | The ARN of the IAM role created for EventBridge |
eventbridge_role_name | The name of the IAM role created for EventBridge |
eventbridge_rule_arns | The EventBridge Rule ARNs created |
eventbridge_rule_ids | The EventBridge Rule IDs created |