Skip to content

Commit

Permalink
Fixed "known after apply" for event capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Jun 21, 2023
1 parent adbfcb8 commit 72d3fe2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.13.7 (Jun 21, 2023)
* Fixed "known after apply" for event capabilities.

# 0.13.6 (Jun 21, 2023)
* Added support for events.
* Changed `task_definition_arn` to `task_definition_name` to avoid cyclical dependencies.
Expand Down
2 changes: 1 addition & 1 deletion events.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
events = { for event in lookup(local.capabilities, "events", []) : event.rule_name => event }
events = merge([for cp in local.cap_modules : {for i, event in lookup(cp.outputs, "events", []) : "cap_${cp.id}_${i}" => event}]...)
}

resource "aws_cloudwatch_event_target" "this" {
Expand Down

0 comments on commit 72d3fe2

Please sign in to comment.