Skip to content

Commit

Permalink
feature #3 - update job to default bus
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeniosales committed Oct 17, 2022
1 parent 5c0e6bb commit ad880f9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions terraform/event-bridge.tf

This file was deleted.

1 change: 0 additions & 1 deletion terraform/event-rule.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
resource "aws_cloudwatch_event_rule" "update_exchange_rate_rule" {
name = "update-exchange-rate-rule"
event_bus_name = aws_cloudwatch_event_bus.exchange_rate_bus.name
description = "update exchange rate rule"
schedule_expression = "rate(1 minute)" # Could be replaced to 1 minute or less
}
1 change: 0 additions & 1 deletion terraform/event-target.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resource "aws_cloudwatch_event_target" "update_exchange_rate_sqs_target" {
arn = aws_sqs_queue.update-exchange-rate-queue.arn
event_bus_name = aws_cloudwatch_event_bus.exchange_rate_bus.name
rule = aws_cloudwatch_event_rule.update_exchange_rate_rule.name
}

0 comments on commit ad880f9

Please sign in to comment.