Skip to content

Commit 1ad5be3

Browse files
authored
fix: Event target for SSM (run_command_targets) should support an array of inputs (#158)
1 parent 45d4ebe commit 1ad5be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ resource "aws_cloudwatch_event_target" "this" {
117117
force_destroy = try(each.value.force_destroy, null)
118118

119119
dynamic "run_command_targets" {
120-
for_each = try([each.value.run_command_targets], [])
120+
for_each = try(each.value.run_command_targets, [])
121121

122122
content {
123123
key = run_command_targets.value.key

0 commit comments

Comments
 (0)