Merge pull request #5697 from kocsismate/fix-ecs-elb-name

docs/aws: Fixed aws_ecs_service example
This commit is contained in:
Paul Stack 2016-03-18 08:47:01 +05:30
commit 31a452a88b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ resource "aws_ecs_service" "mongo" {
depends_on = ["aws_iam_role_policy.foo"]
load_balancer {
elb_name = "${aws_elb.foo.id}"
elb_name = "${aws_elb.foo.name}"
container_name = "mongo"
container_port = 8080
}