Skip to content

Commit

Permalink
Merge pull request #6 from Ishidall/AddJsonEncodeOnCwEventTarget
Browse files Browse the repository at this point in the history
Add jsonencode func so that not to invoke unexpected resource update
  • Loading branch information
Stretch96 authored Apr 28, 2020
2 parents 99cd5b0 + d0f68f5 commit 3594cc8
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 @@ -69,6 +69,7 @@ resource "aws_cloudwatch_event_target" "scheduled_task" {
rule = "${aws_cloudwatch_event_rule.scheduled_task.name}"
arn = "${var.cluster_arn}"
role_arn = "${aws_iam_role.scheduled_task_cloudwatch.arn}"
input = jsonencode({})

ecs_target {
task_count = "${var.task_count}"
Expand Down

0 comments on commit 3594cc8

Please sign in to comment.