Skip to content

Commit

Permalink
fix to handle bug
Browse files Browse the repository at this point in the history
  • Loading branch information
johnricords committed Jul 26, 2024
1 parent c70afb5 commit bcbdb99
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.2.0
current_version = 2.2.1
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

### [2.2.1](https://github.com/plus3it/terraform-aws-tardigrade-cloudwatch-events/releases/tag/2.0.1)

**Released**: 2024.07.26

**Summary**:

* minor patch to address constraint with import targets for custom event-bus name interpolation

### [2.2.0](https://github.com/plus3it/terraform-aws-tardigrade-cloudwatch-events/releases/tag/2.0.0)

**Released**: 2024.07.23
Expand Down
4 changes: 3 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "aws_cloudwatch_event_target" "this" {
for_each = { for target in var.event_rule.event_targets : target.name => target }

arn = each.value.arn
rule = aws_cloudwatch_event_rule.this.id
rule = var.event_rule.name
target_id = each.value.target_id
role_arn = each.value.role_arn
event_bus_name = each.value.event_bus_name
Expand Down Expand Up @@ -48,4 +48,6 @@ resource "aws_cloudwatch_event_target" "this" {

}
}

depends_on = [ aws_cloudwatch_event_rule.this ]
}

0 comments on commit bcbdb99

Please sign in to comment.