Last active
October 23, 2017 10:15
-
-
Save melbourne2991/d41ed025a9632c2e03cc0f2d336f2acc to your computer and use it in GitHub Desktop.
Tfrm service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# resource "aws_ecs_service" "scraper" { | |
# name = "scraper_service" | |
# cluster = "${aws_ecs_cluster.scraper_cluster.name}" | |
# # Track the latest ACTIVE revision | |
# task_definition = "${aws_ecs_task_definition.scraper_task.family}:${max("${aws_ecs_task_definition.scraper_task.revision}", "${data.aws_ecs_task_definition.scraper_task.revision}")}" | |
# desired_count = 1 | |
# } | |
data "aws_ecs_task_definition" "scraper_task" { | |
task_definition = "${aws_ecs_task_definition.scraper_task.family}" | |
} | |
# # HTTP access from anywhere | |
# ingress { | |
# from_port = 3000 | |
# to_port = 3000 | |
# protocol = "tcp" | |
# cidr_blocks = ["0.0.0.0/0"] | |
# } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment