eventbridge-fan-in-terraform: Update AWS Provider to v6 with bug fixes and README improvements - #3274
Open
kakakakakku wants to merge 9 commits into
Open
Conversation
…e and pin module version
…oss-region errors
kakakakakku
commented
Aug 9, 2026
Contributor
Author
There was a problem hiding this comment.
note: It's unused code
kakakakakku
commented
Aug 9, 2026
| local.account_id | ||
| ] | ||
| }) | ||
| is_enabled = true |
Contributor
Author
There was a problem hiding this comment.
╷
│ Warning: Argument is deprecated
│
│ with aws_cloudwatch_event_rule.ebrule,
│ on main.tf line 15, in resource "aws_cloudwatch_event_rule" "ebrule":
│ 15: is_enabled = true
│
│ is_enabled is deprecated. Use state instead.
╵
kakakakakku
commented
Aug 9, 2026
| ``` | ||
| aws events create-event-bus --name eventBus1 --region us-east-2 | ||
| aws events create-event-bus --name eventBus2 --region us-east-2 | ||
| ``` |
Contributor
Author
There was a problem hiding this comment.
note: Added AWS CLI commands to create the fan-in event buses (the pattern assumes they already exist, but most readers need to create them first)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
N/A
Description of changes:
Hi😀 Thanks for the useful patterns!
To keep this pattern maintainable, I updated the AWS Provider to v6.
And I tried this pattern and found some issues, so I fixed them as well.
Changes
is_enabledargument withstate~> 4.3aws_cloudwatch_event_targetandaws_cloudwatch_log_resource_policysrc/app.js)Note: a deprecation warning about
inline_policystill remains, but it comes from theterraform-aws-modules/eventbridgemodule itself, so it should be fixed upstream.Check
terraform applycompleted successfully and I verified the fan-in works. Events published toeventBus1/eventBus2in us-east-2 arrived in the log group of the central event bus in ca-central-1.Thank you😀
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.