Skip to content

Commit

Permalink
added depends on to force event_rule resource creation first
Browse files Browse the repository at this point in the history
  • Loading branch information
johnricords committed May 21, 2024
1 parent 4b2795e commit d7e8566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ resource "aws_cloudwatch_event_target" "this" {

input_template = each.value.event_target.input_template
}
depends_on = [ aws_cloudwatch_event_rule.this ]
}

0 comments on commit d7e8566

Please sign in to comment.