Skip to content

Commit

Permalink
data.aws_ecs_task_definition: Failed getting task definition (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jumbojett authored and duduribeiro committed Jun 20, 2019
1 parent 13c2838 commit caf4a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ resource "aws_security_group" "ecs_service" {
/* Simply specify the family to find the latest ACTIVE revision in that family */
data "aws_ecs_task_definition" "web" {
task_definition = "${aws_ecs_task_definition.web.family}"
depends_on = [ "aws_ecs_task_definition.web" ]
}

resource "aws_ecs_service" "web" {
Expand Down

0 comments on commit caf4a07

Please sign in to comment.